hh3cDHCPRIfSelectRelayMode
HH3C-DHCPRELAY-MIB ·
.1.3.6.1.4.1.25506.2.58.1.1.1.1
Object
column r/w
Enumeration
If the value is on, the DHCP relay function would be enabled on this interface.
Context
- MIB
- HH3C-DHCPRELAY-MIB
- OID
.1.3.6.1.4.1.25506.2.58.1.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cDHCPRIfSelectEntry
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-DHCPRELAY-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCPRELAY-MIB::hh3cDHCPRIfSelectRelayMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-DHCPRELAY-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCPRELAY-MIB::hh3cDHCPRIfSelectRelayMode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-DHCPRELAY-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-DHCPRELAY-MIB::hh3cDHCPRIfSelectRelayMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | on |
2 | off |