Troubleshooting AOS-CX Switch Onboarding Issues

Though an AOS-CX switch is displayed as online, there might be instances where the complete switch details are not displayed. To troubleshoot such issues, you can see the audit trail page to check the status of the switch.

To see the audit trail for a switch, complete the following steps:

  1. In the WebUI, set the filter to one of the options under Groups, Labels, or Sites. Ensure that the filter selection contains at least one switch. For all devices, set the filter to Global.

    The dashboard context for the selected filter is displayed.

  2. Under Manage, click Devices > Switches.

    A list of switches is displayed.

  3. In the Switches table, click the switch you wish to troubleshoot.

    The dashboard context for the switch is displayed.

  4. Under Analyze, click Audit Trail.

    The Audit Trail page is displayed.

    If a switch is onboarded successfully, the audit trail log displays the following messages:

    1. Device : <Device Serial Number> Onboarded
    2. Applying template <Template Configuration Name> to device
    3. Login Successful reading running configuration
    4. Config push successful

    If applying template configuration to the AOS-CX switch fails, the Template/Variable Configuration Error error message is displayed:

    If any of the messages listed in step 4b, 4c, 4d, or Template/Variable Configuration Error is not displayed in the audit trail logs, one of the following might be the reason:

    • User has not created a template group with template configuration for the AOS-CX switch.
    • User has created a template group with template configuration but has not moved the AOS-CX switch to the template group.

The following image displays the audit trail log of a switch that is successfully onboarded.

Figure 1  Example Audit Trail Log for Successfully Onboarded AOS-CX Switch