cpqnIpRouter
CPQNUNIF-MIB ·
.1.3.6.1.4.1.232.121.6.1.1.5
Object
DURABLE: The IP Address of the next hop Router (default Gateway) used by this interface.
Context
- MIB
- CPQNUNIF-MIB
- OID
.1.3.6.1.4.1.232.121.6.1.1.5- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqnIpNetworkEntry
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 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQNUNIF-MIB::cpqnIpRouter'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQNUNIF-MIB::cpqnIpRouter.<cpqnIpIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQNUNIF-MIB::cpqnIpRouter'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4