In terms of service, service flow 1 must occupy a bandwidth of 10K, service flow 2
must occupy a bandwidth of 20K, under the premise of ensuring voice service.
10.1.1.1/24
E0
1.1.1.2/24
E0 1.1.4.2/24
Router A
Router B
s0 1.1.6.1
s0
1.1.6.2/24
1.1.1.1/24
PC2
PC1
PC3
PC4
Tel ephone
Tel ephone
E1
10.1.1.2/24
E1: 10.1.4.2/24
10.1.4.1/24
1.1.4.1/24
Figure 1-2 Networking diagram of CBQ configuration
Note:
This example only illustrates configurations corresponding to CBQ. The configurations of various
services and routes should be performed by the user independently. This example only configures CBQ
on Router A. Router B can be configured similarly.
Configure Router A:
1 Configure ACL rule.
[RouterA] acl 101
[RouterA-acl-101] rule normal permit ip source 1.1.0.0 0.0.255.255 destination
any
[RouterA] acl 102
[RouterA-acl-102] rule normal permit ip source 10.1.0.0 0.0.255.255 destination
any
2 Configure class 1:
[RouterA] qos class logic-and 1
[RouterA-qosclass-1] if-match acl 101
[RouterA-qosclass-1] quit
3 Configure class 2:
[RouterA] qos class logic-and 2
[RouterA-qosclass-2] if-match acl 102
[RouterA-qosclass-2] quit
4 Configure priority class:
[RouterA] qos class logic-and voip
3Com Router Configuration Guide Addendum for V1.20
15