OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Commands : neighbor
neighbor
Use this command to configure neighbors of LDP.
Use the no parameter with this command to unconfigure the LDP neighbor.
Command Syntax
neighbor A.B.C.D auth AUTH-TYPE password (0|7) WORD
no neighbor A.B.C.D auth AUTH-TYPE password
Parameters
A.B.C.D
Neighbor address
auth AUTH-TYPE
Authentication Type md5
password
Set password to the neighbor
(0|7)
Password Type
WORD
Password
Default
By default, neighbor is disabled.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#router ldp
(config-router)#neighbor 1.1.1.1 auth md5 password 0 myPass
 
(config-router)#no neighbor 1.1.1.1 auth md5 password
Last modified date: 10/17/2023