h3cDhcpSnoop2IfVlanRIDMode
H3C-DHCP-SNOOP2-MIB ·
.1.3.6.1.4.1.2011.10.2.124.2.4.1.2
Object
column r/w
Enumeration
The mode of filling in the remote ID suboption
of DHCP option 82 in VLAN.
'sysname' indicates using the device sysname to fill in
the suboption.
'userDefine' indicates using the string defined
by h3cDhcpSnoop2IfVlanRIDStr to fill in the suboption.
If the value of this object is set to 'userDefine',
h3cDhcpSnoop2IfVlanRIDStr must also be set.
Context
- MIB
- H3C-DHCP-SNOOP2-MIB
- OID
.1.3.6.1.4.1.2011.10.2.124.2.4.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cDhcpSnoop2IfVlanRIDEntry
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-DHCP-SNOOP2-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfVlanRIDMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-DHCP-SNOOP2-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfVlanRIDMode.<ifIndex>.<h3cDhcpSnoop2IfVlanRIDVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-DHCP-SNOOP2-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-DHCP-SNOOP2-MIB::h3cDhcpSnoop2IfVlanRIDMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | sysname |
2 | userDefine |