Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-48
password: Password, a string with 1 to 16 characters when argument simple is
configured in the command or in the event of inputting the password in simple text but
argument cipher is configured in the command; with 24 characters in the event of
inputting the password in cipher text when argument cipher is configured in the
command.
Description
Use the peer password command to configure BGP to perform MD5 authentication
before setting up a TCP connection.
Use the undo peer password command to cancel the configuration.
By default, BGP does not perform MD5 authentication before setting up a TCP
connection.
Once MD5 authentication is enabled, both parties involved in the authentication must
be configured with the exact authentication mode and password. Otherwise, the TCP
connection will not be set up because of the failed authentication.
This command is used to configure MD5 authentication for a specific peer only when
the peer group to which the peer belongs is not configured with MD5 authentication.
Otherwise, the peer group configuration takes precedence.
Example
# Perform MD5 authentication on the TCP connection set up between the local router at
10.1.100.1 and the peer router at 10.1.100.2.
[3Com -bgp] peer 10.1.100.2 password simple huawei
# Perform the similar configuration on the peer.
[3Com -bgp] peer 10.1.100.1 password simple huawei
5.1.52 peer public-as-only
Syntax
peer group-name public-as-only
undo peer group-name public-as-only
View
BGP view
Parameter
group-name: Specifies the name of the peer group.










