hzOduSnmpTrapHostMode
HORIZON-ODU-MIB ·
.1.3.6.1.4.1.7262.2.2.9.1.1.2
Object
column mandatory
Enumeration
Indicates how the snmp trap host is obtained for the system.
Context
- MIB
- HORIZON-ODU-MIB
- OID
.1.3.6.1.4.1.7262.2.2.9.1.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Default
static- Parent
- hzOduSnmpTrapHostEntry
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 'HORIZON-ODU-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HORIZON-ODU-MIB::hzOduSnmpTrapHostMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HORIZON-ODU-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HORIZON-ODU-MIB::hzOduSnmpTrapHostMode.<hzOduSnmpTrapHostIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HORIZON-ODU-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HORIZON-ODU-MIB::hzOduSnmpTrapHostMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | dns |