Configuring LDP GR
Before you configure LDP GR, enable LDP on the GR restarter and GR helpers.
To configure LDP GR:
Step
1.
Enter system view.
2.
Enter LDP view.
3.
Enable LDP GR.
4.
Configure the Reconnect
timer for LDP GR.
5.
Configure the MPLS
Forwarding State Holding
timer for LDP GR.
Resetting LDP sessions
Changes to LDP session parameters, except the MD5 authentication key, do not take effect on existing
LDP sessions. To validate the changes, you must reset the LDP sessions.
Execute the reset mpls ldp command in user view.
Task
Reset LDP sessions.
Displaying and maintaining LDP
Execute display commands in any view.
Task
Display LDP discovery information.
Display LDP FEC-label mapping
information.
Display LDP interface information.
Display LDP LSP information.
Display LDP running parameters.
Display LDP peer and session
information.
Display LDP summary information.
Command
system-view
mpls ldp
graceful-restart
graceful-restart timer reconnect
reconnect-time
graceful-restart timer forwarding-hold
hold-time
Command
reset mpls ldp [ vpn-instance vpn-instance-name ] [ peer peer-id ]
Command
display mpls ldp discovery [ vpn-instance vpn-instance-name ]
[ interface interface-type interface-number | peer peer-lsr-id |
targeted-peer peer-lsr-id ] [ verbose ]
display mpls ldp fec [ vpn-instance vpn-instance-name ]
[ destination-address mask-length | summary ]
display mpls ldp interface [ interface-type interface-number ]
display mpls ldp lsp [ vpn-instance vpn-instance-name ]
[ destination-address mask-length ]
display mpls ldp parameter [ vpn-instance vpn-instance-name ]
display mpls ldp peer [ vpn-instance vpn-instance-name ]
[ peer-lsr-id ] [ verbose ]
display mpls ldp summary [ all | vpn-instance vpn-instance-name ]
72
Remarks
N/A
N/A
By default, LDP GR is disabled.
By default, the Reconnect time is
120 seconds.
By default, the MPLS Forwarding
State Holding time is 180 seconds.