Debugging
(FNC-CA) FortiNAC Commands
Use the following KB article to gather the appropriate logs using the debugs below.
Gather logs for debugging and troubleshooting
Note: Debugs disable automatically upon restart of FortiNAC control and management processes.
Function |
Syntax |
Log File |
---|---|---|
FortiNAC Server (Proxy RADIUS) |
|
/bsc/logs/output.master |
FortiNAC Server (Local RADIUS)* |
|
/bsc/logs/output.master |
RADIUS Service (Local RADIUS) |
Stop logging: Ctrl-C
|
/var/log/radius/radius.log |
L2 related activity |
|
/bsc/logs/output.master |
Vendor specific debugging |
|
/bsc/logs/output.master |
Disable debug |
|
N/A |
*Logging for a given MAC Address:nacdebug -logger 'yams.RadiusAccess.RadiusAccessEngine.00:11:22:33:44:55' -level FINEST
Disable:
nacdebug -logger 'yams.RadiusAccess.RadiusAccessEngine.00:11:22:33:44:55'
Other Tools
Send a RADIUS Disconnect:
SendCoA -ip <devip> -mac <clientmac> -dis
Example:
SendCoA -ip 10.1.0.25 -mac 00:1B:77:11:CE:2F -dis
(FNC-CAX) Commands
Use the following KB article to gather the appropriate logs using the debugs below.
Gather logs for debugging and troubleshooting
Note: Debugs disable automatically upon restart of FortiNAC control and management processes.
Function |
Syntax |
Log File |
|
---|---|---|---|
FortiNAC Server (Proxy RADIUS) |
|
/bsc/logs/output.master |
|
FortiNAC Server (Local RADIUS)* |
|
/bsc/logs/output.master |
|
L2 related activity |
|
/bsc/logs/output.master |
|
Vendor specific debug |
|
/bsc/logs/output.master |
|
Disable debug |
|
N/A |
Note: If not using VLANs, will always return policy value “NativePolicy” in RADIUS response. Otherwise, a VLAN value is returned.
*Enables logging for a given MAC Address:diagnose debug logger set finest 'yams.RadiusAccess.RadiusAccessEngine.00:11:22:33:44:55'
To disable:diagnose debug logger unset 'yams.RadiusAccess.RadiusAccessEngine.00:11:22:33:44:55'
Other Tools
Send a RADIUS Disconnect:
execute enter-shell
SendCoA -ip <devip> -mac <clientmac> -dis
Example:
SendCoA -ip 10.1.0.25 -mac 00:1B:77:11:CE:2F -dis