swDHCPRelayOption61Mode
DHCP-RELAY-MGMT-MIB ·
.1.3.6.1.4.1.171.12.42.3.4.4.1.3
Object
column r/w
Enumeration
This object indicates mode of this entry.
relay (1): Means to relay the packet to the IP address which is specified
by swDHCPRelayOption61RelayIp.
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.4.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swDHCPRelayOption61Entry
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 '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::swDHCPRelayOption61Mode'
More examples
Read one indexed 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::swDHCPRelayOption61Mode.<swDHCPRelayOption61ClientType>.<swDHCPRelayOption61ClientID>'
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::swDHCPRelayOption61Mode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | relay |
2 | drop |