最佳答案
可以参考如下案例https://zhiliao.h3c.com/Theme/details/79257
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname SW1
[SW1]vlan 10
[SW1-vlan10]quit
[SW1]int vlan 10
[SW1-Vlan-interface10]ip address 192.168.1.1 24
[SW1-Vlan-interface10]quit
[SW1]int gi 1/0/1
[SW1-GigabitEthernet1/0/1]port link-type access
[SW1-GigabitEthernet1/0/1]port access vlan 10
[SW1-GigabitEthernet1/0/1]quit
QOS流量统计关键配置点:
[SW1]acl basic 2000
[SW1-acl-ipv4-basic-2000]rule 0 permit source any
[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]accounting byte
[SW1-behavior-1]quit
[SW1]qos policy 1
[SW1-qospolicy-1]classifier 1 behavior 1
[SW1-qospolicy-1]quit
[SW1]int gi 1/0/1
[SW1-GigabitEthernet1/0/1]qos apply policy 1 inbound
[SW1-GigabitEthernet1/0/1]qos apply policy 1 outbound
[SW1-GigabitEthernet1/0/1]quit
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论