discovery targeted-hello
To configure the interval between transmission of consecutive Label Distribution Protocol (LDP) discovery targeted-hello messages, the hold time for a discovered targeted LDP neighbor, and to accept targeted hello from peers, use the discovery targeted-hello command in MPLS LDP configuration mode. To return to the default behavior, use the no form of this command.
discovery targeted-hello address-family {} { accept | | holdtime seconds | interval seconds }
no discovery targeted-hello {} { accept | | holdtime seconds | interval seconds }
Syntax Description
accept |
Accepts targeted hellos from any source. |
holdtime |
Configures the time a discovered LDP neighbor is remembered without receipt of an LDP hello message from a neighbor. |
interval |
Displays time between consecutive hello messages. |
seconds |
Time value, in seconds. Range is 1 to 65535. |
Command Default
accept : Targeted hello messages are not accepted from any source (neighbor).
holdtime : 90
interval : 10
Command Modes
MPLS LDP configuration
Command History
Release | Modification |
---|---|
Release 6.1.42 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID |
Operations |
---|---|
mpls-ldp |
read, write |
Examples
The following example shows how to configure the targeted-hello holdtime to 45 seconds, interval to 5 seconds, and configure acceptance of targeted hellos from all peers:
RP/0/RP0:hostname# configure
RP/0/RP0:hostname(config)# mpls ldp
RP/0/RP0:hostname(config-ldp)# discovery targeted-hello holdtime 45
RP/0/RP0:hostname(config-ldp)# discovery targeted-hello interval 5
RP/0/RP0:hostname(config-ldp)# discovery targeted-hello accept