Command Manual – MPLS 
Quidway S8500 Series Routing Switches  Chapter 2  BGP/MPLS VPN Configuration Commands
 
Huawei Technologies Proprietary 
2-39 
simple: Displays the password in plain text.  
password: Password string. When you choose the cipher parameter and input the 
password in plain text, or you choose the simple parameter, the password is one to 16 
characters in length. When you choose the cipher parameter, and input the password 
in cipher text, the password is to be 24 in length.  
Description 
Use the peer password command to enable BGP to perform the MD5 authentication 
when making 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 the MD5 authentication cannot be passed. 
A specified peer can perform the MD5 authentication only when the group to which the 
peer belongs is not set the 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.  
[Quidway-bgp-af-vpn-instance] peer 10.1.100.2 password simple huawei 
# Perform a similar configuration to the remote end. 
[Quidway-bgp-af-vpn-instance] peer 10.1.100.1 password simple huawei 
2.1.46  peer public-as-only 
Syntax 
peer group-name public-as-only 
undo peer group-name public-as-only 
View 
VPNv4 subaddress family view, VPN-instance subaddress family view  
Parameter 
group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric 
characters.