hwL2VlanStackingMaskStack8021p
HUAWEI-L2VLAN-MIB ·
.1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.3
Object
column Integer32
The 8021p of outer VLAN-ID after stacking, it's an optional field, if it is not selected, its value is 8, means inherit the 8021p from inner tag.
Context
- MIB
- HUAWEI-L2VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.3.1.2.17.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwL2VlanStackingMaskEntry
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 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingMaskStack8021p'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingMaskStack8021p.<hwL2VlanStackingMaskPortIndex>.<hwL2VlanStackingMaskStackVlanId>.<hwL2VlanStackingMaskStack8021p>.<hwL2VlanStackingMaskAction>.<hwL2VlanStackingMaskDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2VLAN-MIB::hwL2VlanStackingMaskStack8021p'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-8