163
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN where the portal authentication server
resides by the VPN instance name, a case-sensitive string of 1 to 31 characters. If the portal
authentication server is on the public network, do not specify this option.
key: Specifies a shared key for communication with the portal authentication server. Portal packets
exchanged between the access device and the portal authentication server carry an authenticator that is
generated with the shared key. The receiver uses the authenticator to check the correctness of the
received portal packets.
cipher: Sets a ciphertext shared key.
simple: Sets a plaintext shared key.
key-string: Specifies the shared key. A plaintext shared key is a case-sensitive string of 1 to 64 characters.
A ciphertext shared key is a case-sensitive string of 33 to 117 ch ar a c t e rs .
Usage guidelines
A portal authentication server has only one IP address. Therefore, in portal authentication server view,
only one IP address exists. A newly configured IP address (IPv4 or IPv6) overrides the old address.
Do not configure the same IP address and MPLS L3VPN for different portal authentication servers.
For security purposes, all keys, including keys specified in plain text, are saved in cipher text.
Examples
# Configure the IP address of IPv4 portal authentication server pts as 192.168.0.111 and the plaintext key
as portal.
<Sysname> system-view
[Sysname] portal server pts
[Sysname-portal-server-pts] ip 192.168.0.111 key simple portal
Related commands
• display portal server
• portal server
ipv6
Use ipv6 to specify the IP address of an IPv6 portal authentication server.
Use undo ipv6 to delete the IP address of the IPv6 portal authentication server.
Syntax
ipv6 ipv6-address [ vpn-instance vpn-instance-name] [ key { cipher | simple } key-string ]
undo ipv6
Default
The IP address of the IPv6 portal authentication server is not specified.
Views
Portal authentication server view
Predefined user roles
network-admin