A Commands
action forceshut
10
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
action forceshut
To configure a forced shutdown of a module, a crossbar ASIC, or the entire switch when an Embedded
Event Manager (EEM) applet is triggered, use the action forceshut command. To remove the forced
shutdown, use the no form of this command.
action label forceshut [{module module | xbar xbar-number}] reset-reason string
no action label forceshut [{module module | xbar xbar-number}] reset-reason string
Syntax Description
Defaults None
Command Modes Embedded event manager
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure a forced shutdown of module 4 when an EEM applet is triggered:
switch# configure terminal
switch(config)# event manager applet forceshut-applet
switch(config-applet)# action 1.3 forceshut module 4 reset-reason “module 4 failed”
switch(config-applet)#
label 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.
module module (Optional) Forces a shutdown of the specified module. The module range is from
1 to 10.
xbar xbar-number (Optional) Forces a shutdown of the specified crossbar ASIC. The ASIC range is
from 1 to 5.
reset-reason string Provides a string that is enclosed in double quotation marks to explain the reason
for a forced shutdown.
Release Modification
4.0(1) This command was introduced.