一、华为
|
acl number 3001
description .*
traffic classifier traffic_account .*
traffic behavior traffic_account
statistics enable
traffic policy traffic_account
classifier traffic_account behavior traffic_account precedence 5
interface .*
traffic policy traffic_account inbound
二、华三
|
acl number 3001
description .*
traffic classifier traffic_account .*
traffic behavior traffic_account
accounting packet
qos policy traffic_account
classifier traffic_account behavior traffic_account
interface .*
qos apply policy traffic_account inbound
三、思科
|
ip access-list traffic_account
statistics per-entry
100 permit ip any any
interface .*
ip access-group traffic_account in
四、瞻博
|
#
set firewall family inet filter traffic_account term Statistic then count traffic_account accept
set firewall family inet filter traffic_account term Permit then accept
#
#
set interfaces .* unit 0 family inet filter input traffic_account
#
五、自研
|
#
set firewall filter statistics term traffic_account then action forward
#
来源:oschina
链接:https://my.oschina.net/u/4342092/blog/4280462