The access-limit user-name max-num command configures the maximum number of users who are allowed to access the network using the same user name.
The undo access-limit user-name max-num command restores the default setting.
By default, the number of users who are allowed to access the network using the same user name is not limited, and is determined by the maximum number of access users supported by the device.
Parameter | Description | Value |
---|---|---|
number | Specifies the maximum number of users who are allowed to access the network using the same user name. | The value is an integer and is determined by the maximum number of access users supported by the device. |
By default, the number of users who are allowed to access the network using the same user name is not limited. To limit the number of users who are allowed to access the network using a user name, run the access-limit user-name max-num command. For example, the bandwidth share mode is configured for all terminal users in a home network access scenario. To facilitate maintenance, the server delivers the same user name to replace the user names entered by terminal users. The number of access users needs to be limited based on the user name to ensure the network access experience of all terminal users.
For RADIUS authentication users, configurations for limiting the number of access users based on the user name are carried in the HW-UserName-Access-Limit (26-18) attribute.
Only users who are successfully authenticated support the configurations for limiting the number of access users based on the same user name, and pre-connection users do not support such configurations.