PurposeCommand or Action
Specifies the length of time that forwarding can keep LDP-installed
forwarding states and rewrites, and specifies wh en the LDP control
plane restarts.
graceful-restart forwarding-state-holdtime
seconds
Example:
RP/0/RP0/CPU0:router(config-ldp)#
Step 6
•
After restart of the control plane, when the forwarding state
holdtime expires, any previously installed LDP forwarding
state or rewrite that is not yet refreshed is deleted from the
forwarding.
graceful-restart forwarding-state-holdtime
180
•
Recovery time sent after restart is computed as the current
remaining value of the forwarding state hold timer.
Specifies the length of time a neighbor waits before restarting the
node to reconnect before declaring an earlier graceful restart session
graceful-restart reconnect-timeout seconds
Example:
RP/0/RP0/CPU0:router(config-ldp)#
graceful-restart reconnect-timeout 169
Step 7
as down. This command is used to start a timer on the peer (upon
a neighbor restart). This timer is referred to as Neighbor Liveness
timer.
commit—Saves the configuration changes and remains within the
configuration session.
Use the commit or end command.
Step 8
end—Prompts user to take one of these actions:
• Yes— Saves configuration changes and exits the
configuration session.
• No—Exits the configuration session without committing the
configuration changes.
• Cancel—Remains in the configuration session, without
committing the configuration changes.
(Optional)
Displays all the current MPLS LDP parameters.
show mpls ldp [vrf vrf-name] parameters
Example:
Step 9
Displays the LDP parameters for the specified VRF.
RP/0/RP0/CPU0:router
# show mpls ldp parameters
RP/0/RP0/CPU0:router
# show mpls ldp vrf red parameters
(Optional)
Displays the status of the LDP session with its neighbors. This
command can be run with various filters as well as with the brief
option.
show mpls ldp neighbor
Example:
RP/0/RP0/CPU0:router# show mpls ldp
neighbor
Step 10
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
45
Implementing MPLS Label Distribution Protocol
Setting Up LDP NSF Using Graceful Restart