enable-ldp
Use this command to enable LDP IPv4 on a specified interface. This command enables the transmission of Hello packets through the current interface, so that LDP adjacencies and LDP sessions can be created.
Note: The corresponding interface must be enabled for label-switching using the
label-switching command.
Command Syntax
enable-ldp ipv4
Parameters
None
Default
By default, enable ldp is disabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example enables LDP IPv4 on interface eth0.
#configure terminal
(config)#interface eth0
(config-if)#enable-ldp ipv4
Last modified date: 10/17/2023