232
Portal commands
aging-time
Use
aging-time
to set the aging time for MAC-trigger entries.
Use
undo aging-time
to restore the default.
Syntax
aging-time
seconds
undo aging-time
Default
The aging time for MAC-trigger entries is 300 seconds.
Views
MAC binding server view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds
: Specifies the aging time for MAC-trigger entries. The value range is 60 to 7200 seconds.
Usage guidelines
With MAC-based quick portal authentication enabled, the device generates a MAC-trigger entry for a
user when the device detects traffic from the user for the first time. The MAC-trigger entry records the
following information:
•
MAC address of the user
•
Interface index
•
VLAN ID
•
Traffic statistics
•
Aging timer
When the aging time expires, the device deletes the MAC-trigger entry. The device re-creates a
MAC-trigger entry for the user when it detects the user's traffic again.
Examples
# Specify the aging time as 300 seconds for MAC-trigger entries.
<Sysname> system-view
[Sysname] portal mac-trigger-server mts
[Sysname-portal-mac-trigger-server-mts] aging-time 300
Related commands
display portal mac-trigger-server