Creating Policy Lists for IPv6
The following example creates an IPv6 policy list named routeForIPv6. For information about creating the CLACL used in this example, see the previous sections.
- Create the policy list routeForIPv6.
host1(config)#ipv6 policy-list routeForIPv6host1(config-policy-list)#- Create the classification group for the CLACL named ipv6tc67 and assign the precedence to the classification group.
host1(config-policy-list)#classifier-group ipv6tc67 precedence 75host1(config-policy-list-classifier-group)#- Add a rule to color packets as red, and a second rule that sets the traffic class field of the packets to 7.
host1(config-policy-list-classifier-group)#color redhost1(config-policy-list-classifier-group)#mark tcfield 7- Exit Policy List Configuration mode to save the configuration.
host1(config-policy-list-classifier-group)#exithost1(config-policy-list)#exithost1(config)#- Display the policy list.
host1#show policy-list routeForIPv6Policy Table------ -----IPv6 Policy routeForIPv6Administrative state: enableReference count: 0Classifier control list: ipv6tc67, precedence 75color redmark tc-precedence 7