該文章講述了將udp協(xié)議的16333端口至35252端口都設(shè)為低優(yōu)先級(jí).
QoS---PQ1 1 將 2 將rip設(shè)為高優(yōu)先級(jí) R1(config)#priority-list 1 protocol ip low list 100 //建立優(yōu)先級(jí)列表1,將與access-list 100匹配的流量設(shè)為低優(yōu)先級(jí) R1(config)#access-list 100 permit udp any range 16333 35252 any range 16333 35252 //range命令是設(shè)定一個(gè)端口范圍 R1(config)#priority-list 1 protocol ip high udp rip R1(config)#int s0 R1(config-if)#priority-group 1 //將優(yōu)先級(jí)列表1應(yīng)用到接口S0上 2 驗(yàn)證 R1#sh queueing Current fair queue configuration: Interface Discard Dynamic Reserved threshold queue count queue count Serial1 64 256 0 Current priority queue configuration: List Queue Args 1 low protocol ip list-100 1 high protocol ip udp port rip R1#sh ip int s0 Serial0 is administratively down,line protocol is down Internet protocol processing disabled R1#sh int s0 Serial0 is administratively down, line protocol is down Hardware is HD64570 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation HDLC, loopback not set Keepalive set (10 sec) Last input never, output 01:37:44, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 159 Queueing strategy: priority-list 1 Output queue (queue priority: size/max/drops): high: 0/20/0, medium: 0/40/0, normal: 0/60/159, low: 0/80/0 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets put, 52588119 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets, 52588444 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 output buffer failures, 0 output buffers swapped out 6 carrier transitions DCD=down DSR=down DTR=down RTS=down CTS=down
|
|