Inbound QoS policy
From DocWiki
(Difference between revisions)
(This example can be used to configure QoS to mark the inbound packets) |
|||
| Line 63: | Line 63: | ||
| - | [[Category: | + | [[Category: QoS Configuration Examples]] |
Latest revision as of 17:14, 6 October 2010
Contents |
Introduction
This is an example for inbound QoS policy to mark incoming packets
Design
===LAN===>==router---internet
Configuration
ip access-list extended VoIP-RTCP
permit udp any any range 16384 32767
! ip access-list extended Voice-Control
permit tcp any any eq 1720 permit tcp any any range 11000 11999 permit udp any any eq 2427 permit tcp any any eq 2428 permit tcp any any range 2000 2002 permit udp any any eq 1719 permit udp any any eq 5060
! class-map match-any real-time
match protocol rtp match protocol icmp match access-group name VoIP-RTCP
class-map match-any mission-critical
match protocol sqlnet match access-group name Voice-Control
class-map match-all interactive
match protocol citrix
class-map match-all bulk
match protocol ftp
class-map match-any scavenger
match protocol kazaa2 match protocol napster
! policy-map mark-nbar
class real-time set dscp ef class mission-critical set dscp af31 class interactive set dscp af21 class bulk set dscp af11 class scavenger set dscp cs1 class class-default set dscp default
! interface fastethernet0/1
service-policy input mark-nbar
Related show Commands
show policy-map interface fastethernet0/1