Specifications
A-49
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix A Sample Configurations
Sample Configurations
For more information about configuring QoS, see Configuring Quality of Service (QoS), page 4-88.
Switchport Priority
The following sample configuration demonstrates how to mark P-bit values on incoming traffic on the
9ESW HWIC interface.
...............
interface GigabitEthernet0/2
no ip address
switchport stacking-partner interface FastEthernet1/8
...............
interface FastEthernet1/7
switchport mode trunk
switchport priority override 7 ! set all ingress traffic to priority 7
! regardless of current priority values.
interface FastEthernet1/7
switchport mode access
switchport access vlan 100
switchport priority default 5 ! set all ingress traffic to priority 5
interface FastEthernet1/8
no IP address
switchport stacking-partner interface GigabitEthernet0/2
Classification and Marking
The following configuration example marks the DSCP value of ingress Ethernet traffic and assigns it to
a QoS group, and marks P-bits. Egress traffic is queued using WRR with bandwidth percentages
allocated to each group.
! Note 1: these class-maps are applied on ingress
class-map match-any common-channels
match dscp af31 af32 af33
class-map match-any HSDPA
match dscp default
class-map match-any R99
match dscp af21 af22 af23
class-map match-any synchronization
match dscp ef cs6
class-map match-any signaling
match dscp af41 af42 af43
!
! Note 2: these classp-maps are applied on egress
class-map match-any group1
match qos-group 1
class-map match-any group2
match qos-group 2
class-map match-any group3
match qos-group 3
class-map match-any group4
match qos-group 4
class-map match-any group5
match qos-group 5
class-map match-any group6
match qos-group 6
! Note 3:The input policy performs the DSCP match and all marking
policy-map input-policy
class synchronization