Command Reference Guide
3Com Router 5000 Family and Router 6000 Family snmp-agent trap enable ospf ● 287
Command Reference
snmp-agent trap enable ospf
Purpose Use the snmp-agent trap enable ospf command to enable the TRAP function
of OSPF.
Use the undo snmp-agent trap enable ospf command to disable the TRAP
function.
Syntax snmp-agent trap enable ospf [ process-id ] [ trap-type ]
undo snmp-agent trap enable ospf [ process-id ] [ trap-type ]
Parameters process-id
OSPF process number. If no OSPF process number is
specified, this command is valid for all the current
OSPF processes.
trap-type
Type of SNMP TRAP packet transmitted by OSPF. It can
be the keyword in the following table.
Default By default, no OSPF process is enabled to transmit TRAP packets.
Example Enable TRAP function of OSPF process 100.
<3Com > snmp-agent trap enable ospf 100
Table 34 SNMP TRAP type keywords
Keywords Description
ifauthfail Enables the InterfaceAuthenticationFailure trap packets
ifcfgerror Enables the InterfaceConfigError trap packets
ifrxbadpkt Enables the InterfaceRecieveBadPacket trap packets
ifstatechange Enables the InterfaceStateChange trap packets
iftxretransmit Enables the InterfaceTxRetransmitPacket trap packets
lsdbapproachoverflow Enables the LsdbApproachOverflow trap packets
lsdboverflow Enables the LsdbOverflow trap packets
maxagelsa Enables the MaxAgeLsa trap packets
nbrstatechange Enables the NeighborStateChange trap packets
originatelsa Enables the OriginateLsa trap packets
virifauthfail Enables the VirtualInterfaceAuthenticationFailure trap packets
virifcfgerror Enables the VirtualInterfaceConfigError trap packets
virifrxbadpkt Enables the VirtualInterfaceRecieveBadPacket trap packets
virifstatechange Enables the VirtualInterfaceStateChange trap packets
viriftxretransmit Enables the VirtualInterfaceTxRetransmitPacket trap packets
virnbrstatechange Enables the VirtualNeighborStateChange trap packets