![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/9/13/913595a3-acbb-41ef-943e-565cce3e64fc/913595a3-acbb-41ef-943e-565cce3e64fc-bg4d2.png)
1234 SNMP Commands
snmp-server enable traps
Use the snmp-server enable traps command to enable SNMP traps globally or
to enable specific SNMP traps. Use the “no” form of this command to disable
SNMP traps. See Granular OSPF v2/v3 Traps for more detail about the OSPF
trap types.
Syntax
snmp-server enable traps [acl | all | authentication | captive portal | dvmrp
| link | multiple users | ospf
ospftype
| ospfv3
ospfv3type
| pim | spanning
tree]
•
ospftype
- {
all |
errors {all | authentication failure | bad packet | config error | virt
authentication failure | virt bad packet | virt config error} | lsa {all
| lsa-maxage | lsa-originate} | overflow {all| lsdb-overflow | lsdb-
approaching-overflow} | retransmit {all |packets| virt-packets} |
state-change {all | if state change | neighbor state change | virtif
state change | virtneighbor state change}
}
•
ospfv3type
- {
all |
errors {all | bad packet | config error | virt bad packet | virt config
error} | lsa {all | lsa-maxage | lsa-originate} | overflow {all| lsdb-
overflow | lsdb-approaching-overflow} | retransmit {all |packets|
virt-packets} | state-change {all | if state change | neighbor state
change | virtif state change | virtneighbor state change}
}
Default Configuration
Authentication, Link Up/Down, Multiple Users and Spanning Tree flags are
enabled by default.