h3cDhcpRelay2IfOpt82CIDFormat
H3C-DHCP4-MIB ·
.1.3.6.1.4.1.2011.10.2.122.4.1.1.9
Object
column r/w
Enumeration
The format of the circuit ID suboption of DHCP
option 82.
'hex' is the hex format.
'ascii' is the ascii format.
'undefine' is the undefine format.
If the value of h3cDhcpRelay2IfOpt82CIDMode is
'normal', the value of this object is set to 'hex'
automatically and cannot be set to 'undefine'.
If the value of h3cDhcpRelay2IfOpt82CIDMode is
'verbose', the default value of this object is 'undefine'.
If the value of h3cDhcpRelay2IfOpt82CIDMode is
'userDefine', the value of this object is set to
'ascii' automatically and cannot be set to other value.
The SET operation of this object must be with the SET
operation of h3cDhcpRelay2IfOpt82CIDMode.
Context
- MIB
- H3C-DHCP4-MIB
- OID
.1.3.6.1.4.1.2011.10.2.122.4.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cDhcpRelay2IfConfigEntry
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::h3cDhcpRelay2IfOpt82CIDFormat'
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::h3cDhcpRelay2IfOpt82CIDFormat.<ifIndex>'
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::h3cDhcpRelay2IfOpt82CIDFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | hex |
2 | ascii |
3 | undefine |