neighbor password
-
- Last UpdatedJul 20, 2017
- 1 minute read
neighbor password
Specifies an MD5 password for securing sessions between the device and a neighbor.
No password is set.
ip-address
| Specifies the IPv4 address of the neighbor.
|
ipv6-address
| Specifies the IPv6 address of the neighbor.
|
peer-group-name
| Specifies the peer group name configured by the
neighbor peer-group-name command.
|
string
| Password of up to 63 characters in length that can contain any alphanumeric character.
|
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The no form of the command removes a configured MD5 password.
The following example specifies a password for securing sessions with a specified neighbor.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 password s0M3P@55W0Rd
The following BGP4+ example, for VRF instance "red," specifies a password for securing sessions with a specified neighbor.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast vrf red
device(config-bgp-ipv4u-vrf)# neighbor 2001:2018:8192::125 password s0M3P@55W0Rd
Release version | Command history |
---|---|
8.0.30 | Support was added for the BGP address-family IPv6 unicast VRF configuration mode. |