neighbor password
Syntax
neighbor {<IP-ADDR>|<PEER-GROUP-NAME>}
password {ciphertext | plaintext} <PASSWORD>
no neighbor {<IP-ADDR>|<PEER-GROUP-NAME>} password
Description
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
config-bgp
Parameters
<IP-ADDR>
Specifies an IP address.
<PEER-GROUP-NAME>
Specifies a Peer-Group.
{ciphertext | plaintext}
Specifies configuring the password as either a ciphertext key or plaintext key.
<PASSWORD>
Specifies the password.
Authority
Administrators or local user group members with execution rights for this command.
Examples
switch(config-bgp)# neighbor 1.1.1.1 password plaintext hpe_routing switch(config-bgp)# no neighbor 1.1.1.1 password
switch(config-bgp)# neighbor pg password plaintext bgp_hpe_routing switch(config-bgp)# no neighbor pg password