Enabling and disabling traps
Action |
Command |
---|---|
Disable both the log and trap |
setMib eventType.<event_Id> -i 1 – to disable both log & Trap |
Enable log only |
setMib eventType.<event_Id> -i 2 – to allow only log |
Enable both the log and trap (Default) |
setMib eventType.<event_Id> -i 4 – to allow both log & Trap |
Enable trap only |
setMib eventType.<event_Id> -i 3 – to allow only trap |
NOTE:
If the event is configured to disable a trap, then the trap will not be sent for that particular event. In all other scenarios, a trap is generated for the listed events.