pdnMgmtIpEthGateway
PDN-MGMT-IP-MIB ·
.1.3.6.1.4.1.1795.2.24.2.6.21.1.1.1.4
Object
The IP Gateway for an ethernet based IP port.
This object is supported only on IP ports that are
configured to run over ethernet type of media.
This object would be set to 0.0.0.0 for other types of
interfaces and is not valid.
Furthermore, if the pdnMgmtIpConfigMode is set to
modes other than 'manual', then the MAX-ACCESS for this
object is read-only and the value of the object represents
the actual IP Gateway mask assigned to the port by the
DHCP or BOOTP client (or 0.0.0.0, if none assigned).
A 0.0.0.0 for this object indicates that no IP
Gateway is assigned to the port.
Context
- MIB
- PDN-MGMT-IP-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.6.21.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- pdnMgmtIpPortEntry
- 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 'PDN-MGMT-IP-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-MGMT-IP-MIB::pdnMgmtIpEthGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDN-MGMT-IP-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-MGMT-IP-MIB::pdnMgmtIpEthGateway.<pdnMgmtIpPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-MGMT-IP-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-MGMT-IP-MIB::pdnMgmtIpEthGateway'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of
Compliance refinements
pdnMgmtIpConfigCompliance
readonly
Write access is not required.