trap-enable

Syntax

trap-enable

no trap-enable

Description

Enables the notification of the events to be sent as traps to the SNMP management stations for OSPF.

The no form of this command disables the notification of the events to be sent as traps to the SNMP management stations for OSPF.

Command context

config-ospf

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling sending notification of events as traps:

switch(config)# router ospf 1
switch(config-ospf-1)# trap-enable

Disabling sending notification of events as traps:

switch(config)# router ospf 1
switch(config-ospf-1)# no trap-enable