Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Creating Policy Lists for VLANs

    The following example creates a VLAN policy list named routeForVlan. The classifier group lowLatencyLowDrop uses the default precedence of 100.

    1. Create the policy list routeForVlan.
      host1(config)#vlan policy-list routeForVlanhost1(config-policy-list)#
    2. Create the classification group.
      host1(config-policy-list)#classifier-group lowLatencyLowDrophost1(config-policy-list-classifier-group)#
    3. Create a rule that adds the lowLatencyLowDrop traffic class for all packets that fall into the lowLatencyLowDrop classification.
      host1(config-policy-list-classifier-group)#traffic-class lowLatencyLowDrop
    4. Add a rule that sets the drop precedence for all packets that fall into the lowLatencyLowDrop classification to green.
      host1(config-policy-list-classifier-group)#color green
    5. Add a rule that sets the user-priority bits for all packets that fall into the lowLatencyLowDrop classification to 7.
      host1(config-policy-list-classifier-group)#mark-user-priority 7
    6. Exit to Policy List Configuration mode, then add traffic class rules for packets that conform to different CLACLs.
      host1(config-policy-list-classifier-group)#exithost1(config-policy-list)#classifier-group lowLatencyhost1(config-policy-list-classifier-group)#traffic-class lowLatencyhost1(config-policy-list-classifier-group)#exithost1(config-policy-list)#classifier-group excellentEfforthost1(config-policy-list-classifier-group)#traffic-class excellentEfforthost1(config-policy-list-classifier-group)#exithost1(config-policy-list)#classifier-group bestEfforthost1(config-policy-list-classifier-group)#traffic-class bestEffort
    7. Exit Policy List Configuration mode to save the configuration.
      host1(config-policy-list-classifier-group)#exit host1(config-policy-list)#exit host1(config)#
    8. Display the policy list.
      host1#show policy-list routeForVlan
                                        Policy Table
                                        ------ -----
      VLAN Policy routeForVlan
         Administrative state: enable
         Reference count:      0
         Classifier control list: lowLatencyLowDrop, precedence 100
            traffic-class lowLatencyLowDrop
            color green
            mark-user-priority 7
         Classifier control list: lowLatency, precedence 100
            traffic-class lowLatency
         Classifier control list: excellentEffort, precedence 100
            traffic-class excellentEffort
         Classifier control list: bestEffort, precedence 100
            traffic-class bestEffort


    Published: 2014-08-14