T Commands
tag
688
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
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 Description
Defaults None
Command Modes (config-applet)
Supported User Roles network-admin
vdc-admin
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 e 3/1
Related Commands
tag Tag name. The tag name can be any 29 alphanumeric 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.
in Specifies the number of occurrences must occur within this time period.
occurs Numbers of times that the event occurs. The range is from 1 to 4294967295.
seconds Amount of time, in seconds, that the next event occurs. The range is from 0 to
4294967295 seconds.
Release Modification
5.2(1) This command was introduced.
Command Description
show flow exporter Displays information about NetFlow exporters.