This command enables
creating, configuring, or deleting action definitions for an event.
Privilege:
Security Administrator,
Administrator
Syntax
actiondef actiondef_name [ -noconfirm ]
no actiondef actiondef_name
no
Deletes the specified
actiondef from the local QoS policy service.
actiondef_name
Specifies name of
the actiondef.
actiondef_name must
be unique within the service expressed as an alphanumeric string
of 1 through 63 characters.
If the named actiondef
does not exist, it is created, and the CLI mode changes to the Local
Policy Actiondef Configuration Mode wherein the actiondef can be
configured.
If the named actiondef
already exists, the CLI mode changes to the Local Policy Actiondef Configuration
Mode for that actiondef.
-noconfirm
Specifies that the
command must execute without prompting for confirmation.
Usage:
Use this command to
create, configure, or delete an actiondef. The actiondef configuration
is used to configure the action definitions for an event. The event
ruledef will have one or more rules and associated action(s).
This command can be
entered multiple times to specify multiple actiondefs.
IMPORTANT:
A maximum of 256 actiondefs
are suggested in a local QoS policy service for performance reasons.
An actiondef can be referenced by multiple eventbases.
Entering this command
results in the following prompt:
[context_name]hostname(config-local-policy-actiondef)#
Local Policy Actiondef
Configuration Mode commands are defined in the Local Policy Actiondef
Configuration Mode Commands chapter.
Example:
The following command
creates an actiondef named
actiondef1 and
enters the Local Policy Actiondef Configuration Mode:
actiondef actiondef1