portal move-mode auto

Syntax

portal move-mode auto

undo portal move-mode

View

System view

Default level

2: System level

Parameters

None

Description

Use portal move-mode auto to enable support for portal user moving. Then, if an authenticated user moves from a port of the device to another port of the device without logging off, the user can continue to access the network (without re-authentication) if the following conditions are satisfied:

If any condition is not satisfied, the device re-authenticates the user on the new port.

Use undo portal move-mode to disable support for portal user moving.

By default, support for portal user moving is disabled, and if an authenticated user moves from a port of the device to another port of the device without logging off, the user cannot get online when the original port is still up, because the original port is still maintaining the authentication information of the user.

If the original port goes down after a user moves from the port to another port, the authentication information of the user is lost and the user has to be re-authenticated.

Support for portal user moving applies to scenarios where hubs, Layer 2 switches, or APs exist between users and the access devices.

Examples

# Enable support for portal user moving.

<Sysname> system-view
[Sysname] portal move-mode auto