optixL2DcnRstpState
OPTIX-PKT-DCN-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.11.2.2
Object
scalar r/w
Enumeration
This object indicates the L2DCN rstp protocol state. 0: disable, 1: enable, 2: auto
Context
- MIB
- OPTIX-PKT-DCN-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.11.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- optixPktDcnNEGroup
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 'OPTIX-PKT-DCN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-DCN-MIB::optixL2DcnRstpState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-DCN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-DCN-MIB::optixL2DcnRstpState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disable |
1 | enable |
2 | auto |