694 CHAPTER 49: CONGESTION MANAGEMENT
Figure 222 Networking diagram of CQ typical configuration
1 Configure Router A
[RouterA]acl 105
[RouterA-acl-105]rule normal permit ip source 10.1.4.0 0.0.0.255
destination 10.1.5.0 0.0.0.255
[RouterA-acl-105] rule normal deny ip source any destination any
[RouterA-acl-105]acl 107
[RouterA-acl-107] rule normal permit ip source 192.168.0.2 0.0.0.0
destination 192.168.0.1 0.0.0.0
[RouterA-acl-108]rule normal permit ip source 192.168.1.2 0.0.0.0
destination 192.168.1.1 0.0.0.0
a Configure the CQ queue
[RouterA] qos cql 1 queue 1 queue-length 100
[RouterA] qos cql 1 queue 1 serving 5000
[RouterA] qos cql 1 queue 2 queue-length 100
[RouterA] qos cql 1 queue 2 serving 1000
[RouterA] qos cql 1 protocol ip acl 107 queue 1
[RouterA] qos cql 1 protocol ip acl 108 queue 2
b Configure Serial0 master/slave addresses
[RouterA-Serial0] ip address 192.168.0.1 255.255.255.252
[RouterA-Serial0] ip address 192.168.1.1 255.255.255.252 sub
c Apply the CQ queue 1 to Serial0
[RouterA-Serial0] qos cq cql
d Configure Tunnel0
[RouterA-Tunnel0] ip address 10.1.1.1 255.255.255.0
[RouterA-Tunnel0] source 192.168.0.1
[RouterA-Tunnel0] destination 192.168.0.2
e Configure Tunnel1
[RouterA-Tunnel1] ip address 10.1.7.1 255.255.255.0
[RouterA-Tunnel1] source 192.168.1.1
[RouterA-Tunnel1] destination 192.168.1.2
2 Configure Router B
a Configure the access control list
[RouterB]acl 105
PC1:10.1.3.10
PC3:10.1.4.10
PC2:10.1.5.10
PC4:10.1.6.10
e0:10.1.5.1
e1:10.1.6.1
e0.0:10.1.3.1
e0.1:10.1.4.1
(10.1.1.1)tunnel0 (10.1.1.2)
Router
Router
(10.1.7.1)tunnel1 (10.1.7.2)
s0:192.168.0.1
s0:192.168.0.2