02-06-2021 02:03 AM
02-08-2021 04:43 PM
If you go into packet tracer samples there is a QOS set up already for you to look at
Here is a snippet
class-map match-all critical
match protocol eigrp
class-map match-any interactive
match protocol telnet
match protocol ssh
class-map match-any web
match protocol http
!
policy-map markingpolicy
class critical
set precedence 7
class interactive
set precedence 5
class web
set precedence 3
interface Serial0/0/0
ip address 172.16.12.1 255.255.255.0
tx-ring-limit 1
service-policy output markingpolicy
hold-queue 1 out
02-14-2021 05:34 AM
Hi, thanks for replying. Sorry for the late reply. I have a better understanding of QOS configurations in general now than before so I have attempted my first QOS config. Heres my configuration:
class-map match-any VOIP_DATA
match protocol rtp
match ip dscp ef
class-map match-any VOIP_control
match protocol h323
match protocol skinny
match ip dscp cs3
class-map match-any application
match protocol tftp
match protocol pop3
match protocol smtp
match protocol telnet
match protocol dns
match ip dscp af21
class-map match-any WEB
match protocol http
match protocol https
class-map match-any NM
match protocol ntp
match protocol icmp
match protocol syslog
match protocol snmp
match protocol rip
match ip dscp cs2
!
policy-map SetMK
class VOIP_DATA
set ip dscp ef
class VOIP_control
set ip dscp cs3
class application
set ip dscp af21
class WEB
set ip dscp af11
class NM
set ip dscp cs2
!
policy-map SetBW
class VOIP_DATA
bandwidth 300
class VOIP_control
bandwidth 100
class NM
priority 100
class WEB
bandwidth 100
class application
bandwidth 150
!
!
!
!
!
interface Loopback0
ip address 192.168.64.12 255.255.255.255
!
interface FastEthernet0/0
ip flow egress
ip address 10.32.77.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 192.162.30.1 255.255.255.0
!
interface FastEthernet0/0.40
encapsulation dot1Q 40
ip address 192.162.40.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
bandwidth 800
ip flow ingress
ip address 10.32.70.134 255.255.255.252
clock rate 2000000
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
May I ask why is it that when I tried to type the command " service-policy output SetBW" in s0/0/0 it shows "
I/f Serial0/0/0 class application requested bandwidth 150 (kbps), available only 0 (kbps)"? I checked my int s0/0/0 interface and it says that it has an available bandwidth of 600kbps, so I am unsure why it shows an error?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide