h3cMACInformationTrapSendNum
H3C-MAC-INFORMATION-MIB ·
.1.3.6.1.4.1.2011.10.2.87.1.1.5
Object
scalar SNMPv2-SMICounter32
The number of traps that have been generated. This object is valid only when the h3cMACInfomationWorkMode is set to trap(1). If the h3cMACInfomationWorkMode is set to syslog(2), the object will always return 0.
Context
- MIB
- H3C-MAC-INFORMATION-MIB
- OID
.1.3.6.1.4.1.2011.10.2.87.1.1.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- h3cMACInformationMibGlobal
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-MAC-INFORMATION-MIB::h3cMACInformationTrapSendNum.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-MAC-INFORMATION-MIB::h3cMACInformationTrapSendNum'
Syntax
- Source
- SNMPv2-SMICounter32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295