sDot1qVlanIndex
GBNDeviceSWAPI-MIB ·
.1.3.6.1.4.1.13464.1.2.2.2.8.4.2.1.2
Object
column VlanIndex
The VLAN-ID or other identifier refering to this VLAN.
Context
- MIB
- GBNDeviceSWAPI-MIB
- OID
.1.3.6.1.4.1.13464.1.2.2.2.8.4.2.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- sDot1qVlanCurrentEntry
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 'GBNDeviceSWAPI-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNDeviceSWAPI-MIB::sDot1qVlanIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GBNDeviceSWAPI-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNDeviceSWAPI-MIB::sDot1qVlanIndex.<sDot1qVlanTimeMark>.<sDot1qVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GBNDeviceSWAPI-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GBNDeviceSWAPI-MIB::sDot1qVlanIndex'
Syntax
- Source
- VlanIndex
- Base type
Unsigned32
Type Description
A value used to index per-VLAN tables: values of 0 and 4095 are not permitted; if the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095 then it represents a VLAN with scope local to the particular agent, i.e. one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q but it is convenient to be able to manage them in the same way using this MIB.
Values & Constraints
No enumerated values or constraints recorded.