cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
952
Views
0
Helpful
3
Replies
mrjaliloghli
Beginner

debugging radius accounting packet

We have one BRAS and one Radius server in a site for the ADSL users. By debugging the Radius server, we proved that the updates are being sent from BRAS to Radius server. (according to LOG1).

From point of my customer engineer, the problem is that Bras cannot send some of the users accounting updates to the Radius server randomly.

 

Our request from you now is as below:

 

1.through which commands can we get debugs from an especial user update packets?

  1. if we get the debug from some users and there was not showing any update, what is the problem that BRAS cannot send the updates?

3.what is your solution in order to solve this problem?

debugging :

RP/0/RSP0/CPU0:May 23 14:46:53.840 : radiusd[1128]:  RADIUS:   Cisco AVpair        [1]    26      acct-input-octets-ipv4=0
RP/0/RSP0/CPU0:May 23 14:46:53.840 : radiusd[1128]:  RADIUS:  Vendor,Cisco        [26]    33      
RP/0/RSP0/CPU0:May 23 14:46:53.840 : radiusd[1128]:  RADIUS:   Cisco AVpair        [1]    27      acct-input-packets-ipv4=0
RP/0/RSP0/CPU0:May 23 14:46:53.841 : radiusd[1128]:  RADIUS:  Vendor,Cisco        [26]    33      
RP/0/RSP0/CPU0:May 23 14:46:53.841 : radiusd[1128]:  RADIUS:   Cisco AVpair        [1]    27      acct-output-octets-ipv4=0
RP/0/RSP0/CPU0:May 23 14:46:53.841 : radiusd[1128]:  RADIUS:  Vendor,Cisco        [26]    34      
RP/0/RSP0/CPU0:May 23 14:46:53.841 : radiusd[1128]:  RADIUS:   Cisco AVpair        [1]    28      acct-output-packets-ipv4=0

 

1 ACCEPTED SOLUTION

Accepted Solutions
Manuel Rodriguez
Cisco Employee

Hi,

You can debug accounting packets only for a user by using:

- debug radius accounting

- debug condition username <username>

Regarding other questions, it's hard to say what the reason could be without having further data. I suggest to collect the debugs to at least confirm if the BRAS claims the packets are sent.

Regards

View solution in original post

3 REPLIES 3
Manuel Rodriguez
Cisco Employee

Hi,

You can debug accounting packets only for a user by using:

- debug radius accounting

- debug condition username <username>

Regarding other questions, it's hard to say what the reason could be without having further data. I suggest to collect the debugs to at least confirm if the BRAS claims the packets are sent.

Regards

View solution in original post

Dear Manuel

Thank you for your interest

Do not show any debug commands

RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#debu radius accounting
Tue Jun 14 13:03:39.416 UTC
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#debu condition username 2532707165
Tue Jun 14 13:04:02.178 UTC
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#
RP/0/RSP0/CPU0:BNG_New#

Best regards

Dear Mr.Rodriguez

You may find the required log files in the attachment.

The file "sample-with-problem.txt" belongs to a sample user with the issue we have already discussed about. During his connection time ( for almost an hour ), BNG (RAS) has not announced any bytes as user's used traffic ( download or upload ) as well as Acct-Input-Packets and Acct-Output-Packets, but it has announced the whole used traffic of the user in STOP accounting packets!!

This happens for some users while most of the remaining do not have this problem.

Content for Community-Ad

This widget could not be displayed.