vLanMembers
SWITCH-VLAN-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.9.2.5.2.1.1.1.2
Object
column OctetString
A bitmap structure presenting the virtual ports assigned to this vLan. Bits are numbered from 1 to 256 starting with the high order bit of the first octet. Each bit which is set indicates the virtual port number assigned to the this vlan.
Context
- MIB
- SWITCH-VLAN-MIB
- OID
.1.3.6.1.4.1.207.8.9.2.5.2.1.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- vLanEntry
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-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-VLAN-MIB::vLanMembers'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-VLAN-MIB::vLanMembers.<vLanNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-VLAN-MIB::vLanMembers'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 32-32