• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

MSR2020cbq配置后,命令无法显示问题经验案例

2016-04-19 发表
  • 0关注
  • 0收藏 1411浏览
黄帅 四段
粉丝:0人 关注:0人

设备配置了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,设置与对端相同的波特率,并shutdownundo shutdown



该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

作者在2019-06-12对此案例进行了修订
0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作