dsSnmpTrapHostControlType
DASAN-SNMP-MIB ·
.1.3.6.1.4.1.6296.9.1.1.2.23.3.2.2
Object
scalar r/w
Enumeration
The type of trap-host. trapHost(1) means a SNMP version 1. trap2Host(2) means a SNMP version 2. informTrapHost(3) means a SNMP version 2 inform notification.
Context
- MIB
- DASAN-SNMP-MIB
- OID
.1.3.6.1.4.1.6296.9.1.1.2.23.3.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dsSnmpTrapHostControl
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 'DASAN-SNMP-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DASAN-SNMP-MIB::dsSnmpTrapHostControlType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DASAN-SNMP-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DASAN-SNMP-MIB::dsSnmpTrapHostControlType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | trapHost |
2 | trap2Host |
3 | informTrapHost |