Implementing MPLS Label Distribution Protocol
Command or Action
Step 6
graceful-restart forwarding-state-holdtime
seconds
Example:
RP/0/RP0/CPU0:router(config-ldp)#
graceful-restart forwarding-state-holdtime
180
Step 7
graceful-restart reconnect-timeout seconds
Example:
RP/0/RP0/CPU0:router(config-ldp)#
graceful-restart reconnect-timeout 169
Step 8
Use the commit or end command.
Step 9
show mpls ldp [vrf vrf-name] parameters
Example:
RP/0/RP0/CPU0:router
# show mpls ldp parameters
RP/0/RP0/CPU0:router
# show mpls ldp vrf red parameters
Step 10
show mpls ldp neighbor
Example:
RP/0/RP0/CPU0:router# show mpls ldp
neighbor
Purpose
Specifies the length of time that forwarding can keep LDP-installed
forwarding states and rewrites, and specifies wh en the LDP control
plane restarts.
• 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.
• 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
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.
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.
Displays the LDP parameters for the specified VRF.
(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.
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
Setting Up LDP NSF Using Graceful Restart
45