(Optional) Configuring LDP Session Protection
Context
If the direct link of a local LDP session between two devices fails, an LDP adjacency for the LDP session is torn down. The LDP session and related labels are also deleted. After the direct link recovers, the LDP session is reestablished and labels are re-distributed so that an LDP LSP over the session can converge. During this process, LDP LSP traffic is dropped.
To speed up LDP LSP convergence and minimize traffic loss, LDP session protection can be used. With LDP session protection, the LDP session does not need to be reestablished, and labels do not need to be re-distributed during the preceding process.
Procedure
- Run system-view
The system view is displayed.
- Run mpls ldp
The MPLS-LDP view is displayed.
- Run session protection [ peer-group peer-group-name ] [ duration { infinite | time-value } ]
LDP session protection is enabled.
By default, LDP session protection is disabled.
- Run commit
The configuration is committed.