MA5200G由于配置了基于流的流量统计导致域用户的流量统计不生效

发布时间:  2012-07-27 浏览次数:  120 下载次数:  0
问题描述
MA5200G的3356版本在域下配置了flow-statistic up/down后,再让用户重新上下线,但通过display access-user查看用户表项,发现用户的流量统计仍然为零。
告警信息

处理过程
1、查看配置,发现用户所在的认证域下已经配置了flow-statistic up/down,再让用户重新上线后测试,用户流量统计仍然为零。
2、再次检查全局配置,发现全局下配置了基于ACL的流量统计。
acl number 6002                                                                 
 rule 4 permit ip source user-group 1                                           
 rule 5 permit ip source user-group any                                         
 rule 6 permit ip logging                                                       
#                                                                               
traffic classifier cxlog operator or                                            
 if-match acl 6002                                                              
 if-match any                                                                   
traffic classifier tc1 operator or                                              
 if-match acl 6000                                                              
#                                                                               
traffic behavior tb1                                                            
 tariff-level 1                                                                 
 car                                                                            
 traffic-statistic                                                              
 hitcount                                                                       
traffic behavior bxlog                                                          
 userlog
hitcount                                                                       
 traffic-statistic                                                              
#                                                                               
traffic policy _remote-defined-policy                                           
traffic policy pxlog                                                            
 classifier cxlog behavior bxlog                                                
traffic policy daa                                                              
 classifier tc1 behavior tb1                                                    
traffic-policy pxlog inbound                                                    
traffic-policy pxlog outbound
经确认,配置了基于ACL的流量统计后,不会再进行用户的流量统计。
3、可以将该策略删除,或者在配置基于ACL的流量统计时配置成traffic-statistic summary ,再让用户重新上线,则可以统计到用户流量信息中。
 
根因

1、域下配置有误。
2、用户没有重新上线。
3、设备机制问题。

建议与总结

END