All MIBs › HP-VLAN › hpVlanNumber
hpVlanNumber
Module: HP-VLAN
OID (symbolic): HP-VLAN::hpVlanNumber
OID (numeric): 1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The number of currently defined VLANs in the device. Though VLANs should be created using contiguous VLAN IDs, this is not mandatory. Gaps in the VLAN ID sequence may also result from the deletion of existing VLANs. Therefore, this value represents the total number of VLANs in the device and should not be used to indicate the highest VLAN ID value currently in use.
What is hpVlanNumber?
This reports the total count of VLANs currently configured on the device, regardless of their VLAN ID numbering. Because VLAN IDs can have gaps from deletions, admins should treat this purely as a VLAN count and not infer the highest VLAN ID from it; the object is deprecated in favor of RFC 2674's VLAN MIB. A switch with VLANs 10, 20, and 100 configured reports hpVlanNumber as 3, not 100.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.1 snmpwalk -v2c -c public <target> HP-VLAN::hpVlanNumber
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.1.1 snmpget -v2c -c public <target> HP-VLAN::hpVlanNumber.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hpVlanNumber.1
Start monitoring HP ProCurve switch (VLAN configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-VLAN::hpVlanNumber OID value, configure state conditions and alerts, and monitor any HP ProCurve switch (VLAN configuration) from a single console.
OID Breakdown
Upper-level ancestors (13 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.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.14 | icf | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11 | hpicfObjects | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5 | hpicfSwitch | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1 | hpSwitch | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.3 | hpVLAN | HP-ICF-OID |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.14.11.5.1.3.1 | hpVlanLevelOne | HP-VLAN |
| 1.3.6.1.4.1.11.2.14.11.5.1.3.1.1 | hpVlanObjects | HP-VLAN |
| 1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.1 | hpVlanNumber | HP-VLAN |