Legal Disclaimer: The resource assets in this website may include abbreviated and/or legacy terminology for HPE Aruba Networking products. See www.arubanetworks.com for current and complete HPE Aruba Networking product lines and names.
actions
status {normal | minor | major | critical}
no status {normal | minor | major | critical}
syslog <MESSAGE> [facility {kern | user | mail | daemon | auth | syslog | lpr | uucp | authpriv | cron | ftp}] [severity {debug | info | notice | warning | err | crit | alert | emer}]
no syslog <MESSAGE> [facility {kern | user | mail | daemon | auth | syslog | lpr | uucp | authpriv | cron | ftp}] [severity {debug | info | notice | warning | err | crit | alert | emer}]
cli <COMMAND>
no cli <COMMAND>
Description
Configures different NAE-Lite agent actions to be performed when the set condition or the clear condition is met. The following NAE actions can be configured for the set and clear condition:
status—Set the alert level for the NAE-Lite Agent.
syslog—Create a syslog message and send it to the configured remote syslog servers.
cli—Execute a CLI command. Multiple CLI commands can be specified by using \n as the delimiter.
The no form of this command removes the actions associated with the NAE-Lite agent condition.
Parameter | Description |
---|---|
normal | Sets the NAE-Lite agent status to normal (default). |
minor | Sets the NAE-Lite agent status to minor. |
major | Sets the NAE-Lite agent status to major. |
critical | Sets the NAE-Lite agent status to critical. |
<MESSAGE | Specifies the syslog message to be sent when the set condition or the clear condition is met. Length: 3 to 255 characters. |
facility {kern | user | mail | | Specifies the syslog facility code to denote the type of program that is logging the message. The default facility code is daemon. Optional. The valid facility code values are:
|
[severity {debug | info | notice | | Specifies the severity level for the syslog message. The severity level values are:
|
<COMMAND> | Specifies the CLI command to be executed when the set condition or the clear condition is met. |
Example
Setting the status level for the NAE-Lite agent condition:
Creating the syslog message for the NAE-Lite agent condition:
Executing the CLI command for the NAE-Lite agent condition:
Removing the different actions associated with the NAE-Lite agent condition:
Command History
Release | Modification |
---|---|
10.09 | Command introduced |
Command Information
Platforms | Command context | Authority |
---|---|---|
6200 6300 6400 8320 8325 8360 8400 9300 10000 | config-nae-agent-condition | Administrators or local user group members with execution rights for this command. |