3Com Router 3000 Ethernet Family
Configuration Guide
II. Network diagram
FTP Server &
WWW Server
Figure 3-8 Network diagram for CQ configuration
III. Configuration procedure
Configure Router A as follows:
# Configure ACL rules for FTP and HTTP packets
[3Com] acl number 3001
[3Com-acl-adv-3001] rule 0 permit tcp source-port eq ftp
[3Com-acl-adv-3001] rule 1 permit tcp source-port eq ftp-data
[3Com-acl-adv-3001] rule 2 deny ip
[3Com] quit
[3Com] acl number 3002
[3Com-acl-adv-3001] rule 0 permit tcp source-port eq www
[3Com-acl-adv-3001] rule 1 deny ip
[3Com-acl-adv-3001] quit
# Configure CQ rules, customizing the FTP and HTTP traffic to share link bandwidth in
the ratio of 1 to 2.
[3Com] qos cql 1 queue 11 serving 1000
[3Com] qos cql 1 queue 12 serving 2000
[3Com] qos cql 1 protocol ip acl 3001 queue 11
[3Com] qos cql 1 protocol ip acl 3002 queue 12
# Apply the CQ rule in outbound direction of interface Serial 2/0/0.
[3Com] interface Serial2/0/0
[3Com1-Serial2/0/0] link-protocol ppp
[3Com1-Serial2/0/0] ip address 10.1.1.1 255.255.255.0
[3Com1-Serial2/0/0] qos cq cql 1
[3Com1-Serial2/0/0] quit
3.8.4 CBQ Configuration Example
I. Network requirements
As shown in the network diagram, Router A and Router B are installed with FXS cards
and connected to phones. The connection of the two routers is back-to-back and
encapsulated with PPP.
RouterA
eth0/0/0
S2/0/0
10.1.1.1/24
3Com Corporation
3-41
Chapter 3 Congestion Management
RouterB
PPP
S2/0/0
10.1.1.2/24
eth0/0/0
PC