Action Syslog - Cisco Nexus 7000 Series Reference Manual

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

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.
Syntax Description
label
priority
prio
prio-str
msg msg-text
Defaults
None
Command Modes
Embedded event manager
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0(1)
Cisco Nexus 7000 Series NX-OS System Management Command Reference
16
action label syslog [priority {prio | prio-str}] msg msg-text
no action label syslog [priority {prio | prio-str}] msg msg-text
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. If the string
contains embedded blanks, enclose it in double quotation marks.
(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 level:
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.
A $-prefixed parameter that you previously set to a priority level.
Specifies the message to be logged. The msg-text can contain character text, an
environment variable, or a combination of the two. If the string contains
embedded blanks, enclose it in double quotation marks.
Modification
This command was introduced.
A Commands
OL-25806-03

Advertisement

Table of Contents
loading

Table of Contents