cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1085
Views
0
Helpful
5
Replies

DHCP services for accounting

20vek
Level 1
Level 1

Hello,

I wonder if anybody have RADIUS accounting being used for DHCP services.

DHCP server is configured on Cisco switch ( I actually tried two different platforms 3750 and 4500 series running IOS version 15.x)

It seems like none of the DHCP servers are sending RADIUS attribute #31 (calling station id) to the RADIUS server.

It's sending framed ip address but not calling station id ( the mac address of the dhcp client)

Did anybody experienced a similar problem?

5 Replies 5

Austin Sabio
Level 4
Level 4

I would suspect that you are hitting this bug CSCtr03624. I hope this helps. 

CSCtr03624

calling-station-id not send in accounting-start for DHCP accounting

Description Symptom:

Incorrect "calling-station-id" seen during DHCP accounting.

Conditions:

The issue is seen when accounting is triggered by DHCP relay, not seen when accounting is triggered using DHCP server.

Workaround:

Use a DHCP server to start accounting.

Known Affected Releases: (2)
15.1(1)T1
15.1(3)T

Please rate/mark answer as correct if it is helpful to benefit others. Thank you.

Thank you, engineer_aus.

It doesn't look like though...

I was getting the same result for both dhcp server and dhcp relay.

the attribute is completely missing in radius accounting message. 

One switch is running 15.0 and another 15.2 version.

FYI, sometimes cisco bug' documentation doesn't reflect all affected releases. 

I suggest to validate your config is good and verify dhcp accounting with 'debug radius accounting' and 'debug ip dhcp server events'

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4t/dhcp-12-4t-book/config-dhcp-accounting-security.html#GUID-CCE254B6-08CE-4CFF-A15C-E1867ED7E7C2

Oh. Well... it's a true statement but... it's not the case...

after pocking around and a glass of scotch the solution materialized in one simple command:

radius-server attributes 31 send nas-port-detail mac-only

Thanks for sharing your solution. I am glad you got it working.