event-manager

Use this command to enable or disable the event manager feature. The event manager intercepts the incoming logs for the configured event when the event and action are mapped to a policy.

Use the no command to remove all the event manager configurations.

Command Syntax

Copy
event-manager (enable|disable)
no event-manager

Parameters

enable

Enables the event manager feature to configure events, actions, and policies.

disable

Disables the event manager feature, but the configuration of new events, actions, and policies is allowed, and the existing configuration remains the same.

Default

None

Command Mode

Configure mode

Applicability

Introduced in OcNOS version 6.5.1.

Examples

The below configuration shows how to enable the event manager:

Copy
OcNOS#configure terminal
OcNOS(config)#event-manager enable
OcNOS(config)#commit
OcNOS(config)#exit

The below configuration shows how to disable the event manager:

Copy
OcNOS#configure terminal
OcNOS(config)#event-manager disable
OcNOS(config)#commit
OcNOS(config)#exit