swDHCPRelayOption61DefRelayIp
DHCP-RELAY-MGMT-MIB ·
.1.3.6.1.4.1.171.12.42.3.4.3
Object
This object indicates the IP address of the default relay server
has no option 61 matching rules.
Pay attention to when swDHCPRelayOption61Mode is:
relay (1): This object must be set together.
drop (2): This object can not be set, and it always returns to '0.0.0.0'.
Context
- MIB
- DHCP-RELAY-MGMT-MIB
- OID
.1.3.6.1.4.1.171.12.42.3.4.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swDHCPRelayOption61
Net-SNMP examples
How SNMP and these commands workScalars 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::swDHCPRelayOption61DefRelayIp.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::swDHCPRelayOption61DefRelayIp'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4