All MIBs › CISCO-OSPF-TRAP-MIB › cospfPacketType
cospfPacketType
Module: CISCO-OSPF-TRAP-MIB
OID (symbolic): CISCO-OSPF-TRAP-MIB::cospfPacketType
OID (numeric): 1.3.6.1.4.1.9.10.101.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: OSPF packet types. When the last value of a trap using this object is needed, but no traps of that type have been sent, this value pertaining to this object should be returned as nullPacket.
What is cospfPacketType?
This object identifies which specific type of OSPF protocol packet, Hello, Database Description, Link State Request, Link State Update, or Link State Acknowledgment, is associated with a given OSPF trap event. It matters because different OSPF packet types fail for different reasons at different stages of adjacency formation, so knowing whether a trap concerns a Hello packet versus an acknowledgment packet tells the admin which specific stage of the neighbor state machine to focus troubleshooting on. A trap reporting this as dbDescript would point the admin toward a database exchange problem rather than a basic reachability or Hello issue.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.10.101.1.1.3 snmpwalk -v2c -c public <target> CISCO-OSPF-TRAP-MIB::cospfPacketType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.10.101.1.1.3.1 snmpget -v2c -c public <target> CISCO-OSPF-TRAP-MIB::cospfPacketType.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> cospfPacketType.1
Start monitoring Cisco routers running OSPF with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-OSPF-TRAP-MIB::cospfPacketType OID value, configure state conditions and alerts, and monitor any Cisco routers running OSPF from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.10 | ciscoExperiment | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.10.101 | ciscoOspfTrapMIB | CISCO-OSPF-TRAP-MIB |
| 1.3.6.1.4.1.9.10.101.1 | ciscoOspfTrapMIBObjects | CISCO-OSPF-TRAP-MIB |
| 1.3.6.1.4.1.9.10.101.1.1 | cospfTrapControl | CISCO-OSPF-TRAP-MIB |
| 1.3.6.1.4.1.9.10.101.1.1.3 | cospfPacketType | CISCO-OSPF-TRAP-MIB |