h3cDhcpServer2IPInUseVlanId
H3C-DHCP4-MIB ·
.1.3.6.1.4.1.2011.10.2.122.2.14.1.5
Object
column Unsigned32
User's VLAN ID.
65535 means that a client doesn't have VLAN ID or have an
invalid VLAN ID.
Context
- MIB
- H3C-DHCP4-MIB
- OID
.1.3.6.1.4.1.2011.10.2.122.2.14.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cDhcpServer2IPInUseEntry
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 'H3C-DHCP4-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP4-MIB::h3cDhcpServer2IPInUseVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-DHCP4-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP4-MIB::h3cDhcpServer2IPInUseVlanId.<h3cDhcpServer2PoolIndex>.<h3cDhcpServer2IPInUseIP>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-DHCP4-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-DHCP4-MIB::h3cDhcpServer2IPInUseVlanId'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-4094
range: 65535-65535