Concept Guide
peer-group-name Enter the name of a congured peer group.
encryption-type (OPTIONAL) Enter 7 as the encryption type for the password entered. 7 means that the
password is encrypted and hidden.
password
Enter a text string up to 80 characters long. The rst character of the password must be
a letter.
You cannot use spaces in the password.
Defaults Not congured.
Command Modes ROUTER BGP
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
Congure the same password on both BGP peers or a connection does not occur. When you congure MD5
authentication between two BGP peers, each segment of the TCP connection between them is veried and the
MD5 digest is checked on every segment sent on the TCP connection.
Conguring a password for a neighbor causes an existing session to be torn down and a new one established.
If you specify a BGP peer group by using the peer-group-name parameter, all the members of the peer group
inherit the characteristic congured with this command.
If you congure a password on one neighbor, but you have not congured a password for the neighboring router,
the following message appears on the console while the routers attempt to establish a BGP session between them:
%RPM0-P:RP1 %KERN-6-INT: No BGP MD5 from [peer's IP address]
:179 to [local router's IP address]:65524
Also, if you congure dierent passwords on the two routers, the following message appears on the console:
%RPM0-P:RP1 %KERN-6-INT: BGP MD5 password mismatch from
[peer's IP address] : 11502 to [local router's IP address] :179
neighbor peer-group (assigning peers)
Allows you to assign one peer to an existing peer group.
Syntax
neighbor ip-address peer-group peer-group-name
To delete a peer from a peer group, use the no neighbor ip-address peer-group peer-group-name
command.
Parameters
ip-address Enter the IP address of the router to be included in the peer group.
peer-group-name Enter the name of a congured peer group.
Defaults Not congured.
Border Gateway Protocol IPv4 (BGPv4) 323