OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Commands : disable-ldp
disable-ldp
Use this command to disable LDP IPv4 on a specified interface.
This command disables the transmission of Hello packets through the current interface, and clears all created sessions and adjacencies for this interface. Use disable-ldp alone to disable only LDP IPv4 on the interface.
Command Syntax
disable-ldp (ipv4|)
Parameters
ipv4
Disables IPv4 on the interface.
Default
By default, disable ldp is disabled
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example disables LDP IPv4 on interface eth0.
#configure terminal
(config)#interface eth0
(config-if)#disable-ldp
The following example disables LDP IPv4 on interface eth0.
#configure terminal
(config)#interface eth0
(config-if)#disable-ldp ipv4
Last modified date: 10/17/2023