H Commands

This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with H.

holdtime

To configure how long a Label Distribution Protocol (LDP) session is maintained in the absence of LDP messages from the session peer, use the holdtime command. To return to the default setting, use the no form of this command.

holdtime {seconds | infinite}

no holdtime

 
Syntax Description

seconds

Hold time in seconds. The range is from 15 to 65535 seconds.

infinite

Specifies the LDP session holdtime.

 
Defaults

180 seconds

 
Command Modes

LDP configuration mode

 
Supported User Roles

network-admin
vdc-admin

 
Command History

Release
Modification

5.2(1)

This command was introduced.

 
Usage Guidelines

This command requires the MPLS Services license.

Examples

This example shows how long an LDP session is maintained in the absence of LDP messages from the session peer:

switch(config)# mpls ldp configuration
switch(config-ldp)# holdtime 30
switch(config-ldp)#

 
Related Commands

Command
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).