hh3cDhcpSnoop2IfOpt82RIDMode
HH3C-DHCP-SNOOP2-MIB ·
.1.3.6.1.4.1.25506.2.124.2.2.1.14
Object
column r/w
Enumeration
The mode of filling in the remote ID suboption
of DHCP option 82.
'normal' is the standard mode.
'userDefine' is the user-defined mode.
'sysname' is the sysname mode.
If the value of this object is set to 'userDefine',
hh3cDhcpSnoop2IfOpt82RIDStr must also be set.
Context
- MIB
- HH3C-DHCP-SNOOP2-MIB
- OID
.1.3.6.1.4.1.25506.2.124.2.2.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cDhcpSnoop2IfConfigEntry
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-DHCP-SNOOP2-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCP-SNOOP2-MIB::hh3cDhcpSnoop2IfOpt82RIDMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-DHCP-SNOOP2-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCP-SNOOP2-MIB::hh3cDhcpSnoop2IfOpt82RIDMode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-DHCP-SNOOP2-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-DHCP-SNOOP2-MIB::hh3cDhcpSnoop2IfOpt82RIDMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | sysname |
3 | userDefine |