Creating Policy Lists ! 19
Chapter 2: Creating Policies
vlan classifier-list
! Use to create or modify a VLAN classifier control list.
! Use the following keywords to configure the list:
! traffic-class—Matches packets with a traffic class that you defined using
the traffic-class command
! color
" green—Matches packets with color green, indicating a low drop
preference
" yellow—Matches packets with color yellow, indicating a medium drop
preference
" red—Matches packets with color red, indicating a high drop preference
! user-packet-class—Matches packets with the specified user packet class
value
! user-priority—Specifies the value of the user-priority bits, which you
define in the policy list
! Example
host1(config)#vlan classifier-list lowLatencyLowDrop user-priority 7
host1(config)#vlan classifier-list lowLatencyLowDrop user-priority 6
host1(config)#vlan classifier-list lowLatency user-priority 5
host1(config)#vlan classifier-list excellentEffort user-priority 4
host1(config)#vlan classifier-list bestEffort user-priority 3
host1(config)#vlan classifier-list bestEffort user-priority 2
host1(config)#vlan classifier-list bestEffort user-priority 1
host1(config)#vlan classifier-list bestEffort user-priority 0
! Use the no version to remove the classifier control list.
Creating Policy Lists
You create a policy rule by specifying a policy action within a classifier group that
references a CLACL. These rules become part of a policy list that you can attach to
an interface as either an input policy, secondary-input policy, or output policy. The
router applies the rules in the attached policy list to the packets traversing that
interface.
You can apply policy lists to packets:
! Arriving at an interface (input policy); on IP and IPv6 interfaces the packets
arrive before route lookup
! Arriving at the interface, but after route lookup (secondary input policy);
secondary input policies are supported only on IP and IPv6 interfaces
! Leaving an interface (output policy)
NOTE: Do not use the asterisk (*) for the name of a classifier list. The asterisk is
used as a wildcard for the classifier-group command.