swL2VlanType
DGS3627-L2MGMT-MIB ·
.1.3.6.1.4.1.171.11.70.6.2.17.1.1.3
Object
column Enumeration
The type of the VLAN to be displayed.
Context
- MIB
- DGS3627-L2MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.70.6.2.17.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swL2VlanEntry
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 'DGS3627-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3627-L2MGMT-MIB::swL2VlanType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS3627-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3627-L2MGMT-MIB::swL2VlanType.<swL2VlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3627-L2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3627-L2MGMT-MIB::swL2VlanType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | invalid-vlan-type |
1 | static-1q-vlan |
2 | dynamic-vlan |
3 | port-base-vlan |
4 | protocolvlan |
5 | double-vlan |