The priority command configures the user priority in a service scheme.
The undo priority command restores the default setting.
By default, the user priority is 0.
Parameter | Description | Value |
---|---|---|
priority-value |
Specifies the user priority. |
The value is an integer that ranges from 0 to 1. A larger value indicates a higher priority. |
Usage Scenario
By default, priorities of all users are the same on a device. As a result, if a large number of common users access an AP in a user-intensive campus office scenarios and the number of users accessed to the AP reaches the upper limit, the subsequent VIP users cannot go online. In this case, you can authorize high priorities for the VIP users using a service scheme to ensure the access success rate of the VIP users. If the number of users accessed to an AP reaches the upper limit and users have been authenticated, the device checks priorities of the users. If the priorities are high, the device forcibly disconnects users with low priorities and allows these users to go online; if the priorities are low, the device does not allow these users to go online.
Precautions
When a CAR configuration for user authorization is delivered by the server or configured in a domain, the CAR configuration does not take effect for VIP users. The following example configures CAR for user authorization in a domain.
<HUAWEI> system-view [HUAWEI] qos-profile name abc [HUAWEI-qos-abc] car cir 10000 cbs 10240 pbs 10240 inbound //Configure CAR in the QoS profile abc. [HUAWEI-qos-abc] quit [HUAWEI] aaa [HUAWEI-aaa] service-scheme huawei [HUAWEI-aaa-service-huawei] qos-profile abc //Bind the QoS profile abc to the service scheme huawei. [HUAWEI-aaa-service-huawei] quit [HUAWEI-aaa] domain huawei [HUAWEI-aaa-domain-huawei] service-scheme huawei //Bind the service scheme huawei to the domain huawei.