FAQ:ME60 如何对用户侧进行流量统计

发布时间:  2015-12-31 浏览次数:  296 下载次数:  0
问题描述
用户侧流量统计方法如下:
解决方案

上线域下引用user-group test
用户侧ip:1.1.1.1 网络测ip :2.2.2.2

配置步骤:
ACL 6666
rule 5 permit icmp source user-group test destination ip-address 2.2.2.2 0
rule 10 permit icmp source ip-address 2.2.2.2 0 destination user-group test

traffic classifier 6666 operator or
if-match acl 6666
traffic behavior 6666

traffic policy 6666
share-mode
statistics enable
classifier 6666 behavior 6666

全局下发
traffic-policy 6666 inbound
traffic-policy 6666 outbound

查看命令:
[LZ-XG-FLL-BAS-1.MAN.ME60-16]display traffic policy statistics ucl inbound verbose classifier-based class 6666
[LZ-XG-FLL-BAS-1.MAN.ME60-16]display traffic policy statistics ucl outbound verbose classifier-based class 6666

清计数命令:
[LZ-XG-FLL-BAS-1.MAN.ME60-16-hidecmd]reset traffic policy statistics ucl inbound
[LZ-XG-FLL-BAS-1.MAN.ME60-16-hidecmd]reset traffic policy statistics ucl outbound

注:配置完成后,用户要重新上下线,不然统计不生效。

END