dlswTrapCntlState
HUAWEI-SNA-DLSW-MIB ·
.1.3.6.1.4.1.2011.2.34.1.20.1
Object
scalar r/w
Enumeration
It is used to indicate whether the DLSw is permitted to emit traps.
Context
- MIB
- HUAWEI-SNA-DLSW-MIB
- OID
.1.3.6.1.4.1.2011.2.34.1.20.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dlswTrapControl
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-SNA-DLSW-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNA-DLSW-MIB::dlswTrapCntlState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNA-DLSW-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNA-DLSW-MIB::dlswTrapCntlState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |