Applying Policy Lists to Interfaces and Profiles ! 63
Chapter 2: Creating Policies
IP Policy p2
Administrative state: enable
Reference count: 0
Classifier control list: C3, precedence 10
filter
Classifier control list: C1, precedence 90
forward
Virtual-router: default
List:
next-hop 20.1.1.1, order 100, rule 3 (active)
Classifier control list: *, precedence 1000
forward
IP Policy p3
Administrative state: enable
Reference count: 0
Classifier control list: C1, precedence 80
color yellow
Classifier control list: C4, precedence 900
color red
Applying Policy Lists to Interfaces and Profiles
You can assign a policy list to supported interfaces and profiles. Policy lists are
supported on Frame Relay, IP, IPv6, GRE tunnel, MPLS layer 2, and VLAN interfaces.
You can also specify IP, IPv6, and L2TP policies in profiles to assign a policy list to
an interface. In either case, you can enable or disable the recording of statistics for
bytes and packets affected by the assigned policy.
You can also preserve statistics when you attach a new policy that has a classifier
list that is the same for both the original and the new policy attachments.
NOTE: You can apply policies to MPLS topology-driven label-switched paths (LSPs)
by using the mpls ldp lsp-policy command. See on page 73.