R211x-HP Flexfabric 11900 MPLS Configuration Guide
29
Configuring LDP GR
Before you configure LDP GR, enable LDP on the GR restarter and GR helpers.
To configure LDP GR:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter LDP view.
mpls ldp N/A
3. Enable LDP GR.
graceful-restart By default, LDP GR is disabled.
4. Configure the Reconnect
timer for LDP GR.
graceful-restart timer reconnect
reconnect-time
By default, the Reconnect time is
120 seconds.
5. Configure the MPLS
Forwarding State Holding
timer for LDP GR.
graceful-restart timer forwarding-hold
hold-time
By default, the MPLS Forwarding
State Holding time is 180 seconds.
Resetting LDP sessions
Changes to LDP session parameters 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 Command
Reset LDP sessions. reset mpls ldp [ vpn-instance vpn-instance-name ] [ peer peer-id ]
Enabling SNMP notifications for LDP
This feature enables generating SNMP notifications for LDP upon LDP session changes, as defined in RFC
3815. The generated SNMP notifications are sent to the SNMP module.
To enable SNMP notifications for LDP:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable SNMP notifications
for LDP.
snmp-agent trap enable ldp
By default, SNMP notifications for
LDP are enabled.
For more information about SNMP notifications, see Network Management and Monitoring
Configuration Guide.
Displaying and maintaining LDP
Execute display commands in any view.










