FAQ-MA5200设备出现radius计费失败问题应该如何处理

发布时间:  2012-07-26 浏览次数:  63 下载次数:  0
问题描述

Q:

MA5200设备出现radius计费失败问题应该如何处理 ?

告警信息
处理过程

A:

RADIUS计费报文是在用户认证之后发出的,如果打开RADIUS调试开关可以看到正常的认证过程,但是看不到MA5200发出计费请求的报文,一般是由于没有配置成为RADIUS计费造成的,只需要把用户认证域下的计费策略配置为包括RADIUS计费即可。
RADIUS计费失败是指用户认证通过后,MA5200向RADIUS服务器发出了计费请求报文,但是RADIUS没有响应,如:
* [0.26303030-] RDS-8-02033000:                                                 
  Radius Recieved a Packet                                                     
  Server Group: 2                                                              
  Server IP   : 10.164.45.213                                                   
  Server Port : 1645                                                           
  Protocol: Standard                                                           
  Code    : 2                                                                  
  Len     : 20                                                                 
  ID      : 4                                                                  
 
\\MA5200收到认证通过报文后发出计费请求报文,code=4。
* [0.26303110-] RDS-8-02033000:                                                 
  Radius Sent a Packet                                                         
  Server Group: 2                                                              
  Server IP   : 10.164.45.213                                                  
  Protocol: Standard                                                           
  Code    : 4                                                                  
  Len     : 263                                                                
  ID      : 0                                                                   
  [User-name(1)                       ] [12] [user@huawei]                      
  [NAS-Port(5)                        ] [6 ] [4096]                            
  [Framed-IP-Address(8)               ] [6 ] [192.168.1.254]                   
  [Filter-ID(11)                      ] [5 ] [0@0]                             
  [NAS-Identifier(32)                 ] [9 ] [MA5200F]                         
  [Acct-Status-Type(40)               ] [6 ] [1]                               
  [Acct-Delay-Time(41)                ] [6 ] [0]                               
  [Acct-Session-Id(44)] [34] [MA5200F0408051640516a1c0d9200004]
  [Acct-Authentic(45)                 ] [6 ] [1]                                
  [Event-Timestamp(55)                ] [6 ] [1091724051]                      
  [NAS-Port-Type(61)                  ] [6 ] [15]                              
  [Calling-Station-Id(31)             ] [19] [00:06:5b:6c:aa:f9]               
  [NAS-Port-Id(87)] [34] [slot=0;subslot=0;port=1;vlanid=0]
  [Ip-Host-Addr(26-60)] [33] [192.168.1.254 00:06:5b:6c:aa:f9] 
  [Input_Peak_Rate(26-1)              ] [6 ] [52428800]                        
  [Input_Average_Rate(26-2)           ] [6 ] [10485760]                        
  [Output_Peak_Rate(26-4)             ] [6 ] [52428800]                        
  [Output_Average_Rate(26-5)          ] [6 ] [10485760]                        
  [Priority(26-22)                    ] [6 ] [0]                                
  [Connect_ID(26-26)                  ] [6 ] [4]                               
  [Domain-name(26-138)                ] [7 ] [huawei]                           
  [NAS-IP-Address(4)                  ] [6 ] [10.164.45.42]                     
 
\\计费请求报文没有得到响应,重发。
* [0.26308100-] RDS-8-02033000:                                                
  Radius Sent a Packet                                                         
  Server Group: 2                                                               
  Server IP   : 10.164.45.213                                                  
  Protocol: Standard                                                           
  Code    : 4                                                                  
  Len     : 263                                                                
  ID      : 1                                                                  
  [User-name(1)                       ] [12] [user@huawei]                      
  [NAS-Port(5)                        ] [6 ] [4096]                            
  [Framed-IP-Address(8)               ] [6 ] [192.168.1.254]                   
  [Filter-ID(11)                      ] [5 ] [0@0]                             
  [NAS-Identifier(32)                 ] [9 ] [MA5200F]                         
  [Acct-Status-Type(40)               ] [6 ] [1]                               
  [Acct-Delay-Time(41)                ] [6 ] [5]                               
  [Acct-Session-Id(44)] [34] [MA5200F0408051640516a1c0d9200004]
  [Acct-Authentic(45)                 ] [6 ] [1]                               
  [Event-Timestamp(55)                ] [6 ] [1091724051]                      
  [NAS-Port-Type(61)                  ] [6 ] [15]                               
  [Calling-Station-Id(31)             ] [19] [00:06:5b:6c:aa:f9]               
  [NAS-Port-Id(87)] [34] [slot=0;subslot=0;port=1;vlanid=0]
  [Ip-Host-Addr(26-60)] [33] [192.168.1.254 00:06:5b:6c:aa:f9] 
