257
ip (MAC binding server view)
Use
ip
to specify the IP address of a MAC binding 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 MAC binding server is not specified.
Views
MAC binding server view
Predefined user roles
network-admin
Parameters
ipv4-address
: Specifies the IP address of a MAC binding server.
vpn-instance
ipv4-vpn-instance-name
: Specifies the MPLS L3VPN instance to which the MAC
binding server belongs. The
ipv4-vpn-instance-name
argument represents the VPN instance name,
a case-sensitive string of 1 to 31 characters. If the MAC binding server belongs to the public network,
do not specify this option.
key
: Specifies a shared key to be used to authenticate packets between the device and the MAC
binding server. Portal packets exchanged between the device and MAC binding server carry an
authenticator that is generated with the shared key. The receiver uses the authenticator to verify the
correctness of the received portal packets. If you do not specify a shared key, the device and MAC
binding server do not authenticate the packets between them.
cipher
: Specifies a shared key in encrypted form.
simple
: Specifies a shared key in plaintext form. For security purposes, the key specified in plaintext
form will be stored in encrypted form.
string
: Specifies the shared key. Its plaintext form is a case-sensitive string of 1 to 64 characters. Its
encrypted form is a case-sensitive string of 33 to 117 characters.
Usage guidelines
If you execute this command multiple times in the same MAC binding server view, the most recent
configuration takes effect.
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 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.
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...