04-11-2017 11:20 AM - edited 03-08-2019 10:10 AM
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?
04-11-2017 12:50 PM
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.
04-11-2017 01:14 PM
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.
04-11-2017 01:21 PM
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
04-11-2017 05:27 PM
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
04-11-2017 07:27 PM
Thanks for sharing your solution. I am glad you got it working.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide