The authentication mode command configures the user access mode.
The undo authentication mode command restores the default user access mode.
By default, the user access mode is multi-authen.
authentication mode { single-terminal | single-voice-with-data | multi-share | multi-authen [ max-user max-user-number [ dot1x | mac-authen | portal | none ] * ] }
undo authentication mode [ multi-authen max-user [ dot1x | mac-authen | portal | none ] * ]
Parameter | Description | Value |
---|---|---|
single-terminal |
Configures an interface to allow only one user to go online. |
- |
single-voice-with-data |
Configures an interface to allow only one data user and one voice user to go online. This mode applies when a data user connects to a network through a voice terminal. |
- |
multi-share |
Configures an interface to allow multiple users to go online. In this mode, the device authenticates only the first access user. If the first user passes authentication, subsequent users share the same network access rights with the first user. If the first user goes offline, other users also go offline. |
- |
multi-authen |
Configures an interface to allow multiple users to go online. In this mode, the device authenticates each access user. If users pass authentication, the users are given individual network access rights. If a user goes offline, other users will not be affected. |
- |
max-user max-user-number |
Specifies the maximum number of access users on the interface in multi-authen mode. |
The value is an integer and the value range varies depending on devices. |
dot1x |
Specifies the maximum number of 802.1X authenticated users allowed to connect to the interface in multi-authen mode. |
- |
mac-authen |
Specifies the maximum number of MAC authenticated users allowed to connect to the interface in multi-authen mode. |
- |
portal |
Specifies the maximum number of Portal authenticated users allowed to connect to the interface in multi-authen mode. |
- |
none |
Specifies the maximum number of pre-connection users allowed to connect to the interface in multi-authen mode. |
- |
Usage Scenario
Precautions
In policy association scenarios, the authentication mode multi-authen max-user max-user-number command configured on an AS does not take effect. To set the maximum number of access users on an AS, run the authentication access-point max-user max-user-number command to set the maximum number of access users allowed on the interface of the access device.
When authentication mode is set to multi-authen in the authentication profile, to configure authorized VLANs, set the interface type to hybrid or trunk in policy association scenarios, and to hybrid in other scenarios.