Huawei v200r001 Network Router User Manual


 
User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform
Chapter 3
Congestion Management
3-16
II. Networking diagram
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
s0:192.168.0.1
s0:192.168.0.2
(10.1.1.1)tunnel0(10.1.1.2)
(10.1.7.1)tunnel1(10.1.7.2)
8240 3680
Figre QC-3-6 Networking diagram of CQ Configuration
III. Configuration
1) Configuring 8240 router
! Configure access control list
Quidway(config)# access-list normal 105 permit ip 10.1.5.0 0.0.0.255 10.1.4.0
0.0.0.255
Quidway(config)# access-list normal 105 deny ip any any
Quidway(config)# access-list normal 107 permit ip 192.168.0.1 0.0.0.0 192.168.0.2
0.0.0.0
Quidway(config)# access-list normal 108 permit ip 192.168.1.1 0.0.0.0 192.168.1.2
0.0.0.0 (CQ uses this command)
! Configure CQ
Quidway(config)# custom-list 1 queue 1 limit 100
Quidway(config)# custom-list 1 queue 1 byte-count 5000
Quidway(config)# custom-list 1 queue 2 limit 100
Quidway(config)# custom-list 1 queue 2 byte-count 1000
Quidway(config)# custom-list 1 protocol ip 1 list 107
Quidway(config)# custom-list 1 protocol ip 2 list 108 (CQ restricts that the flow of
tunnel0 is larger than that of tunnel1, and CQ is effective at the exit)
! Configure main and slave address of Serial0
Quidway(config-if-Serial0)# ip address 192.168.0.2 255.255.255.252
Quidway(config-if-Serial0)# ip address 192.168.1.2 255.255.255.252 secondary
! Apply CQ 1 on Serial0
Quidway(config-if-Serial0)# custom-group 1