rcMstpXstInstanceVlansMapped
SWITCH-MSTP-MIB ·
.1.3.6.1.4.1.8886.6.1.24.4.1.2
Object
Each octet within this value specifies a set of eight vlans, with the first octet specifying vlan 1 through 8, the second octet specifying vlan 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered vlan, and the least significant bit represents the highest numbered vlan. Thus, each vlan is represented by a single bit within the value of this object. If that bit has a value of '1', then that vlan is included in the set of vlans; the vlan is not included if its bit has a value of '0'.
Context
- MIB
- SWITCH-MSTP-MIB
- OID
.1.3.6.1.4.1.8886.6.1.24.4.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rcMstpXstInstanceEntry
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 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MSTP-MIB::rcMstpXstInstanceVlansMapped'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MSTP-MIB::rcMstpXstInstanceVlansMapped.<rcMstpXstInstanceId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-MSTP-MIB::rcMstpXstInstanceVlansMapped'