Concept Guide

peer-group-name Enter the name of a congured 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 congured.
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
Congure the same password on both BGP peers or a connection does not occur. When you congure MD5
authentication between two BGP peers, each segment of the TCP connection between them is veried and the
MD5 digest is checked on every segment sent on the TCP connection.
Conguring 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 congured with this command.
If you congure a password on one neighbor, but you have not congured 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 congure dierent 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 congured peer group.
Defaults Not congured.
Border Gateway Protocol IPv4 (BGPv4) 323