Created on
09-28-2018
03:34 AM
Edited on
02-10-2025
02:17 AM
By
Jean-Philippe_P
Description
This article describes steps to troubleshoot L2 or L3 Poll Failure events.
Scope
FortiNAC, FortiNAC-F.
Solution
- Is the device showing with a Red icon in the FortiNAC Topology view? If so, Contact Status Polling is failing (FortiNAC cannot ping the device).
- This is most likely a network-related issue.
- Make sure the device is up and running and 'Ping' is enabled on its management interface.
- If Contact Status Polling is successful, select the Credentials tab in Model Configuration and then the 'Validate Credentials' button.
CLI credentials are failing:
- Manually establish an SSH session towards the Switch from FortiNAC CLI and confirm the correct username/password.
- Make sure the account has appropriate permissions.
- Enable debugging and investigate CLI output related to SSH failures:
FortiNAC (CentOS):
logs
nacdebug -logger org.apache.sshd -level FINEST
nacdebug -name TelnetServer true
tf output.master
FortiNAC-F (NACOS):
diagnose debug plugin enable TelnetServer
FortiNAC (CentOS):
logs
nacdebug -logger org.apache.sshd
nacdebug -name TelnetServer false
diagnose debug plugin disable TelnetServer
- Make sure the Switches do not have banners that include '#' or '>' characters as FortiNAC might interpret them as delimiters. Test by disabling the banner completely.
- Enable debugging and investigate CLI output related to L2/L3 poll failures.
FortiNAC (CentOS):
logs
Device -ip X.X.X.X -setAttr -name DEBUG -value "ForwardingInterface TelnetServer" <----- Replace X.X.X.X with the Switch IP.
nacdebug -name BridgeManager true
tf output.master
FortiNAC (NACOS) v7.4 and greater:
diagnose network device set attribute DEBUG "ForwardingInterface TelnetServer" ip X.X.X.X <----- Replace X.X.X.X with the Switch IP.
Disable debugging.
FortiNAC (CentOS):
logs
Device -ip X.X.X.X -delAttr -name DEBUG <----- Replace X.X.X.X with the Switch IP.
nacdebug -name BridgeManager false
When providing logs to Technical support include the following:
- FortiNAC system logs: Technical Tip: How to get a debug log report from FortiNAC-CA or FortiNAC-ManagerTechnical Tip: How to get a debug log report from FortiNAC-CA or FortiNAC-Manager.
- Event logs covering the time when the issue was replicated: Troubleshooting Tip: Using Events and Audit logs to identify configuration changes or new issues.
- Screen capture of the device's Element tab in Network -> Inventory.
- CLI output from FortiNAC CLI.
Related Articles:
Technical Tip: Troubleshooting CLI credential failure
Troubleshooting Tip: Troubleshoot FortiGate REST API access in a FortiNAC integration
Technical Tip: Troubleshooting SNMP communication issues
Technical Tip: Troubleshooting FortiGate API access
Technical Tip: Port in Topology View displays a green link light
Technical Tip: L2 Poll Failures when devices have lost contact