An outbound LDP policy can be configured to prevent the establishment of unwanted LSPs, efficiently using memory.
An LSR is usually able to send Label Mapping messages to both upstream and downstream LDP peers, speeding up LDP LSP convergence. This leads to a great number of unwanted LSPs to be established, wasting resources. An outbound LDP policy can be configured to reduce the number of Label Mapping messages to be sent. The outbound LDP policies help reduce the number of unwanted LSPs to be established and efficiently use memory.
The system view is displayed.
The MPLS-LDP view is displayed.
The MPLS LDP IPv4 view is displayed.
To configure an outbound policy that allows Label Mapping messages for specified IGP routes to be sent to a specified LDP peer, run outbound peer { peer-id | peer-group peer-group-name | all } fec { none | host | ip-prefix prefix-name }
To configure an outbound policy that allows Label Mapping messages for specified labeled BGP routes to be sent to a specified LDP peer, run outbound peer { peer-id | peer-group peer-group-name | all } bgp-label-route { none | ip-prefix prefix-name }
To apply a policy associated with a single FEC range to an LDP peer group or all LDP peers to which the local LSR sends Label Mapping messages, configure either the peer-group peer-group-name or all parameter in the command.
outbound peer 2.2.2.2 fec host outbound peer peer-group group1 fec none
outbound peer 2.2.2.2 fec host
outbound peer 2.2.2.2 fec host outbound peer 2.2.2.2 fec none
outbound peer 2.2.2.2 fec none
MPLS and MPLS LDP must be enabled globally before an outbound policy is configured.
To delete all outbound policies simultaneously, run the undo outbound peer all command.
The configuration is committed.