portal offline-detect interval
Syntax
portal offline-detect interval offline-detect-interval
undo portal offline-detect interval
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
offline-detect-value: Specifies the online Layer 2 portal user detection interval, in the range of 60 to 65535.
Description
Use portal offline-detect interval to set the online Layer 2 portal user detection interval. Then, after a Layer 2 portal user gets online, the device starts a detection timer for the user, and checks whether the user has sent any packet to the device at this interval. If the device receives no packets from the user during two detection intervals or finds that the user's MAC address entry has been aged out, the device considers that the user has gone offline and clears the authentication information of the user.
Use undo portal offline-detect interval to restore the default.
By default, the online Layer 2 portal user detection interval is 300 seconds.
This detection interval must be equal to or less than the MAC address entry aging time. Otherwise, many portal users will be considered offline due to aged MAC address entries.
Examples
# Set the online Layer 2 portal user detection interval to 3600 seconds on port Ethernet 1/0/1.
<Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] portal offline-detect interval 3600