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
no event-control application-id [event-name | event-number]
config>log
This command is used to specify that a particular event, or all events associated with an application, are either generated or suppressed.
Events are generated by an application and contain an event number and a description of the cause of the event. Each event has a default designation that directs it to be generated or suppressed.
Events are generated with a default severity level that can be modified by using the severity-level option. For example, to change event reporting for an external alarm output on the chassis, do the following:
To display a list of events, use the show>log>event-control command.
Events that are suppressed by default are typically used for debugging purposes. Events are suppressed at the time the application requests the event's generation. No event log entry is generated regardless of the destination. While this feature can save processor resources, there may be a negative effect on the ability to troubleshoot problems if the logging entries are not generated. However, the generation of too many events may cause excessive overhead.
The throttle parameter enables event throttling for these events. The throttling rate is set globally for all events with the throttle-rate 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.
The no form of the command resets the parameters to the default setting for events for the application or a specific event within the application. The severity-level, generate, and suppress options will also be reset to the initial values.
Each event has a default suppress or generate state. To display a list of all events and the current configuration use the event-control command.
the application whose events are affected by this event control filter
to generate, suppress, or revert to default for a single event, enter the specific number or event short name. If no event number or name is specified, the command applies to all events in the application. To display a list of all event short names use the show>log>event-control command.
specifies that a log event is created when this event occurs. The generate keyword can be used with two optional parameters: severity-level and throttle.
An ASCII string representing the severity level to associate with the specified generated events
specifies whether events of this type will be throttled
indicates that the specified events will not be logged. If the suppress keyword is not specified, then the events are generated by default.
configures an independent log event throttling rate for each log event, which overrides the globally configured throttle rate for the specified log event
the number of seconds that the specific throttling interval lasts
specifies to disable the specific-throttle-rate
throttle-rate events [intervalseconds]
no throttle-rate
config>log
This command configures an event throttling rate.
specifies the number of log events that can be logged within the specified interval for a specific event. When the limit has been reached, any additional events of that type will be dropped, and the event drop count will be incremented. At the end of the throttle interval, if any events have been dropped, a trap notification will be sent.
specifies the number of seconds that an event throttling interval lasts