Cisco Nexus 3548 Command Reference Manual page 241

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

System Management Commands
tag
To correlate multiple events in the policy, use the tag command.
Syntax Descriptiona
tag
and
andnot
or
happens
occurs
in
seconds
Defaults
None
Command Modes
Applet configuration mode
Command History
Release
5.0(3)A1(1)
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
Command
description
event
show event-manager
policy state
OL-27851-02
tag tag {and | andnot | or} tag [and | andnot | or {tag}]{happens occurs in seconds}
Tag name. The tag name can be any alphanumeric string up to 29 characters.
(Optional) Specifies to use boolean and logic.
(Optional) Specifies to use boolean andnot logic.
(Optional) Specifies to use boolean or logic.
Specifies the number of occurrences before raising the event.
Number of times that the event occurs. The range is from 1 to 4294967295.
Specifies the number of occurrences that must occur within this time period.
Time in seconds that the next event occurs. The range is from 0 to
4294967295 seconds.
Modification
This command was introduced.
Description
Configures a descriptive string for the policy.
Configures the event statement for the policy.
Displays information about the status of the configured policy.
Cisco Nexus 3548 Switch NX-OS System Management Command Reference
tag
231

Advertisement

Table of Contents
loading

Table of Contents