A10E/A28E/A28F Configuration Guide
4.7 Configuring examples
4.7.1 Example for configuring congestion management
Networking requirements
As shown below, the user uses voice, video and data services.
CoS priority of voice service is 5, CoS priority of video service is 4, CoS priority of data
service is 2. The local priorities for these three types of services are mapping 6, 5, and 2
respectively.
It is easy for Switch A to occur congestion, for reduce network congestion; user needs to make
the following rules according to different services types:
For voice service, perform SP schedule to make sure this part of flow passes through in
prior;
For video service, perform WRR schedule, with weight value 50;
For data service, perform WRR schedule, with weight value 20;
Figure 4-8 Configure queue schedule networking
Configuration steps
Step 1 Configure interface priority trust mode.
Alpha-A28E#hostname SwitchA
SwitchA#config
SwitchA(config)#mls qos enable
SwitchA(config)#interface port 2
SwitchA(config-port)#mls qos trust cos
SwitchA(config-port)#quit
Step 2 Configure mapping profile between CoS priority and local priority.
SwitchA(config)#mls qos mapping cos 5 to local-priority 6
SwitchA(config)#mls qos mapping cos 4 to local-priority 5
SwitchA(config)#mls qos mapping cos 2 to local-priority 2