hpVlanNumber
HP-VLAN ·
.1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.1
Object
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.
Context
- MIB
- HP-VLAN
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.1- Type
- scalar
- Access
- readonly
- Status
- deprecated
- Parent
- hpVlanObjects
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-VLAN' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-VLAN::hpVlanNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-VLAN' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-VLAN::hpVlanNumber'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of