mpls ldp-label-retention-mode

Use this command to set the LDP label retention scheme.

Syntax

mpls ldp-label-retention-mode {liberal | conservative}
no mpls ldp-label-retention-mode {liberal | conservative}

Parameters

liberal Specifies that all label mappings advertised by any peer will be kept, regardless of whether the originator is a next-hop peer or not.
conservatived Specifies that label mappings are only retained if they will be used to explicitly forward packets to their next hop.

Defaults

The MPLS LDP label retention scheme default is liberal.

Mode

Global router or named VRF global configuration mode.

Usage

The “no” form of this command resets the MPLS LDP label retention scheme to the default value of liberal.

Examples

This example shows how to set the MPLS LDP label retention scheme to conservative for VRF vpnA:

System(rw)->router vpnA
System(su-vpnA)->configure
System(su-vpnA-config)->mpls ldp-label-retention-mode conservative
System(su-vpnA-config)->