求助,MSR36-20路由器,V7命令,想全局限速vlan2-vlan8的上传和下载速度,请问命令怎么敲,多谢。
(0)
最佳答案
您好,请知:
可以使用QOS CAR来对IP进行限速。以下是配置参考命令:
(1) 进入系统视图。
system-view
(2) 创建CAR列表并配置匹配规则。
qos carl carl-index { dscp dscp-list | mac mac-address | mpls-exp mpls-exp-value | precedence precedence-value | { destination-ip-address | source-ip-address } { range start-ip-address to end-ip-address | subnet ip-address mask-length } [ per-address [ shared-bandwidth ] ] }
(3) 进入接口视图。
interface interface-type interface-number
(4) 在接口上配置基于CAR列表的CAR策略。
(绝对值配置方式)
qos car { inbound | outbound } carl carl-index cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ green action | red action | yellow action ] *
qos car { inbound | outbound } carl carl-index cir committed-information-rate [ cbs committed-burst-size ] pir peak-information-rate [ ebs excess-burst-size ] [ green action | red action | yellow action ] *
(百分比配置方式)
qos car { inbound | outbound } carl carl-index percent cir cir-percent [ cbs cbs-time [ ebs ebs-time ] ] [ green action | red action | yellow action ] *
qos car { inbound | outbound } carl carl-index percent cir cir-percent [ cbs cbs-time ] pir pir-percent [ ebs ebs-time ] [ green action | red action | yellow action ] *
缺省情况下,接口上未应用CAR策略。
以下是QOS的用户手册连接:
https://www.h3c.com/cn/d_202005/1298595_30005_0.htm#_Toc18338647
其次也可以配置基于VLAN的QOS,参考命令如下:
[SW1]acl basic 2000
[SW1-acl-ipv4-basic-2000]rule 0 permit source 172.16.10.0 0.0.0.255
[SW1-acl-ipv4-basic-2000]quit
[SW1]traffic classifier 1
[SW1-classifier-1]if-match acl 2000
[SW1-classifier-1]quit
[SW1]traffic behavior 1
[SW1-behavior-1]remark local-precedence 7
[SW1-behavior-1]quit
[SW1]qos policy 1
[SW1-qospolicy-1]classifier 1 behavior 1
[SW1-qospolicy-1]quit
[SW1]qos vlan-policy 1 vlan 10 inbound
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论