< Home

access-limit user-name max-num

Function

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.

Format

access-limit user-name max-num number

undo access-limit user-name max-num

Parameters

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.

Views

Service scheme view

Default Level

3: Management level

Usage Guidelines

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.

Example

# In the service scheme s1, set the maximum number of users who are allowed to access the network using the same user name to 15.

<HUAWEI> system-view
[HUAWEI] aaa
[HUAWEI-aaa] service-scheme s1
[HUAWEI-aaa-service-s1] access-limit user-name max-num 15
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >