vrrpOperPrimaryIpAddr
VRRP-MIB ·
.1.3.6.1.2.1.68.1.3.1.8
Object
In the case where there is more than one IP address for
a given `ifIndex', this object is used to specify the IP
address that will become the `vrrpOperMasterIpAddr',
should the virtual router transition from backup to
master. If this object is set to 0.0.0.0, the IP address
which is numerically lowest (of all the associated IP
address for the interface) will be selected.
This object is deprecated in favor of the IP Version
Independent object, vrrpOperationsPrimaryIpAddr.
Context
- MIB
- VRRP-MIB
- OID
.1.3.6.1.2.1.68.1.3.1.8- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- vrrpOperEntry
- 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 'VRRP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VRRP-MIB::vrrpOperPrimaryIpAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VRRP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VRRP-MIB::vrrpOperPrimaryIpAddr.<ifIndex>.<vrrpOperVrId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VRRP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VRRP-MIB::vrrpOperPrimaryIpAddr'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of