The portal timer offline-detect command sets the Portal user offline detection interval.
The undo portal timer offline-detect command restores the default Portal user offline detection interval.
By default, the Portal user offline detection interval is 300 seconds.
Parameter | Description | Value |
---|---|---|
time-length | Specifies the Portal user offline detection interval. | The value is 0 or an integer that ranges from 30 to 7200, in seconds. The default value is 300. The value 0 indicates that offline detection is not performed. |
Usage Scenario
If a Portal user goes offline due to power failure or network interruption, the device and Portal server may still store the user information, which causes incorrect accounting. Additionally, a limit number of users can access the device. If a user goes offline improperly but the device still stores user information, other users cannot access the network.
After the Portal user offline detection interval is set, if the user does not respond within the interval, the device considers the Portal user offline. The device and Portal server then delete the user information and release resources to ensure an efficient resource use.
Precautions
The portal timer offline-detect command only applies to Layer 2 Portal authentication.
The heartbeat detection function of the authentication server can be used to ensure the normal online status of PC users for whom Layer 3 Portal authentication is used. If the authentication server detects that a user goes offline, it instructs the device to disconnect the user.