swDHCPRelayOption61DefMode

DHCP-RELAY-MGMT-MIB · .1.3.6.1.4.1.171.12.42.3.4.2

Object

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

Context

MIB
DHCP-RELAY-MGMT-MIB
OID
.1.3.6.1.4.1.171.12.42.3.4.2
Type
scalar
Access
readwrite
Status
current
Parent
swDHCPRelayOption61

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::swDHCPRelayOption61DefMode.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::swDHCPRelayOption61DefMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1relay
2drop