swDHCPRelayOption60DefMode

DHCP-RELAY-MGMT-MIB · .1.3.6.1.4.1.171.12.42.3.3.2

Object

scalar r/w Enumeration
This object indicates default mode that has no option 60 matching rules.
          
relay (1): means to relay the packet to the IP address which is specified
	by swDHCPRelayOption60DefRelayIp.
drop (2): means to drop the packet.

Context

MIB
DHCP-RELAY-MGMT-MIB
OID
.1.3.6.1.4.1.171.12.42.3.3.2
Type
scalar
Access
readwrite
Status
current
Parent
swDHCPRelayOption60

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DHCP-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHCP-RELAY-MGMT-MIB::swDHCPRelayOption60DefMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHCP-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHCP-RELAY-MGMT-MIB::swDHCPRelayOption60DefMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1relay
2drop