Defining A User Policy Using The Cli - Cisco Nexus 3548 series Configuration Manual

Nx-os system management, release 7.x
Hide thumbs Also See for Nexus 3548 series:
Table of Contents

Advertisement

Configuring Embedded Event Manager
Procedure
Step 1
Step 2
Step 3
Step 4
What to do next
Configure a User Policy.

Defining a User Policy Using the CLI

Procedure
Step 1
Step 2
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
event manager environment variable-name
variable-value
Example:
switch(config) # event manager
environment emailto "admin@anyplace.com"
(Optional) show event manager environment
{variable-name | all}
Example:
switch(config) # show event manager
environment all
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
event manager applet applet-name
Example:
switch(config)# event manager applet
monitorShutdown
switch(config-applet)#
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x

Defining a User Policy Using the CLI

Purpose
Enters global configuration mode.
Creates an environment variable for EEM.
The variable-name can be any case-sensitive,
alphanumeric string up to 29 characters.
The variable-value can be any quoted
case-sensitive, alphanumeric string up to 39
characters.
Displays information about the configured
environment variables.
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
Purpose
Enters global configuration mode.
Registers the applet with EEM and enters applet
configuration mode.
The applet-name can be any case-sensitive,
alphanumeric string up to 29 characters.
123

Advertisement

Table of Contents
loading

Table of Contents