2-322
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
mpls ldp holdtime
mpls ldp holdtime
Use the
mpls ldp holdtime
global configuration command to change the time for which a Label
Distribution Protocol (LDP) session is maintained in the absence of LDP messages from the session peer.
Use the
no
form of the command to return to the default.
mpls ldp holdtime
{
seconds
| infinite
}
no mpls holdtime
Syntax Description
Defaults
The default holdtime for an LDP session is 180 seconds.
Command Modes
Global configuration
Command History
Usage Guidelines
When an LDP session is established between two label switch routers (LSRs), the holdtime used for the
session is the lower of the values configured on the two LSRs.
Note
For information about LDP configuration and commands, see the
MPLS Label Distribution Protocol
feature module.
Examples
This example shows how to set the holdtime for LDP sessions for 30 seconds:
Switch(config)#
mpls ldp holdtime 30
You can verify your setting by entering the
show mpls ldp parameters
privileged EXEC command.
Related Commands
seconds
The time interval in seconds that an LDP session is maintained in the absence of
LDP messages from the session peer. The range is from 15 to 2147483 seconds.
The default is 180 seconds.
infinite
Configure the switch to ignore the LDP session holdtime and maintain the session
until it is manually ended.
Release
Modification
12.1(14)AX
This command was introduced.
Command
Description
show mpls ldp parameters
Displays the current LDP parameters.