3Com 10014299 Network Router User Manual


 
Congestion Management Configuration Examples 695
[RouterB-acl-105]rule normal permit ip source 10.1.5.0 0.0.0.255
destination 10.1.4.0 0.0.0.255
[RouterB-acl-105] rule normal deny ip source any destination any
[RouterB-acl-105]acl 107
[RouterB-acl-107]rule normal permit ip source 192.168.0.1 0.0.0.0
destination 192.168.0.2 0.0.0.0
[RouterB-acl-107]acl 108
[RouterB-acl-107]rule normal permit ip source 192.168.1.1 0.0.0.0
destination 192.168.1.2 0.0.0.0
b Configure the CQ queue
[RouterB] qos cql 1 queue 1 queue-length 100
[RouterB] qos cql 1 queue 1 serving 5000
[RouterB] qos cql 1 queue 2 queue-length 100
[RouterB] qos cql 1 queue 2 serving 1000
[RouterB] qos cql 1 protocol ip acl 107 queue 1
[RouterB] qos cql 1 protocol ip acl 108 queue 2
(CQ restricts the traffic in Tunnel0 that is larger than that in
tunnel1, and CQ is effective at the exit)
c Configure Serial0 master/slave addresses
[RouterB-Serial0] ip address 192.168.0.2 255.255.255.252
[RouterB-Serial0] ip address 192.168.1.2 255.255.255.252 sub
d Apply the CQ queue 1 to Serial0
[RouterB-Serial0] qos cq cql 1
e Configure Tunnel0
[RouterB-Tunnel0] ip address 10.1.2.1 255.255.255.0
[RouterB-Tunnel0] source 192.168.0.2
[RouterB-Tunnel0] destination 192.168.0.1
f Configure Tunnel1
[RouterB-Tunnel1] ip address 10.1.7.2 255.255.255.0
[RouterB-Tunnel1] source 192.168.1.2
[RouterB-Tunnel1] destination 192.168.1.1
WFQ Configuration
Example
1 Configure a WFQ queue with congestion discard threshold as 64 packets and 512
dynamic queues.
[Router] interface ethernet 0
[Router-Ethernet0] qos wfq queue-length 64 queue-number 512