设置列表
SR6616 版本为V7.1.0.54 如何做流量统计配置
SR6616 版本为V7.1.0.54 如何做流量统计配置
(0)
最佳答案
您好,请知:
以下是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 packet
[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
以下是SR6600系列的用户手册链接:
(1)
暂无评论
普通IP报文流统,OSPF Hello报文流统
#
acl advanced 3000
rule 0 permit ip source 10.0.0.2 0 destination 224.0.0.5 0
rule 5 permit ip source 10.0.0.1 0 destination 224.0.0.5 0
#
acl advanced 3001
rule 0 permit ip source 1.1.1.1 0 destination 2.2.2.2 0
rule 5 permit ip source 2.2.2.2 0 destination 1.1.1.1 0
#
traffic classifier 1 operator and
if-match acl 3000
#
traffic classifier 2 operator and
if-match acl 3001
#
traffic behavior 1
filter permit
#
traffic behavior 2
filter permit
#
qos policy 1
classifier 1 behavior 1
classifier 2 behavior 2
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
interface GigabitEthernet0/0
ip address 10.0.0.2 255.255.255.0
qos apply policy 1 inbound
qos apply policy 1 outbound
#
[RTA]dis qos policy int g0/0
Interface: GigabitEthernet0/0
Direction: Inbound
Policy: 1
Classifier: default-class
Matched : 0 (Packets) 0 (Bytes)
5-minute statistics:
Forwarded: 0/0 (pps/bps)
Dropped : 0/0 (pps/bps)
Operator: AND
Rule(s) :
If-match any
Behavior: be
-none-
Classifier: 1
Matched : 28 (Packets) 2296 (Bytes)
5-minute statistics:
Forwarded: 0/52 (pps/bps)
Dropped : 0/0 (pps/bps)
Operator: AND
Rule(s) :
If-match acl 3000
Behavior: 1
Filter enable: Permit
Classifier: 2
Matched : 5 (Packets) 490 (Bytes)
5-minute statistics:
Forwarded: 0/13 (pps/bps)
Dropped : 0/0 (pps/bps)
Operator: AND
Rule(s) :
If-match acl 3001
Behavior: 2
Filter enable: Permit
Interface: GigabitEthernet0/0
Direction: Outbound
Policy: 1
Classifier: default-class
Matched : 0 (Packets) 0 (Bytes)
5-minute statistics:
Forwarded: 0/0 (pps/bps)
Dropped : 0/0 (pps/bps)
Operator: AND
Rule(s) :
If-match any
Behavior: be
-none-
Classifier: 1
Matched : 27 (Packets) 2214 (Bytes)
5-minute statistics:
Forwarded: 0/50 (pps/bps)
Dropped : 0/0 (pps/bps)
Operator: AND
Rule(s) :
If-match acl 3000
Behavior: 1
Filter enable: Permit
Classifier: 2
Matched : 5 (Packets) 490 (Bytes)
5-minute statistics:
Forwarded: 0/13 (pps/bps)
Dropped : 0/0 (pps/bps)
Operator: AND
Rule(s) :
If-match acl 3001
Behavior: 2
Filter enable: Permit
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论