Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Example
Purpose
Command Modes
Syntax
ZXR10(config-router)#neighbor 2000::1 passive
neighbor password
Use this command to configure authentication password to enable
the MD5 authentication of the TCP connection between two BGP
peers. Disable the authentication with the no command.
Router configuration and address family configuration
neighbor
[<ipv4-address>|<ipv6-address>|<peer-group-nam
e>] password [<string 1>| encrypt < string 2>]
no neighbor [<ipv4-address>|<ipv6-address>|<peer-group-na
me>] password
<ipv4-address>
<ipv6-address>
<peer-group-name>
<string 1>
encrypt
<string 2>
This command is disabled by default.
This example describes how to set the authentication password for
establishing a BGP connection with the BGP neighbor 2000::1 as
3FE&@1.
ZXR10(config)#router bgp 1
ZXR10(config-router)#neighbor 2000::1 password 3FE&@1
neighbor peer-group
Use this command to create a peer group or configure a neighbor
belonging to some peer group. Disable the function with the no
form of this command.
Router configuration mode and address family configuration
neighbor
[<ipv4-address>|<ipv6-address>|<peer-group-nam
e>] peer-group [<group-name>]
no neighbor [<ipv4-address>|<ipv6-address>|<peer-group-na
me>] peer-group [<group-name>]
Confidential and Proprietary Information of ZTE CORPORATION
Neighbor IPv4 address
Neighbor IPv6 address
Peer group name
Password string, 3~80 characters, case
sensitive
The password is encrypted. It will not be
displayed when the show run command is
used
Password string, 3~120 characters, but
at most 80 characters can be input, case
sensitive
Chapter 6 BGP4+ Protocol
105