Command or Action Purpose
Step 9 exit
Example:
Router(config-if)# exit
Exits from interface configuration mode.
Step 10 mpls ldp session protection [vrf vpn-name] [for acl]
[duration seconds]
Example:
Router(config)# mpls ldp session protection
Enables MPLS LDP Session Protection.
Verifying MPLS LDP Session Protection
SUMMARY STEPS
1. show mpls ldp discovery
2. show mpls ldp neighbor
3. show mpls ldp neighbor detail
DETAILED STEPS
Step 1 show mpls ldp discovery
Issue this command and check that the output contains xmit/recv to the peer router.
Example:
Router# show mpls ldp discovery
Local LDP Identifier:
10.0.0.5:0
Discovery Sources:
Interfaces:
ATM5/1/0.5 (ldp): xmit/recv
LDP Id: 10.0.0.1:0
Targeted Hellos:
10.0.0.5 -> 10.0.0.3 (ldp): active, xmit/recv
LDP Id: 10.0.0.3:0
Step 2 show mpls ldp neighbor
Issue this command to check that the targeted hellos are active.
Example:
Router# show mpls ldp neighbor
Peer LDP Ident: 10.0.0.3:0; Local LDP Ident 10.0.0.5:0
TCP connection: 10.0.0.3.646 - 10.0.0.5.11005
State: Oper; Msgs sent/rcvd: 1453/1464; Downstream
Verifying MPLS LDP Session Protection
How to Configure MPLS LDP Session Protection
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
35