netIpCfgDefaultRouterIPAddress
PROXIM-MIB ·
.1.3.6.1.4.1.841.1.1.1.4.1.1.1.4
Object
This parameter is used to set the IP address of the gateway or router of the device.
This parameter is deprecated and please use the object
netCfgAllIntfDefaultRouterIpAddr to set the gateway IP address.
Context
- MIB
- PROXIM-MIB
- OID
.1.3.6.1.4.1.841.1.1.1.4.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- netIpCfgTableEntry
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 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROXIM-MIB::netIpCfgDefaultRouterIPAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROXIM-MIB::netIpCfgDefaultRouterIPAddress.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PROXIM-MIB' -M '/opt/observium/mibs/proxim:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PROXIM-MIB::netIpCfgDefaultRouterIPAddress'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4