snmp-agent trap enable ospf
Syntax
snmp-agent trap enable ospf
[
process-id
] [
ifauthfail
|
ifcfgerror
|
ifrxbadpkt
|
ifstatechange
|
iftxretransmit
|
lsdbapproachoverflow
|
lsdboverflow
|
maxagelsa
|
nbrstatechange
|
originatelsa
|
vifcfgerror
|
virifauthfail
|
virifrxbadpkt
|
virifstatechange
|
viriftxretransmit
|
virnbrstatechange
] *
undo snmp-agent trap enable ospf
[
process-id
] [
ifauthfail
|
ifcfgerror
|
ifrxbadpkt
|
ifstatechange
|
iftxretransmit
|
lsdbapproachoverflow
|
lsdboverflow
|
maxagelsa
|
nbrstatechange
|
originatelsa
|
vifcfgerror
|
virifauthfail
|
virifrxbadpkt
|
virifstatechange
|
viriftxretransmit
|
virnbrstatechange
] *
View
System view
Default level
3: Manage level
Parameters
process-id
: OSPF process ID, in the range of 1 to 65535.
ifauthfail
: Interface authentication failure information.
ifcfgerror
: Interface configuration error information.
ifrxbadpkt
: Information about error packets received.
ifstatechange
: Interface state change information.
iftxretransmit
: Packet receiving and forwarding information.
lsdbapproachoverflow
: Information about cases approaching LSDB overflow.
lsdboverflow
: LSDB overflow information.
maxagelsa
: LSA max age information.
nbrstatechange
: Neighbor state change information.
originatelsa
: Information about LSAs originated locally.
vifauthfail
: Virtual interface authentication failure information.
vifcfgerror
: Virtual interface configuration error information.
virifauthfail
: Virtual interface authentication failure information.
virifrxbadpkt
: Information about error packets received by virtual interfaces.
virifstatechange
: Virtual interface state change information.
viriftxretransmit
: Virtual interface packet retransmission information.
virnbrstatechange
: Virtual interface neighbor state change information.
Description
Use
snmp-agent trap enable ospf
to enable the sending of SNMP traps for a specified OSPF
process. If no process is specified, the feature is enabled for all processes.
Use
undo snmp-agent trap enable ospf
to disable the feature.
By default, this feature is enabled.
See
Network Management and Monitoring Command Reference
for related information.
120