graceful-restart

Use this command to enable the Graceful-Restart capability for LDP.

Use the no parameter to disable the GR capability for LDP.

Command Syntax

Copy
graceful-restart full
graceful-restart helper-only
graceful-restart timers max-recovery <15-600>
graceful-restart timers neighbor-liveness <5-300>
no graceful-restart
no graceful-restart timers max-recovery
no graceful-restart timers neighbor-liveness

Parameters

full

Configuring with full enable the complete GR capability

helper-only

Configuring with helper-only enables only helper mode

timers

Non-default recovery and reconnect timer values.

max-recovery

Maximum recovery time

<15-600>

Interval until which LDP preserves route after peer restart

neighbor-liveness

Neighbor Liveness Time

<5-300>

Hold timer for a targeted LDP peer

Default

GR capability is not enabled.

Command Mode

Router mode

Applicability

This command was introduced before OcNOS version 5.0.

Examples

Copy
#configure terminal
(config)#router ldp
(config-router)#graceful-restart full
(config-router)#graceful-restart helper-only
(config-router)#graceful-restart timers max-recovery 100
(config-router)#graceful-restart timers neighbor-liveness 200