Creating Classifier Groups and Policy Rules ! 43
Chapter 2: Creating Policies
red-mark
! Use to apply ToS mark value in the range 0–255 to packets that are classified
red by the rate-limit hierarchy.
! Example
host1(config-color-mark-profile)#red-mark 255
! Use the no version to restore the default.
traffic-class
! Use to specify a traffic-class rule for packets conforming to the current CLACL.
! When this rule is applied to a packet, the packet is associated with this traffic
class within the router.
! Example
host1(config-policy-list-classifier-group)#traffic-class goldClass
! Use the suspend version to temporarily suspend the traffic class within the
classifier group.
! Use the no version to remove the traffic class from the classifier group.
user-packet-class
! Use to add a user packet class rule that sets the user-packet-class attribute of
packets that match the current CLACL.
! The user packet class is associated with every packet that is forwarded through
the router.
! Use to assign a value in the range 0–15, which the router initializes to zero
when it receives the packet on an ingress interface. The value travels with the
packet throughout the router until the packet is transmitted out an egress
interface. You can modify the value by using this command and then classify
packets based on the value.
! Example
host1(config-policy-list-classifier-group)#user-packet-class 3
! Use the suspend version to temporarily suspend the rule within the classifier
group.
! Use the no version to remove the user-packet-class rule from the classifier
group.
yellow-mark
! Use to apply ToS mark value in the range 0–255 to packets that are classified
yellow by the rate-limit hierarchy.
! Example
host1(config-color-mark-profile)#yellow-mark 255
! Use the no version to restore the default.