ostModuleDhcpRelayCfgRelayType
OMNITRON-EXT-MIB ·
.1.3.6.1.4.1.7342.7.1.3.5.1.5
Object
column r/w
Enumeration
This object specifies the DHCP Relay type.
drop(1) Drops DHCP relay frames received on a client-side port
keep(2) Keeps DHCP relay frames received on a client-side port and
forwards it to the server-side port
replace(3) Replaces DHCP relay frame parameters received on a
client-side port with the standard DHCP relay parameters
and forwards the modified frame to the server-side port
Context
- MIB
- OMNITRON-EXT-MIB
- OID
.1.3.6.1.4.1.7342.7.1.3.5.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ostModuleDhcpRelayCfgEntry
- Groups
- 1
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 'OMNITRON-EXT-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-EXT-MIB::ostModuleDhcpRelayCfgRelayType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-EXT-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-EXT-MIB::ostModuleDhcpRelayCfgRelayType.<ostModuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-EXT-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-EXT-MIB::ostModuleDhcpRelayCfgRelayType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | drop |
2 | keep |
3 | replace |
Conformance
Member of