最佳答案
假设办公网段为192.168.10.0/24,需要保障的带宽是 10M:
[H3C]acl basic 2000
[H3C-acl-ipv4-basic-2000]rule 0 permit source 192.168.10.0 0.0.0.255
[H3C-acl-ipv4-basic-2000]quit
[H3C]traffic classifier 1
[H3C-classifier-1]if-match acl 2000
[H3C-classifier-1]quit
[H3C]traffic behavior 1
[H3C-behavior-1]car cir 10240 green pass yellow pass red discard
[H3C-behavior-1]quit
[H3C]qos policy 1
[H3C-qospolicy-1]classifier 1 behavior 1
[H3C-qospolicy-1]quit
[H3C]int gi 1/0/1
[H3C-GigabitEthernet1/0/1]qos apply policy 1 inbound
[H3C-GigabitEthernet1/0/1]qos apply policy 1 outbound
[H3C-GigabitEthernet1/0/1]quit
参考:https://zhiliao.h3c.com/questions/dispcont/90426
(0)
定义AF队列
AF队列的最低带宽默认为最大可用带宽的80%
配置案例如下:
案例中最低保证带宽为1000*80%*30%=2.4M
traffic classifier 1 operator and
if-match any
#
traffic behavior 1
queue af bandwidth pct 30
#
qos policy 1
classifier 1 behavior 1
#
interface GigabitEthernet0/1
port link-mode route
bandwidth 1000
qos apply policy 1 outbound
(0)
大佬,这个1000,单位是m吗?
大佬,这个1000,单位是m吗?
可以先匹配流标记优先值,通过af队列限制保底带宽
[R2]traffic classifier y7
[R2-classifier-y7]if-match ip-precedence 7
[R2]traffic behavior y7
[R2-behavior-y7]queue af bandwidth 20000
[R2]qos policy yewu
[R2-qospolicy-yewu]classifier y7 behavior y7
[R2-GigabitEthernet0/1]qos apply policy yewu outbound
这里有个类似的案例***.***/15270041497293.html
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
(#^.^#) 好呢,那应该就是这个教程的需求了: https://zhiliao.h3c.com/Theme/details/105846