snVrrpVirRtr2IpAddrCount
HP-SN-IP-VRRP-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.2.12.5.1.1.28
Object
column mandatory
Integer32
The number of IP addresses that are associated with this virtual router. This number is equal to the number of rows in the vrrpAssoIpAddrTable that correspond to a given IF index/VRID pair.
Context
- MIB
- HP-SN-IP-VRRP-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.2.12.5.1.1.28- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- snVrrpVirRtr2Entry
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 'HP-SN-IP-VRRP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-IP-VRRP-MIB::snVrrpVirRtr2IpAddrCount'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-IP-VRRP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-IP-VRRP-MIB::snVrrpVirRtr2IpAddrCount.<ifIndex>.<snVrrpVirRtr2Id>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-IP-VRRP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-IP-VRRP-MIB::snVrrpVirRtr2IpAddrCount'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255