enable snmp traps ospf

enable snmp traps ospf [all | trap-map bit-map]

Description

Enables the OSPF (Open Shortest Path First) module to send traps on various OSPF events.

Syntax Description

all Sets RFC1850 ospfSetTrap to 0x1ffff.
trap-map Specifies the ospfSetTrap as defined in RFC1850.
bit-map Specifies the ospfSetTrap value in HEX (for example, 0x1ffff for all traps).

Default

The default is disabled.

Usage Guidelines

This command enables the OSPF module to send traps on various OSPF events.

Example

The following command sets ospfSetTrap for all traps:

enable snmp traps ospf all

History

This command was first available in ExtremeXOS 12.6.

Platform Availability

This command is available on platforms with an Advanced Edge or Core license as described in the ExtremeXOS 22.2 Feature License Requirements document.