![H3C SR8800-F Скачать руководство пользователя страница 341](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863341.webp)
325
Step Command
Remarks
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface
interface-type
interface-number
N/A
6.
Specify the NAS-ID profile on
the interface.
portal
nas-id-profile
profile-name
By default, no NAS-ID profile is
specified on the interface.
Configuring MAC-based quick portal
authentication
Restrictions and guidelines for configuring MAC-based quick
portal authentication
Only IPv4 direct authentication supports MAC-based quick portal authentication.
Do not configure both a MAC binding server and a portal preauthentication policy on an interface.
Otherwise, the MAC binding server does not take effect.
Configuring a MAC binding server
You can configure multiple MAC binding servers on the device.
Perform this task to configure MAC binding server parameters, such as the server's IP address and
the free-traffic threshold.
To configure a MAC binding server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a MAC binding server
and enter its view.
portal mac-trigger-server
server-name
By default, no MAC binder servers
exist.
3.
Specify the IP address of the
MAC binding server.
ip
ipv4-address
[
vpn-instance
ipv4-vpn-instance-name
] [
key
{
cipher
|
simple
}
string
]
By default, the IP address of a
MAC binding server is not
specified.
4.
(Optional.) Specify the
free-traffic threshold.
free-traffic threshold
value
By default, the free-traffic
threshold is 0 bytes.
5.
(Optional.) Specify the
NAS-Port-Type value carried
in RADIUS requests sent to
the RADIUS server.
nas-port-type
value
By default, the NAS-Port-Type
value carried in RADIUS requests
is 0.
6.
(Optional.) Set the UDP port
number on which the MAC
binding server listens for
MAC binding query packets.
port
port-number
By default, the MAC binding
server listens for MAC binding
query packets on UDP port
50100.
7.
(Optional.) Specify the
maximum number of
attempts and the interval for
sending MAC binding
queries to the MAC binding
server.
binding-retry
{
retries
|
interval
interval
} *
By default, the maximum number
of query attempts is 3 and the
query interval is 1 second.