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
Example of VLAN QoS and VACL Policy Precedence
In this example, the packets with source IP address 10.10.10.1 are dropped. However, the other packets with
VLAN 10 and CoS 5 go to qos-group 4.
ip access-list al1
10 permit ip 10.10.10.1/24 any
vlan access-map v-am1
match ip address al1
action drop
vlan filter v-am1 vlan-list 10
class-map type qos match-all cm1
match cos 5
policy-map type qos pm-vlan
class cm1
set qos-group 4
class class-default
vlan configuration 10
service-policy type qos input pm-vlan
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
OL-26657-01
51
Configuring QoS on VLANs
Example of VLAN QoS and VACL Policy Precedence