DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
99
7-46 neighbor password
This command is used to enable Message Digest 5 (MD5) authentication and set the password on a TCP connection
between two BGP peers. To disable this function, use the no form of this command.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} password
PASSWORD
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} password
Parameters
7-47 neighbor peer-group (add group member)
This command is used to add a neighbor in a peer group. Use the no command to remove a neighbor in a peer group.
neighbor
IP-ADDRESS
peer-group
PEER-GROUP-NAME
no neighbor
IP-ADDRESS
peer-group
PEER-GROUP-NAME
Parameters
IP-ADDRESS
Specifies the IP address of the BGP peer.
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
PASSWORD
Specifies a case-sensitive password of up to 25 characters. Set the MD5
authentication password when the TCP connection between BGP neighbors is
established.
Default
Disabled.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
This command is used to configure the password for a BGP neighbor or BGP peer
group. The password setting will cause TCP connections between the peers to
restart with MD5 authentication. The same password need be configured between
peers, otherwise the TCP connection will fail. A password can use special
characters, such as ‘~!@#$%^&*()-_=+|\}]{[“’:;/><.,?’. The maximum length of the
password is 25 characters.
When using this command, BGP connection will be torn down, so the following log
message will be generated.
[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>)
Where the <ipaddress> is the address of the peer. After a while, the connection will
be rebuilt if both the BGP speakers are configured the same password, and the
following log message will be generated.
[BGP(1):] BGP connection is successfully established Peer:<ipaddress>
Where the <ipaddress> is the address of the peer.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to set the password of the BGP neighbor 10.2.2.2 to “abc”.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 40000
DXS-3600-32S(config-router)#neighbor 10.2.2.2 remote-as 30000
DXS-3600-32S(config-router)#neighbor 10.2.2.2 password abc
DXS-3600-32S(config-router)#
IP-ADDRESS
Specifies the IP address of the BGP peer.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...