1. Classification and marking. Shaping and supervising. Congestion avoidance 4. Queuing mechanism
1. classification mark: identify and classify the flow, and press the exit/entrance interface; Ip priority, DSCP, source and target, application category, etc.
The access list 100 allows ip hosts 192. 168. 1 host172.16.1.1dscpaf4/.
Access list 10 1 allowed ip hosts192.168.1.2 hosts172.16.1.
The class map matches any C 1
Matching access group 100
Match access group 10 1
2. Plastic surgery and supervision:
Shaping and supervision are two different implementation mechanisms of traffic supervision, such as shaping queues for specific traffic shaping:
The access list 100 allows icmp hosts 192. 168. 1 host172.16.1/
int f0/0
Traffic shape group100 8000100010001200
3. Congestion avoidance mechanism:
Mainly discard mechanism, what else BECN, FECN, etc. Take WRED (Weighted Random Early Detection) as an example to illustrate the configuration, such as WRED based on dscp value:
int s0/0
Random detection
Dscp base on random detection
4. Queues, there are many kinds of queues (FIFO, PQ, CQ, WFQ, LLQ, CBWFQ, CBLLQ), which can be supported by Cisco 3560. Take CBWFQ as an example to illustrate the specific configuration:
For example, when the s0/0 interface is congested, the ICMP traffic from this interface accounts for 30% of the total bandwidth; TELNET accounts for 45%
Category mapping ICMP
Matching protocol icmp
Class mapping TELNET
Matching protocol telnet
Policy map P2
ICMP class
Bandwidth percentage 30
Remote login class
Bandwidth percentage 45
Category Category-Default
Fair queue
int s0/0
Service policy output P2
________________________________________
The realization of QoS is still complicated, so it is best to refer to professional books. I'm just briefly talking about three-layer QoS. There are also two layers of QoS, four layers of QoS and so on.