设备配置了CBQ并在serial口下引用,引用未报错,用display this查看,没有CBQ的命令,display qos policy inter s1/0也未有打印
#
acl number 2700
rule 0 permit source 175.27.0.0 0.0.255.255
rule 5 permit source 176.27.0.0 0.0.255.255
rule 10 permit source 177.27.0.0 0.0.255.255
rule 15 permit source 178.27.0.0 0.0.255.255
rule 20 permit source 179.27.0.0 0.0.255.255
rule 25 permit source 180.27.0.0 0.0.255.255
rule 30 permit source 182.27.0.0 0.0.255.255
#
acl number 3000 name QOS_ACL_Video
rule 0 permit ip destination 175.1.10.1 0
rule 5 permit ip destination 175.1.10.2 0
rule 10 permit ip destination 175.1.10.3 0
acl number 3100 name QOS_ACL_YeWu
rule 0 permit ip destination 178.1.1.8 0.0.0.7
rule 5 permit ip destination 178.1.1.15 0
rule 10 permit ip destination 178.1.1.16 0.0.0.1
rule 15 permit ip destination 178.0.0.96 0.0.0.3
rule 20 permit ip destination 178.0.0.91 0
rule 25 permit ip destination 178.0.0.33 0
rule 30 permit ip destination 178.1.1.6 0.0.0.1
rule 35 permit ip destination 178.0.0.47 0
rule 40 permit ip destination 178.0.0.48 0
rule 45 permit ip destination 178.4.59.1 0
rule 50 permit ip destination 178.1.1.71 0
rule 55 permit ip destination 178.1.1.72 0.0.0.7
acl number 3200 name QOS_ACL_OAlimit
rule 0 permit ip destination 175.1.0.10 0
rule 5 permit ip destination 175.1.0.11 0
rule 10 permit ip destination 175.1.0.12 0
rule 15 permit ip destination 178.0.0.28 0
rule 20 permit ip destination 177.0.0.73 0
rule 25 permit ip destination 177.0.0.111 0
rule 30 permit ip destination 177.0.0.214 0
rule 35 permit ip destination 177.0.0.217 0
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
traffic classifier QOS_Class_Video operator and
if-match acl 3000
traffic classifier QOS_Class_YeWu operator and
if-match acl 3100
traffic classifier QOS_Class_OAlimit operator and
if-match acl 3200
#
traffic behavior QOS_Class_Video
queue ef bandwidth 768 cbs 19200
traffic behavior QOS_Class_YeWu
queue af bandwidth 800
wred
traffic behavior QOS_Class_OAlimit
car cir 600 cbs 37500 ebs 0 green pass red discard
#
qos policy QOS_Policy_To_ZH
classifier QOS_Class_Video behavior QOS_Class_Video
classifier QOS_Class_YeWu behavior QOS_Class_YeWu
classifier QOS_Class_OAlimit behavior QOS_Class_OAlimit
[YDCZ-LT-H2020-01-Serial1/0]qos apply policy QOS_Policy_To_ZH outbound
[YDCZ-LT-H2020-01-Serial1/0]dis this
#
interface Serial1/0
description **** shangdi-LT-XL ****
link-protocol ppp
ip address 180.0.1.46 255.255.255.252
rip version 2 multicast
rip summary-address 175.27.0.0 255.255.0.0
rip summary-address 176.27.0.0 255.255.0.0
rip summary-address 177.27.0.0 255.255.0.0
rip summary-address 178.27.0.0 255.255.0.0
rip summary-address 179.27.0.0 255.255.0.0
rip summary-address 180.27.0.0 255.255.0.0
rip summary-address 182.27.0.0 255.255.0.0
#
return
[YDCZ-LT-H2020-01-Serial1/0]dis qos policy interface s1/0
%Jan 20 18:36:11:969 2016 YDCZ-LT-H2020-01 SHELL/4/CMD:task:vt0 ip:180.0.2.45 user:cmbc command:qos apply policy QOS_Policy_To_ZH outbound
%Jan 20 18:36:11:970 2016 YDCZ-LT-H2020-01 QOS/3/NOT ENOUGH BANDWIDTH:
Policy QOS_Policy_To_ZH requested bandwidth 1536(Kbps). Available only 51(Kbps) on Serial1/0.
因为串口没有足够的带宽,所以配置失败。
%Jan 20 18:36:11:969 2016 YDCZ-LT-H2020-01 SHELL/4/CMD:task:vt0 ip:180.0.2.45 user:cmbc command:qos apply policy QOS_Policy_To_ZH outbound
%Jan 20 18:36:11:970 2016 YDCZ-LT-H2020-01 QOS/3/NOT ENOUGH BANDWIDTH:
Policy QOS_Policy_To_ZH requested bandwidth 1536(Kbps). Available only 51(Kbps) on Serial1/0.
配置失败没有打印提示信息是因为telnet用户登录后默认没有开启对系统信息的监视功能。执行命令terminal monitor开启监视。
Serial1/0 current state: UP
Line protocol current state: UP
Description: **** shangdi-LT-XL ****
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 180.0.1.46/30 Primary
Link layer protocol is PPP
LCP opened, IPCP opened
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/148980
Physical layer is synchronous, Virtual baudrate is 64000 bps
Interface is DTE, Cable type is V35, Clock mode is DTECLK1
Last clearing of counters: Never
Last 300 seconds input rate 261.75 bytes/sec, 2094 bits/sec, 3.34 packets/sec
Last 300 seconds output rate 350.60 bytes/sec, 2804 bits/sec, 4.40 packets/sec
Input: 1006931972 packets, 2543790965 bytes
0 broadcasts, 0 multicasts
120903 errors, 0 runts, 0 giants
38726 CRC, 48068 align errors, 0 overruns
0 dribbles, 33888 aborts, 192 no buffers
29 frame errors
Output:3422125004 packets, 771537259 bytes
0 errors, 0 underruns, 0 collisions
0 deferred
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
dte的波特率是由dce决定的,默认显示64k。由于QOS可用带宽为波特率的80%,所以需要修改DTE的波特率为DCE的波特率值。使得QOS的可用带宽大于配置CBQ所需要的带宽
知道对端的波特率,可以配置virtualboardrate,设置与对端相同的波特率,并shutdown和undo shutdown
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作