220 CHAPTER 23: QOS/QOS PROFILE CONFIGURATION GUIDE
The Switch 4210 supports the WRR queue scheduling algorithm and the high
queue-WRR (HQ-WRR) queue scheduling algorithm. HQ-WRR is implemented
based on WRR. HQ-WRR selects queue 3 as the high-priority queue from the
four output queues. If the bandwidth occupied by the four queues exceeds the
port capability, packets in queue 3 are preferentially transmitted, and the left
three queues are scheduled using WRR.
The Switch 4210, 5500, and 5500G provide the default 802.1p-to-local
precedence mapping table as follows:
Configuring Traffic Redirection and Traffic Accounting
Network Diagram Figure64 Network diagram for traffic redirection and traffic accounting configuration
Networking and
Configuration
Requirements
A company uses a switch (a Switch 5500 in this example) to interconnect all the
departments. The network is described as follows:
PC 1 and PC 2 are connected to Ethernet 1/0/1 of the switch. The IP address of
PC 1 is 192.168.0.1.
The data monitoring device is connected to Ethernet1/0/2 of the switch.
Configure traffi c redirection and tra ffic accounting to satisfy the following
requirements:
From 8:30 to 18:00 in working days, redirect the HTTP traffic from PC 1 to the
Internet to the data monitoring device for analysis.
Tabl e 3 802.1p-to-local precedence mapping table
802.1p precedence (CoS) Local precedence
0 2
1 0
2 1
3 3
4 4
5 5
6 6
7 7
Switch
Data monitoring device
Eth1/0/2
PC 2
PC 1
192.168.0.1 Eth1/0/1
To the router