259
<Sysname> system-view
[Sysname] portal web-server wbs
[Sysname-portal-websvr-wbs] if-match user-agent
5.0(WindowsNT6.1)AppleWebKit/537.36(KHTML,likeGecko)Chrome/36.0.1985.125Safari/537.36
redirect-url http://192.168.0.1
Related commands
display portal web-server
portal free-rule
url
url-parameter
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
mdc-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 1 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.