Managing NAE scripts across switch software updates

After you update the switch software to a new release or install an older software release on the switch, some Aruba Network Analytics Engine (NAE) scripts might not be valid. A script might not be valid because the script uses a URI or API function that is not valid on that software release.

You must replace the existing scripts with scripts that are valid on the software release you installed.

You can delete the existing scripts either before or after the software change. However, if you wait until after the software change, the scripts might generate errors and the NAE data might not be valid until you clear the NAE data and upload the new scripts.

Procedure
  1. Delete all NAE scripts except the built-in NAE script, which cannot be deleted.

    When you delete a script, all associated agents are deleted automatically.

    Built-in scripts and agents have an origin of "system" and are marked System Created in the Web UI. Built-in scripts are updated automatically.

  2. Clear the NAE data by entering the clear nae-data command from the manager context.
    switch# clear nae-data
  3. After the switch software is installed, for each script, locate and upload the version of the script that supports the software release running on the switch.
    • For Aruba-certified NAE scripts, the Aruba Solutions Exchange (ASE) includes tags that indicate the minimum and maximum supported software release.

    • For switches running 10.01 and later software releases, when you select the ASE download button in the Web UI, the Web UI displays only the Aruba-certified NAE scripts that are supported on the software release running on the switch.

    • For switches running the 10.00 software release, when you select the ASE download button in the Web UI, the Web UI displays all Aruba-certified NAE scripts. You must select the version of the script that is supported on the 10.00 software release.

    • For scripts that are not Aruba-certified NAE scripts downloaded from the ASE, see the information provided by the script author about which script version is supported.