delay

For an implementation of an event-handler profile, specifies a delay from when a trigger is received until execution of the event-handler action.

Syntax

delay seconds
no delay

Command Default

There is no delay from when a trigger is received until execution of the event-handler action.

Parameters

seconds
Specifies the number of seconds from when a trigger is received until the execution of the specified action begins. Valid values are 0 or a positive integer.

Modes

Event-handler activation mode

Usage Guidelines

The no form of this command resets the delay setting to the default 0 seconds.

Examples

The following example specifies a delay of 60 seconds.

device# configure terminal
device(config)# event-handler activate eventHandler1
device(config-activate-eventHandler1)# delay 60

The following example resets delay to the default value of 0 seconds.

device# configure terminal
device(config)# event-handler activate eventHandler1
device(config-activate-eventHandler1)# no delay