Send comments to nexus3k-docfeedback@cisco.com
-SM-16
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
action syslog
action syslog
To configure a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered,
use the action syslog command. To disable the syslog message, use the no form of this command.
action label num1 [.num2] syslog [priority {priority | priority-string}] msg message-text
no action label num1 [.num2] syslog [priority {priority | priority-string}] msg message-text
Syntax Description
Defaults None
Command Modes Embedded event manager configuration mode
Command History
Usage Guidelines Messages written to the syslog from an EEM applet are not screened for EEM syslog events, which might
lead to recursive EEM syslog events. Messages that are sent from an EEM applet include the applet name
for identification.
This command does not require a license.
label num1 [.num2] Unique identifier that can be any string value. Actions are sorted and run in an
ascending alphanumeric sequence using the label as the sort key. The range for
num1 is from 1 to 16 and the range for num2 is from 0 to 9.
priority (Optional) Specifies the priority level of the syslog messages. If this keyword is
not selected, all syslog messages are set at the informational priority level. If this
keyword is selected, the priority level argument must be defined.
priority Priority level as follows:
• emergencies—Specifies the system is unusable.
• alerts—Specifies immediate action is needed.
• critical—Specifies critical conditions.
• errors—Specifies error conditions.
• warnings— Specifies warning conditions.
• notifications—Specifies normal but significant conditions.
• informational—Specifies informational messages. This is the default.
• debugging—Specifies debugging messages.
priority-string $-prefixed parameter that you previously set to a priority level.
msg message-text Specifies the message to be logged. The message-text can contain any
alphanumeric string up to 256 characters.
Release Modification
5.0(3)U3(1) This command was introduced.