261
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 restore the default.
Syntax
ipv6
ipv6-address
[
vpn-instance ipv6-vpn-instance-name
]
[
key
{
cipher
|
simple
}
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
mdc-admin
Parameters
ipv6-address
: Specifies the IP address of the IPv6 portal authentication server.
vpn-instance ipv6-vpn-instance-name
: Specifies the MPLS L3VPN instance to which the portal
authentication server belongs. The
ipv6-vpn-instance-name
argument represents the VPN instance
name, a case-sensitive string of 1 to 31 characters. If the portal authentication server belongs to 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
: Specifies a key in encrypted form.
simple
: Specifies a key in plaintext form. For security purposes, the key in plaintext form will be
stored in encrypted form.
string
: Specifies the key. Its plaintext form is a case-sensitive string of 1 to 64 characters. Its
encrypted form is a case-sensitive string of 1 to 117 characters.
Usage guidelines
A portal authentication server has only one IPv6 address. Therefore in portal authentication server
view, only one IPv6 address exists. If you execute this command multiple times, the most recent
configuration takes effect.