虚拟机上做流量统计实验,配置完成,ping正常,但未有统计,请协助看下,模拟器不支持?还是配置有问题?
虚拟机上做流量统计实验,配置完成,ping正常,但未有统计,请协助看下,模拟器不支持?还是配置有问题?
流统配置如下:
#
acl advanced 3000
rule 10 permit icmp source 192.168.1.2 0 destination 172.16.1.2 0
#
traffic classifier pc1-to-pc2 operator and
if-match acl 3000
#
traffic behavior pc1-to-pc2
accounting packet
#
qos policy policy_1
classifier pc1-to-pc2 behavior pc1-to-pc2
#
interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 10
combo enable fiber
qos apply policy policy_1 inbound
#
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 30
combo enable fiber
qos apply policy policy_1 outbound
Pc_1 ping pc_2如下:
<H3C>
<H3C>ping 172.16.1.2
Ping 172.16.1.2 (172.16.1.2): 56 data bytes, press CTRL_C to break
56 bytes from 172.16.1.2: icmp_seq=0 ttl=251 time=5.000 ms
56 bytes from 172.16.1.2: icmp_seq=1 ttl=251 time=2.000 ms
56 bytes from 172.16.1.2: icmp_seq=2 ttl=251 time=1.000 ms
56 bytes from 172.16.1.2: icmp_seq=3 ttl=251 time=2.000 ms
56 bytes from 172.16.1.2: icmp_seq=4 ttl=251 time=3.000 ms
--- Ping statistics for 172.16.1.2 ---
查询流通匹配:
[3]dis qos policy interface g1/0/1
Interface: GigabitEthernet1/0/1
Direction: Inbound
Policy: policy_1
Classifier: pc1-to-pc2
Operator: AND
Rule(s) :
If-match acl 3000
Behavior: pc1-to-pc2
Accounting enable:
0 (Packets)
Interface: GigabitEthernet1/0/2
Direction: Outbound
Policy: policy_1
Classifier: pc1-to-pc2
Operator: AND
Rule(s) :
If-match acl 3000
Behavior: pc1-to-pc2
Accounting enable:
0 (Packets)
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论