283
Default
Portal user login and logout logging is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature logs information about portal user login and logout events, including the username, IP
address, user's MAC address, interface name, VLAN, and reason for login failure. For portal log
messages to be sent correctly, you must also configure the information center on the device. For
more information about information center configuration, see
Network Management and Monitoring
Configuration Guide
.
Examples
# Enable logging for portal user logins and logouts.
<Sysname> system-view
[Sysname] portal user log enable
portal mac-trigger server
Use
portal mac-trigger server
to create a MAC binding server and enter its view, or enter the view
of an existing MAC binding server.
Use
undo portal mac-trigger server
to delete the MAC binding server.
Syntax
portal mac-trigger server
server-name
undo portal mac-trigger server
server-name
Default
No MAC binding servers exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
server-name
: Specifies a MAC binding server name, a case-sensitive string of 1 to 32 characters.
Usage guidelines
After you create a MAC binding server, you can configure MAC binding server parameters, such as
the server's IP address and the free-traffic threshold.
Examples
# Create MAC binding server
mts
and enter its view.
<Sysname> system-view
[Sysname] portal mac-trigger-server mts