Use the following CLI syntax to configure event control. The throttle parameter used in the event-control command syntax enables throttling for a specific event type. The config>log>throttle-rate command configures the number of events and interval length to be applied to all event types that have throttling enabled by this event-control command. The throttling rate can also be configured independently for each log event by using the specific-throttle-rate parameter; this rate overrides the globally configured throttle rate for the specified log event.
config>log
event-control application-id [event-name | event-number] generate [severity-level][throttle] [specific-throttle-rate events-limit interval seconds | disable-specific-throttle]
event-control application-id [event-name |event-number] suppress
throttle-rate events[interval seconds]
The following displays an example of throttle rate configuration for all events that have throttling enabled:
config# log
config>log# event-control aps 2003 generate major throttle
config>log# event-control aps 2006 generate major throttle
config>log# throttle-rate 500 interval 10
The following displays the throttle rate configuration:
ALU-12>config>log# info
#------------------------------------------
echo "Log Configuration"
#------------------------------------------
throttle-rate 500 interval 10
event-control "aps" 2003 generate major throttle
event-control "aps" 2006 generate major throttle
..
----------------------------------------------
ALU-12>config>log>#
The following displays an example of throttle rate configuration for a specific event. The specific-throttle-rate configured for application aps, event 2003, overrides the globally configured throttle-rate.
config# log
config>log# event-control aps 2003 generate major throttle specific-throttle-rate 600 interval 15
config>log# event-control aps 2006 generate major throttle
config>log# throttle-rate 500 interval 10
The following displays the specific throttle rate configuration:
ALU-12>config>log# info
#------------------------------------------
echo "Log Configuration"
#------------------------------------------
throttle-rate 500 interval 10
event-control "aps" 2003 generate major throttle specific-throttle-
rate 600 interval 15
event-control "aps" 2006 generate major throttle
..
----------------------------------------------
ALU-12>config>log>#