hmRouterIfIpAddr
HIRSCHMANN-ROUTER-MIB ·
.1.3.6.1.4.1.248.14.6.2.1.3
Object
DURABLE: The IP address of the virtual router interface. The subnet address is calculated by logically AND'ing the IP address (hmRouterIfIpAddr) with the netmask (hmRouterIfSubnetMask).
Context
- MIB
- HIRSCHMANN-ROUTER-MIB
- OID
.1.3.6.1.4.1.248.14.6.2.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hmRouterIfEntry
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 'HIRSCHMANN-ROUTER-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HIRSCHMANN-ROUTER-MIB::hmRouterIfIpAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HIRSCHMANN-ROUTER-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HIRSCHMANN-ROUTER-MIB::hmRouterIfIpAddr.<hmRouterIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HIRSCHMANN-ROUTER-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HIRSCHMANN-ROUTER-MIB::hmRouterIfIpAddr'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4