Example of Interface, System, and VLAN Policy Precedence
This example shows a configuration where the traffic on interface 1/1 with CoS 5 goes to qos-group 3. Traffic
on the other interfaces with VLAN 10 and CoS 5 go to qos-group 4. Traffic on interfaces other than VLAN
10 and CoS 5 go to qos-group 5.
class-map type qos match-all cm1
match cos 5
policy-map type qos pm-ifc
class cm1
set qos-group 3
class class-default
policy-map type qos pm-vlan
class cm1
set qos-group 4
class class-default
policy-map type qos pm-sys
class cm1
set qos-group 5
class class-default
system qos
service-policy type qos input pm-sys
vlan configuration 10
service-policy type qos input pm-vlan
interface Ethernet1/1
service-policy type qos input pm-ifc
Example of Interface and System QoS Policy Precedence
This example shows a configuration where the traffic on interface 1/1 with CoS 5 goes to qos-group 3. Traffic
on the other interfaces with CoS 5 go to qos-group 5.
class-map type qos match-all cm1
match cos 5
policy-map type qos pm-ifc
class cm1
set qos-group 3
class class-default
policy-map type qos pm-sys
class cm1
set qos-group 5
class class-default
system qos
service-policy type qos input pm-sys
interface Ethernet1/1
service-policy type qos input pm-ifc
Example of System and VLAN Policy Precedence
This example shows a configuration where the traffic on VLAN 10 with CoS 5 goes to qos-group 4. Traffic
on the other VLANs with CoS 5 go to qos-group 5.
class-map type qos match-all cm1
match cos 5
policy-map type qos pm-vlan
class cm1
set qos-group 4
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
50
OL-26657-01
Configuring QoS on VLANs
Example of Interface, System, and VLAN Policy Precedence