hh3cDhcpServer2RuleOptLength
HH3C-DHCP4-MIB ·
.1.3.6.1.4.1.25506.2.122.2.9.1.6
Object
column r/w
Integer32
The option length used to match user options.
The SET operation of this object must be with
the SET operation of hh3cDhcpServer2RuleOptOffset.
Context
- MIB
- HH3C-DHCP4-MIB
- OID
.1.3.6.1.4.1.25506.2.122.2.9.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cDhcpServer2RuleEntry
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 'HH3C-DHCP4-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCP4-MIB::hh3cDhcpServer2RuleOptLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-DHCP4-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCP4-MIB::hh3cDhcpServer2RuleOptLength.<hh3cDhcpServer2ClassName>.<hh3cDhcpServer2RuleNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-DHCP4-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-DHCP4-MIB::hh3cDhcpServer2RuleOptLength'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255