Configures the Label
Distribution Protocol (LDP) neighbor discovery parameters.
Privilege:
Security Administrator,
Administrator
Mode:
Exec > Global Configuration
> Context Configuration > MPLS-IP Configuration > MPLS-LDP Configuration
configure > context context_name > mpls-ip > protocol
ldp
Entering the above
command sequence results in the following prompt:
[context_name]host_name(config-ldp)#
Syntax
discovery { hello { hello-interval integer_value | hold-interval integer_value } | transport-address ipv4_addr }
default discovery hello
no discovery transport-address
default
Sets the LDP discovery
hello interval at 5 seconds and hold interval at 15 seconds.
no
Disables the LDP neighbor
discovery.
hello { hello-interval integer_value | hold-interval integer_value }
Configures the LDP
Hello parameters.
hello-interval configures
the frequency of sending the Discovery Hello packets in seconds.
integer_value is
an integer from 5 through 21845.
Default: 5
hold-interval configures
the Discovery Hold time interval in seconds.
integer_value is
an integer from 15 through 65535.
Default: 15
transport-address ipv4_addr
Configures the LDP
transport address as an IPv4 address entered in dotted-decimal notation. Transport
address is the same as the LDP router ID.
Usage:
This is an optional
command that is used to configure LDP peer discovery parameters.
The LDP discovery hold-interval is always set to three times the
LDP discovery hello-interval. Transport address is the address used
for the TCP session over which LDP is running. If the transport
address is not configured, the LDP router-id is used as transport
address. Any update to transport address will take effect only if
LDP is disabled and re-enabled. The “default” option sets
the hello intervals to the default values.
Example:
The following command
sequence configures the LDP peer discovery parameters:
discovery hello hello-interval 10
discovery hello hold-interval 30
discovery transport-address 10.2.3.4