R2511-HP MSR Router Series Security Command Reference(V5)
379
portal offline-detect interval
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.
Syntax
portal offline-detect interval offline-detect-interval
undo portal offline-detect interval
Default
The online Layer 2 portal user detection interval is 300 seconds.
Views
Layer 2 Ethernet interface view
Default command level
2: System level
Parameters
offline-detect-value: Online Layer 2 portal user detection interval in the range of 60 to 65535.
Usage guidelines
This detection interval must be equal to or less than the MAC address entry aging time. Otherwise, many
portal users are 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/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-ethernet1/1] portal offline-detect interval 3600
portal redirect-url
Use portal redirect-url to specify the autoredirection URL for authenticated portal users.
Use undo portal redirect-url to restore the default.
Syntax
portal redirect-url url-string [ wait-time period ]
undo portal redirect-url
Default
An authenticated portal user is redirected to the URL that the user entered in the address bar before portal
authentication.
Views
System view










