Defining A User Policy Using The Cli - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Defining a User Policy Using the CLI

Procedure
Step 1
Step 2
Step 3
Step 4
Defining a User Policy Using the CLI
You can define a user policy using the CLI to the device.
Procedure
Step 1
Step 2
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
246
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"
show event manager environment
{variable-name | all}
Example:
switch(config)# show event manager
environment all
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)#
Configuring the Embedded Event Manager
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 alphanumeric
string up to 39 characters.
(Optional)
Displays information about the configured
environment variables.
(Optional)
Copies 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.

Advertisement

Table of Contents
loading

Table of Contents