260
Examples
# Specify the IP address of the MAC binding server as
192.168.0.111
and the plaintext key as
portal
.
<Sysname> system-view
[Sysname] portal mac-trigger-server mts
[Sysname-portal-mac-trigger-server-mts] ip 192.168.0.111 key simple portal
Related commands
display portal mac-trigger-server
ip (portal authentication server view)
Use
ip
to specify the IP address of an IPv4 portal authentication server.
Use
undo ip
to restore the default.
Syntax
ip ipv4-address
[
vpn-instance ipv4-vpn-instance-name
] [
key
{
cipher
|
simple
}
string
]
undo ip
Default
The IP address of the IPv4 portal authentication server is not specified.
Views
Portal authentication server view
Predefined user roles
network-admin
mdc-admin
Parameters
ipv4-address
: Specifies the IP address of the IPv4 portal authentication server.
vpn-instance ipv4-vpn-instance-name
: Specifies the MPLS L3VPN instance to which the portal
authentication server belongs. The
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 specified 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 IPv4 address. Therefore, in portal authentication server
view, only one IPv4 address exists. If you execute this command multiple times, the most recent
configuration takes effect.
Do not configure the same IPv4 address and MPLS L3VPN for different portal authentication
servers.