Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-54
1.1.28 label-retention
Syntax
label-retention
{
conservative
|
liberal
}
undo label-retention
View
MPLS LDP VPN instance view/MPLS LDP view
Default Level
1: Monitor level
Parameters
conservative
: Works in conservative mode, keeping only label to FEC bindings that
are from its next hops for the FECs
liberal
: Works in liberal mode, keeping any received label to FEC binding, whether the
binding is from its next hop for the FEC or not.
Description
Use the
label-retention
command to configure the label retention mode.
Use the
undo label-retention
command to restore the default.
The default label retention mode is
liberal
.
Note:
You must use the
reset mpls ldp
command to reset LDP sessions for the configuration
to take effect.
Examples
# Set the label retention mode to conservative for the public network LDP.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] label-retention conservative
# Set the label retention mode to conservative for LDP instance named vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] label-retention conservative