R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

818
undo peer { group-name | ipv6-address } password
View
IPv6 address family view
Default level
2: System view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
cipher: Displays the configured password in cipher text format.
simple: Displays the configured password in plain text format.
password: Password, a string of 1 to 80 characters when the simple keyword is used, or when the cipher
keyword and plain text password are used; a string of 24 or 108 characters when the cipher text
password and the cipher keyword are used.
Description
Use peer password to configure BGP to perform MD5 authentication when a TCP connection is being
established with a peer/peer group.
Use undo peer password to restore the default.
By default, no MD5 authentication is performed for TCP connection establishment.
The MD5 authentication requires that the two parties have the same authentication mode and password
to establish TCP connection; otherwise, the TCP connection cannot be established due to authentication
failure.
If the simple keyword is specified, the password in plain text is stored in the configurations file. You can
use the display this and display current-configuration commands to display the plain-text password.
If the cipher keyword is specified and a plain-text password is entered, the password is stored in the
configurations file after being encrypted. You can use the display this and display current-configuration
commands to display the password in cipher text. Specify the password in cipher text so that the
password cannot be easily cracked.
Examples
# Enable MD5 authentication for establishing TCP connection between the local device (1:2::3:3) and
peer device (1:2::3:4), and configure the authentication password as aabbcc.
On the local device:
<Sysname> system-view
[Sysname] bgp 3
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 password cipher aabbcc
On the peer device:
<Sysname> system-view
[Sysname] bgp 4
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:3 password cipher aabbcc