hw52HwdeviceOrBasetrap
HUAWEI-MA5200-DEVICE-MIB ·
.1.3.6.1.4.1.2011.2.6.2.201.9.1
Object
scalar r/w
Enumeration
Trap switches between basetrap and hwdevice.
Context
- MIB
- HUAWEI-MA5200-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.2.6.2.201.9.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hw52TrapSwitch
- Groups
- 1
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 'HUAWEI-MA5200-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MA5200-DEVICE-MIB::hw52HwdeviceOrBasetrap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MA5200-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MA5200-DEVICE-MIB::hw52HwdeviceOrBasetrap'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disable |
2 | hwdevice |
3 | basetrap |
Conformance
Member of