neighbor password


neighbor {<IP-ADDR>|<PEER-GROUP-NAME>} 
     password {ciphertext | plaintext} <PASSWORD>

no neighbor {<IP-ADDR>|<PEER-GROUP-NAME>} password 


Enables message digest5 (MD5) authentication on a TCP connection between two BGP neighbors. When the password is applied to a peer-group, all the neighbors that are part of peer-group inherit the configured setting.

The neighbor connection must be reset using clear ip bgp to allow this configuration to take effect.

The no form of this command disables this feature.

Command context




Specifies an IP address.


Specifies a Peer-Group.

{ciphertext | plaintext}

Specifies configuring the password as either a ciphertext key or plaintext key.


Specifies the password.


Administrators or local user group members with execution rights for this command.


switch(config-bgp)# neighbor password plaintext hpe_routing
switch(config-bgp)# no neighbor password
switch(config-bgp)# neighbor pg password plaintext bgp_hpe_routing
switch(config-bgp)# no neighbor pg password