S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
2-16
Cisco MDS 9000 Family Command Reference
OL-18089-02, Cisco MDS NX-OS Release 4.x
Chapter 2 A Commands
action exception log
action exception log
To log an exception if the specific conditions are encountered when an Embedded Event Manager (EEM)
applet is triggered, use the
action exception log
command.
action
number
[
.number2
]
exception log module
module
syserr
error
devid
id
errtype
type
errcode
code
phylayer
layer
ports
list
harderror
error
[
desc
string
]
Syntax Description
Defaults
None.
Command Modes
Embedded Event Manager mode.
Command History
Usage Guidelines
None.
Examples
The following example shows how to log an EEM applet exception:
switch#
configure terminal
switch(config)#
event manager applet exception-applet
switch(config-applet)#
action 1.42 exceptionlog module 1 syserr 13 devid 1 errtype fatal
errcode 13 phylayer 2 ports 1-42 harderror 13 desc “fatal exception logging”
switch(config-applet)#
Related Commands
number. number2
Number can be any number up to 16 digits. The range for
number2
is from
0 to 9.
module
module
Records an exception for the specified module. Enter a module word.
syserr
error
Records an exception for the specified system error. Enter an error word.
devid
id
Records an exception for the specified device ID. Enter an id word.
errtype
type
Records an exception for the specified error type. Enter a type word.
errcode
code
Records an exception for the specified error code. Enter a code word.
phylayer
layer
Records an exception for the specified physical layer. Enter a layer word.
ports
list
Records an exception for the specified ports. Enter a list word.
harderror
error
The reset reason is a quoted alphanumeric string upto 80 characters.
desc
string
(Optional) Describes the exception logging condition.
Release
Modification
NX-OS 4.1(3)
This command was introduced.
Command
Description
event manager applet
Displays an applet with the Embedded Event Manager.