All MIBs › MY-VLAN-MIB › myVlanCurrentNumber
myVlanCurrentNumber
Module: MY-VLAN-MIB
OID (symbolic): MY-VLAN-MIB::myVlanCurrentNumber
OID (numeric): 1.3.6.1.4.1.171.10.97.2.9.1.2
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: Number of current vlans this system have.
What is myVlanCurrentNumber?
This read-only Integer32 reports the number of VLANs currently configured on the switch. It lets an admin track how close the deployment is to the device's maximum VLAN capacity reported by myVlanMaxNumber. An admin might poll this value and see it read 42 after provisioning a new set of customer VLANs.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.2 snmpwalk -v2c -c public <target> MY-VLAN-MIB::myVlanCurrentNumber
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.9.1.2.1 snmpget -v2c -c public <target> MY-VLAN-MIB::myVlanCurrentNumber.1
Start monitoring D-Link managed switch (802.1Q VLAN configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-VLAN-MIB::myVlanCurrentNumber OID value, configure state conditions and alerts, and monitor any D-Link managed switch (802.1Q VLAN configuration) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.9 | myVlanMIB | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1 | myVlanMIBObjects | MY-VLAN-MIB |
| 1.3.6.1.4.1.171.10.97.2.9.1.2 | myVlanCurrentNumber | MY-VLAN-MIB |