혼잡 시 서비스 별로 가중치를 적용하여 지정해준 범위 안에서 드랍을 시켜 하향 평준화를 예방 할 수 있다.
셋팅
class-map match-any ftp
match precedence 3
!
policy-map queuing-1
class ftp
bandwidth 2000
random-detect
random-detect
precedence 3 20 40
10
!
interface FastEthernet0/1
service-policy
output queuing-1
적용후
HQ_SE_Core_R1#show policy-map int f0/1
FastEthernet0/1
Service-policy
output: queuing-1
Class-map: nftp (match-any)
532228
packets, 543139170 bytes
5 minute
offered rate 6785000 bps, drop rate 0 bps
Match: precedence 3
532228
packets, 543139170 bytes
5 minute
rate 6785000 bps
Queueing
Output
Queue: Conversation 265
Bandwidth
2000 (kbps)
(pkts matched/bytes
matched) 18/22908
(depth/total drops/no-buffer drops) 0/0/0
exponential weight: 9
mean
queue depth: 0
class
Transmitted Random drop Tail drop Minimum
Maximum Mark
pkts/bytes pkts/bytes pkts/bytes thresh
thresh prob
0 0/0 0/0 0/0 20 40
1/10
1 0/0 0/0 0/0 22 40
1/10
2 0/0 0/0 0/0 24 40
1/10
3 532228/543139170 0/0 0/0 20 40
1/10
4 0/0 0/0 0/0 28 40
1/10
5 0/0 0/0 0/0 30 40
1/10
6 0/0 0/0 0/0 32 40
1/10
7 0/0 0/0 0/0 34 40
1/10
rsvp 0/0 0/0 0/0 36 40 1/10
Class-map:
class-default (match-any)
284 packets,
22485 bytes
5 minute
offered rate 2000 bps, drop rate 0 bps
Match: any