beautypg.com

Configuring ldp gr, Gracefully restarting mpls ldp, Configuring mpls statistics collection and reading – H3C Technologies H3C S10500 Series Switches User Manual

Page 81: Setting mpls statistics reading interval

background image

70

Configuring LDP GR

Follow these steps to configure LDP GR:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter MPLS LDP view

mpls ldp

Enable MPLS LDP GR

graceful-restart

Required
Disabled by default

Set the FT reconnect time

graceful-restart timer reconnect
timer

Optional
300 seconds by default

Set the LDP neighbor liveness time

graceful-restart timer
neighbor-liveness timer

Optional
120 seconds by default

Set the LDP recovery time

graceful-restart timer recovery
timer

Optional
300 seconds by default

Gracefully restarting MPLS LDP

To test whether the MPLS LDP GR configuration has taken effect, you can perform graceful restart of MPLS

LDP. During the LDP restart process, you can see whether the packet forwarding path is changed and

whether packet forwarding is interrupted.
Use the following command to restart MPLS LDP gracefully:

To do…

Use the command…

Remarks

Restart MPLS LDP gracefully

graceful-restart mpls ldp

Required
Available in user view

NOTE:

The graceful-restart mpls ldp command is only used to test MPLS LDP GR function. It does not perform
active/standby switchover. Do not perform this operation in other cases.

Configuring MPLS statistics collection and reading

Setting MPLS statistics reading interval

To use display commands to view LSP statistics, you must first set the statistics reading interval.
Follow these steps to set MPLS statistics reading interval:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter MPLS view

mpls

Set LSP statistics reading interval

statistics interval interval-time

Required
0 seconds by default: the system

does not read LSP statistics.