hwVsPortVsMask
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.3.7.1.2
Object
column SNMPv2-SMIInteger32
The virtual system mask of the port, each bit indicates the VAN to which the port belongs. For example, the first bit maps vs0, the second bit maps vs1, and the rest can be deducted by analog.
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.3.7.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwVsPortEntry
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-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwVsPortVsMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwVsPortVsMask.<hwFrameIndex>.<hwSlotIndex>.<hwSubslotIndex>.<hwPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwVsPortVsMask'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647