* [0.26308100-] RDS-8-02033000:                                                 
  [Input_Peak_Rate(26-1)              ] [6 ] [52428800]                        
  [Input_Average_Rate(26-2)           ] [6 ] [10485760]                        
  [Output_Peak_Rate(26-4)             ] [6 ] [52428800]                        
  [Output_Average_Rate(26-5)          ] [6 ] [10485760]                        
  [Priority(26-22)                    ] [6 ] [0]                               
  [Connect_ID(26-26)                  ] [6 ] [4]                                
  [Domain-name(26-138)                ] [7 ] [huawei]                           
  [NAS-IP-Address(4)                  ] [6 ] [10.164.45.42]                    
* [0.26313100-] RDS-8-02033000:                                                 
  Radius Sent a Packet                                                         
  Server Group: 2                                                              
  Server IP   : 10.164.45.213                                                  
  Protocol: Standard                                                           
  Code    : 4                                                                  
  Len     : 263                                                                
  ID      : 2                                                                   
  [User-name(1)                       ] [12] [user@huawei]                      
  [NAS-Port(5)                        ] [6 ] [4096]                            
  [Framed-IP-Address(8)               ] [6 ] [192.168.1.254]                   
  [Filter-ID(11)                      ] [5 ] [0@0]                             
  [NAS-Identifier(32)                 ] [9 ] [MA5200F]                         
  [Acct-Status-Type(40)               ] [6 ] [1]                               
  [Acct-Delay-Time(41)                ] [6 ] [10]                              
  [Acct-Session-Id(44)] [34] [MA5200F0408051640516a1c0d9200004]
  [Acct-Authentic(45)                 ] [6 ] [1]                                
  [Event-Timestamp(55)                ] [6 ] [1091724051]                      
  [NAS-Port-Type(61)                  ] [6 ] [15]                              
  [Calling-Station-Id(31)             ] [19] [00:06:5b:6c:aa:f9]               
  [NAS-Port-Id(87)] [34] [slot=0;subslot=0;port=1;vlanid=0]
  [Ip-Host-Addr(26-60)] [33] [192.168.1.254 00:06:5b:6c:aa:f9] 
  [Input_Peak_Rate(26-1)              ] [6 ] [52428800]                        
  [Input_Average_Rate(26-2)           ] [6 ] [10485760]                        
  [Output_Peak_Rate(26-4)             ] [6 ] [52428800]                        
  [Output_Average_Rate(26-5)          ] [6 ] [10485760]                        
  [Priority(26-22)                    ] [6 ] [0]                                
  [Connect_ID(26-26)                  ] [6 ] [4]                               
  [Domain-name(26-138)                ] [7 ] [huawei]                           
  [NAS-IP-Address(4)                  ] [6 ] [10.164.45.42]                     
 
\\默认情况下在三次计费报文都得不到响应时,MA5200把RADIUS服务器置DOWN并打印告警:某用户开始计费失败
# [08/05/2004 16:41:06-] RDS-5-02032001:RADIUS accounting server(IP 10.164.45.213) is down!                                                                    
% [08/05/2004 16:41:06-] AAA-5-02041000:  user@huawei                           
  NormalAcct-StartFail                                                         
% [08/05/2004 16:41:06-] AAA-5-02041000:  MA5200F0408051640516a1c0d9200004     
  NormalAcct-StartFail
计费失败除开始计费失败外,还可能的中间计费失败,其打印信息为:
# [08/05/2004 16:41:06-] RDS-5-02032001:RADIUS accounting server(IP 10.164.45.213) is down!                                                                    
% [08/05/2004 16:41:06-] AAA-5-02041000:  user@huawei                           
  NormalAcct-RealFail                                                         
% [08/05/2004 16:41:06-] AAA-5-02041000:  MA5200F0408051640516a1c0d9200004     
  NormalAcct-RealFail

对于RADIUS计费失败(即计费报文无响应)的问题,故障原因一般同认证无响应相同的方法处理 

根因

END