Debugging a RadSec connection using logs
Use any of the following debug commands to troubleshoot connection issues:
debug security radsec
debug security radius-server
Following is a sample of debug log:
switch(config)# debug destination session switch(config)# debug security radsec switch(config)# debug security radius 0005:00:08:46.73 RAD mRadiusCtrl:ACCESS REQUEST id: 1 to 192.168.1.252 session: 0, access method: CONSOLE, User-Name: user1, NAS-IP-Address: 20.1.1.251. 0005:00:08:46.89 RAD mRadiusCtrl:ACCESS REQUEST id: 1 to 192.168.1.252 session: 0, access method: CONSOLE, NAS-identifier: HP-VSF-Switch. 0005:00:08:47.04 RAD mRadiusCtrl:Tracking packets alarm set 0005:00:08:47.11 RAD tRadsecR:ACCESS ACCEPT id: 1 from 192.168.1.252 received. 0005:00:12:12.89 RSEC tRadsecR:RADSEC: getsockopt() err code : 58, socket down and closed. 0005:00:15:23.82 RSEC mRadiusCtrl:RADSEC: successfully established connection with server 192.168.1.252.