[Contents] [Prev] [Next] [Index] [Report an Error]


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.

NOTE: You can apply policies to MPLS topology-driven label-switched paths (LSPs) by using the mpls ldp lsp-policy command. See Policy Management and MPLS Topology-Driven LSPs.


Examples

To assign the policy list named routeForXYZCorp with statistics enabled to the ingress IP interface over an ATM subinterface:

host1(config)#interface atm 12/0.1
host1(config-subif)#ip policy input routeForXYZCorp statistics enabled

To create an L2TP profile that applies the policy list routeForABCCorp to the egress of an interface:

host1(config)#profile bostonProfile
host1(config-profile)#l2tp policy output routeForABCCorp

frame-relay policy
    gre-tunnel policy
    ip policy
    ipv6 policy
    mpls policy
    l2tp policy
    vlan policy

The router supports secondary input policies whose principal applications are:


[Contents] [Prev] [Next] [Index] [Report an Error]