Show answerHide answer
Correct answer: D Create an agent from the script.
Explanation
Summary:The Network Analytics Engine (NAE) on AOS-CX switches uses scripts to monitor events and trigger actions. Simply installing a script onto the switch's filesystem does not activate it. To execute the monitoring logic, you must instantiate the script by creating an "agent." This agent is a running process that loads the script, defines its operational parameters (like which interfaces to monitor), and begins the specified data collection and event analysis.
Correct Option:
D. Create an agent from the script.
This is the mandatory step to start monitoring. An NAE script is a template containing the monitoring logic. Creating an agent instantiates this template into a running process on the switch. The agent creation command (e.g., nae agent create) specifies the script to run and any required arguments, which launches the monitoring function. Without an active agent, the script remains inert and performs no monitoring.
Incorrect Option:
A. Reboot the switch.
This is incorrect and unnecessary. A reboot is not required to start an NAE script. Agents can be created, started, stopped, and deleted dynamically without impacting the core switching functions or requiring a system restart. A reboot would actually terminate any running agents.
B. Enable NAE, which is disabled by default.
This is incorrect. The NAE framework is an integral part of AOS-CX and is enabled by default. There is no global configuration command to enable or disable the NAE subsystem itself. The operational control is at the agent level (creating, starting, stopping agents), not the engine level.
C. Edit the script to define monitor parameters.
This is incorrect. While a script must be written to accept parameters, the act of defining or supplying those specific parameters (e.g., an interface name, a threshold value) happens during the agent creation step, not by editing the source script file itself. The command to create the agent includes the arguments that are passed to the script.
Reference:
HPE Aruba Networking CX Network Analytics Engine Guide
The official documentation outlines the workflow of creating an agent from a script to begin monitoring and analytics.
Link: HPE Aruba Networking NAE for AOS-CX Guide (See sections on "Managing NAE Agents")