This command creates a context to configure an MPLS forwarding policy.
The no form of this command deletes all policies from the forwarding policy database.
This command command creates an MPLS forwarding policy. The policy associates an incoming label, referred to as a binding label, to a Next-Hop Group (NHG) in which the primary and backup direct or indirect next-hops are defined. This type of MPLS forwarding policy is referred to as a label-binding policy.
The MPLS forwarding policy supports two types of NHGs on a per policy basis:
The forwarding policy database activates the best label-binding policy among the named policies sharing the same binding label by selecting the lowest, preference value policy. This policy is then programmed into the label FIB table in data path.
Ingress statistics can be enabled as is associated with binding label, that is the ILM of the forwarding policy, and provides aggregate packet and byte counters for packets matching the binding label.
The no form of the command deletes the named MPLS forwarding policy.
This command configures a binding label for the MPLS forwarding policy.
The policy associates an incoming label, referred to as a binding label, to an NHG in which the primary and backup direct or indirect next-hops are defined. This type of MPLS forwarding policy is referred to as a label-binding policy.
The no form of the command removes the binding label from the MPLS forwarding policy.
This command configures Ingress statistics in an MPLS forwarding policy.
The ingress statistics are associated with binding label, that is the ILM of the forwarding policy, and provides aggregate packet and byte counters for packets matching the binding label.
The no form of this command removes the statistics from the MPLS forwarding policy.
This command shuts down the ingress statistics in a forwarding policy.
The no form of this command enables ingress statistics in a forwarding policy.
This command configures an NHG entry in an MPLS forwarding policy.
Each NHG can have primary and backup next-hops of the same type.
The no form of this command removes the NHG from the MPLS forwarding policy.
This command configures the context for the backup next-hop of an NHG entry in a forwarding policy.
The no form of this command removes the backup next-hop context from an NHG entry in a forwarding policy.
This command configures the address of primary or backup next-hop of an NHG entry in a forwarding policy.
The no form of this command removes the address of primary or backup next-hop of an NHG entry in a forwarding policy.
<ip-address> | ipv4-address | a.b.c.d |
ipv6-address | x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | ||
x - [0..FFFF]H | ||
d - [0..255]D |
This command configures the context for the primary next-hop of an NHG entry in a forwarding policy.
The no form of this command removes the primary next-hop context from an NHG entry in a forwarding policy.
This command shuts down an NHG entry in a forwarding policy.
When an NHG is shut down, it is deprogrammed in the data path entry of the forwarding policy.
The no form of this command brings up an NHG entry in a forwarding policy.
This command configures the preference of an MPLS forwarding policy.
The preference-value parameter allows the user to configure multiple forwarding policies with the same binding label. This provides the capability to achieve a 1:N backup strategy for the forwarding policy. Only the most preferred, lowest numerical preference-value policy, is activated in data path.
The no form of this command removes the preference parameter from the MPLS forwarding policy.
This command configures the revert timer in an MPLS forwarding policy.
When the primary direct or indirect next-hop is restored and is added back into the routing table, CPM waits for an amount of time equal to the user-programmed revert-timer before activating it and updating the data path. However, if the backup direct or indirect next-hop fails while the timer is running, CPM activates it and updates the data path immediately.
The no form of this command removes the revert timer from the MPLS forwarding policy.
revert-timer 0— Disables the revert timer; meaning the policy reverts immediately.
This command shuts down forwarding policy.
The no form of this command enables the forwarding policy.
This command specifies the reserved label block to use for all MPLS forwarding policies. The named reserved label block must already have been configured under configure>router>mpls>mpls-labels.
The no form of the command removes the assignment of the reserved label block.
This command shuts down the forwarding-policies context; causing all forwarding policies to be de-programmed from the data path but they remain in the MPLS forwarding database.
The no form of this command enables the forwarding-policies context.