traphostVer
Es2952-MIB ·
.1.3.6.1.4.1.3902.15.2.11.16.3.1.4
Object
Traphost Version. 0: clear the traphost config; 1: version 1;(only valid in the trap type). 2: version 2c; 3: version 3 using the AuthNoPriv security level; 4: version 3 using the NoAuthNoPriv security level; 5: version 3 using the AuthAndPriv security level.
Context
- MIB
- Es2952-MIB
- OID
.1.3.6.1.4.1.3902.15.2.11.16.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- trapHostEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::traphostVer'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Es2952-MIB::traphostVer.<traphostIP>.<traphostType>.<commuName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Es2952-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Es2952-MIB::traphostVer'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647