S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-327
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
tag
tag
To correlate multiple events in the policy, use the
tag
command.
tag
tag
{
and | andnot | or
}
tag
[
and | andnot | or
{
tag
}]{
happens
occurs
in
seconds
}
Syntax Descriptiona
Defaults
None
Command Modes
Applet configuration mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to correlate multiple events in the policy:
switch#
configuration terminal
switch(config)#
event manager applet monitorShutdown
switch(config-applet)#
description "Monitors interface shutdown."
switch(config-applet)#
event cli match "shutdown"
switch(config-applet)#
tag one or two happens 1 in 10000
switch(config-applet)#
action 1.0 cli show interface ethernet 3/1
Related Commands
tag
Tag name. The tag name can be any alphanumeric string up to 29 characters.
and
(Optional) Specifies to use boolean and logic.
andnot
(Optional) Specifies to use boolean andnot logic.
or
(Optional) Specifies to use boolean or logic.
happens
Specifies the number of occurrences before raising the event.
occurs
Number of times that the event occurs. The range is from 1 to 4294967295.
in
Specifies the number of occurrences that must occur within this time period.
seconds
Time in seconds that the next event occurs. The range is from 0 to
4294967295 seconds.
Release
Modification
5.0(3)U3(1)
This command was introduced.
Command
Description
description
Configures a descriptive string for the policy.
event
Configures the event statement for the policy.
show event-manager
policy state
Displays information about the status of the configured policy.