trap-enable
Syntax
trap-enable no trap-enable
描述
Enables the notification of the events to be sent as traps to the SNMP management stations for OSPF.
The没有
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 1switch(config-ospf-1)#trap-enable
Disabling sending notification of events as traps:
switch(config)#router ospf 1switch(config-ospf-1)#没有trap-enable