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

Examples

Enabling sending notification of events as traps:

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

Disabling sending notification of events as traps:

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