You need to configure the mappings among the user priority, CoS, and color to implement QoS on packets in a domain.
You can configure the desired priorities for online users. To perform traffic scheduling according to the user priority, you can configure user priority mapping in a domain. After a user in this domain goes online, the priority of the user is mapped to the internal CoS of the device according to the configured mapping relationship.
Perform the following steps on the router:
The system view is displayed.
The AAA view is displayed.
The AAA domain view is displayed.
The user priority is configured.
The methods for configuring user priorities are as follows:
Return to the AAA view.
Return to the system view.
A DS domain is defined and the DS domain view is displayed.
Priority mapping is configured for users in a domain.
Before configuring the user priority mapping by running the user-priority phb command, you must specify the user priority that needs to be mapped by running the user-priority command in the AAA domain. Otherwise, the mapping does not take effect.
If the CoS is CS6, CS7, EF or BE, packets can be marked only in green.
User Priority |
Service |
Color |
---|---|---|
0 |
BE |
Green |
1 |
AF1 |
Green |
2 |
AF2 |
Green |
3 |
AF3 |
Green |
4 |
AF4 |
Green |
5 |
EF |
Green |
6 |
CS6 |
Green |
7 |
CS7 |
Green |
Return to the system view.
The AAA view is displayed.
The AAA domain view is displayed.
Simple traffic classification is enabled in the domain to ensure priority mapping for IP packets, MPLS packets, and multicast packets of the domain.
PHB for specific priorities of downstream packets in an AAA domain is disabled.
The configuration is committed.
Run the following commands to check the previous configuration.