[j-nsp] How is Accounting-On and Accounting-Off generated inERX1440 or E320?

Joe Shen sj_hznm at yahoo.com.cn
Mon Jul 23 10:57:24 EDT 2007


 
  Would E320/ERX1440 sent Acct_Off when it manually
rebooted ? 

or Will it really happen when a E320 reboot ? How
could it know those sessions before rebooting ?


Joe


--- Nitin Vig <nitinvig at juniper.net>:

> Hi Joe,
> 
> The short answer is we send Acct-On when we
> configure the RADIUS accounting server on the ERX
> and a Acct-Off when we remove the accounting server
> or I believe also when the ERX goes down.
> 
>  
> 
> BNG-JTAC-1410-3(config)#no radius accounting server
> 10.209.74.40
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:
> ACCOUNTING-REQUEST attributes (default)
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> acct-status-type attr added: 8
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> nas-ip-address attr added: 10.209.74.23
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> nas-identifier attr added: BNG-JTAC-1410-3
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> acct-authentic attr added: 1
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> acct-session-id attr added: load:2147483649
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> acct-terminate-cause attr added: 10
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> event-timestamp attr added: 1185190161
> 
> DEBUG 07/23/2007 11:29:21 radiusSendAttributes:     
> acct-delay-time attr added: 0
> 
> DEBUG 07/23/2007 11:29:21 radiusClient: sendPacket:
> RADIUS Acct packet sent (default)
> 
> Please wait... 
> 
> BNG-JTAC-1410-3(config)#
> 
> BNG-JTAC-1410-3(config)#radius accounting server
> 10.209.74.40
> 
>  
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:
> ACCOUNTING-REQUEST attributes (default)
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> acct-status-type attr added: 7
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> nas-ip-address attr added: 10.209.74.23
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> nas-identifier attr added: BNG-JTAC-1410-3
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> acct-authentic attr added: 1
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> acct-session-id attr added: load:2147483649
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> event-timestamp attr added: 1185190166
> 
> DEBUG 07/23/2007 11:29:26 radiusSendAttributes:     
> acct-delay-time attr added: 0
> 
> DEBUG 07/23/2007 11:29:26 radiusClient: sendPacket:
> RADIUS Acct packet sent (default)
> 
> BNG-JTAC-1410-3(config-radius)#DEBUG 07/23/2007
> 11:29:28 radiusClient: sendPacket: RADIUS Acct
> packet sent (default)
> 
>  
> 
> Regards,
> 
> Nitin
> 
>  
> 
> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net
> [mailto:juniper-nsp-bounces at puck.nether.net] On
> Behalf Of Joe Shen
> Sent: Monday, July 23, 2007 2:04 PM
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] How is Accounting-On and
> Accounting-Off generated inERX1440 or E320?
> 
>  
> 
> Hi,
> 
>  
> 
>    I'm trying to understand how BAS send radius
> 
> packets. 
> 
>  
> 
>    In Radius RFCs there states attributes 
> 
>   
> 
>    Acct-Status-Type = Accounting-Off
> 
>   Acct-Status-Type = Accounting-On
> 
>  
> 
>   But, it seems rfc does not define how 
> 
>   such packets are generated.
> 
>  
> 
>   But, there do exist such packets in our network,
> 
> which installs ERX1440/E320.
> 
>  
> 
>   Is there anybody could do me a favor to explain it
> ?
> 
>  
> 
> Joe
> 
>  
> 
>  
> 
>      
>
___________________________________________________________
> 
> 
> 抢注雅虎免费邮箱3.5G容量,20M附件! 
> 
> http://cn.mail.yahoo.com
> 
> _______________________________________________
> 
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> 
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 
> 



      ___________________________________________________________ 
抢注雅虎免费邮箱3.5G容量,20M附件! 
http://cn.mail.yahoo.com


More information about the juniper-nsp mailing list