adGenVLANInUseLookupData
ADTRAN-GENMEVC-MIB ·
.1.3.6.1.4.1.664.5.70.27.1.8.1.1
Object
column OctetString
A binary string is returned, where each VLAN is represented as a - bit, where 1 is in use, 0 is not in use. This applies for all 4096 VLANs. Following is how VLANs are represented in Octet string: VLAN 0 - Octet byte 1, bit 7(MSB) VLAN 1 - Octet byte 1, bit 6 VLAN 2 - Octet byte 1, bit 5 .... VLAN 7 - Octet byte 1, bit 0(LSB) VLAN 8 - Octet byte 2, bit 7(MSB) .... VLAN 4095 - Octet byte 512, bit 0(LSB)
Context
- MIB
- ADTRAN-GENMEVC-MIB
- OID
.1.3.6.1.4.1.664.5.70.27.1.8.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- adGenVLANInUseLookupEntry
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 'ADTRAN-GENMEVC-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENMEVC-MIB::adGenVLANInUseLookupData'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENMEVC-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENMEVC-MIB::adGenVLANInUseLookupData.<adGenSlotInfoIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENMEVC-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENMEVC-MIB::adGenVLANInUseLookupData'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 512-512