Typical Configuration Of CQ on AR28、AR46 Series Routers
[Requirements]
Simulate the connection on the WAN. It is required that the bandwidth on the physical line can be allocated based on the proportion for the services on the lines.
[Networking diagram]
[Configuration script
Configuration script of RouterA
acl number 3002 match-order auto
...
acl number 3003 match-order auto
...
#
qos cql 1 queue 1 queue-length 100 /Queue 1 in the length of 100 packets/
qos cql 1 queue 1 serving 5000 /Queue 1 consecutively sends 5000 bytes/
qos cql 1 queue 2 queue-length 100 /Queue 2 in the length of 100 packets/
qos cql 1 queue 2 serving 1000 /Queue 2 consecutively sends 1000 bytes/
qos cql 1 protocol ip acl 3002 queue 1
/Packets in compliance with acl3002 join queue 1/
qos cql 1 protocol ip acl 3003 queue 2
/Packets in compliance with acl3003 join queue 2/
#
interface Serial3/0
link-protocol ppp
qmtoken 1
ip address 192.168.1.1 255.255.255.252
qos cq cql 1 /Apply cq/
#
[Router B]
acl number 3002 match-order auto
...
acl number 3003 match-order auto
...
#
qos cql 1 queue 1 queue-length 100 /Queue 1 in the length of 100 packets/
qos cql 1 queue 1 serving 5000 /Queue 1 consecutively sends 5000 bytes/
qos cql 1 queue 2 queue-length 100 /Queue 2 in the length of 100 packets/
qos cql 1 queue 2 serving 1000 /Queue 2 consecutively sends 1000 bytes/
qos cql 1 protocol ip acl 3002 queue 1
/Packets in compliance with acl3002 join queue 1/
qos cql 1 protocol ip acl 3003 queue 2
/Packets in compliance with acl3003 join queue 2/
#
interface Serial3/0
link-protocol ppp
qmtoken 1
ip address 192.168.1.2 255.255.255.252
qos cq cql 1 /Apply cq/
[Verification]
The traffic defined by the cql will be transferred at the first time.
[Tip]
1. CQ only takes effect on outbound traffic on the interface but is not able to control the inbound traffic.
2. Configure qmtoken 1 (Set the number of QOS sending token) for mid-range routers on the interface. But the low-end routers cannot be configured with it so the effect is much worse.
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作