3com 8807 Reference Guide

Page of 1099
740
C
HAPTER
 40: BGP/MPLS VPN C
ONFIGURATION
 C
OMMANDS
peer-address: Peer IP address in dotted decimal notation.
cipher: Displays the password in cipher text.
simple: Displays the password in plain text.
password: Password string. When you provide the cipher argument but input the 
password in plain text, or if you provide the simple argument, the password is one 
to 16 characters in length. When you provide the cipher argument and input the 
password in cipher text, the password must be 24 in length.
Description
Use the peer password command to enable BGP to perform the MD5 
authentication when establishing a TCP connection.
Use the undo peer password command to cancel this function.
By default, BGP does not perform the MD5 authentication when setting up a TCP 
connection.
When the MD5 authentication is enabled, both parties must have the same 
authentication mode and password; otherwise, no TCP connection can be 
established because MD5 authentication fails.
MD5 authentication can be performed on a specific peer only when the group to 
which the peer belongs is not configured with MD5 authentication. Otherwise, 
the configuration of the peer group applies.
Example
# Assign MD5 authentication to a TCP connection between the local router 
10.1.100.1 and the peer 10.1.100.2.
[3Com-bgp-af-vpn-instance] peer 10.1.100.2 password simple 3com 
# Perform a similar configuration to the remote end.
[3Com-bgp-af-vpn-instance] peer 10.1.100.1 password simple 3com 
peer public-as-only
Syntax
peer group-name public-as-only
undo peer group-name public-as-only
View
VPNv4 sub-address family view, VPN-instance sub-address family view
Parameter
group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric 
characters.
Description
Use the peer public-as-only command to configure BGP not to carry private AS 
numbers when transmitting update packets.