VRRP-MIB

MIB Reference — IPNetwork Monitor

All MIBsVRRP-MIB

Organization: IETF VRRP Working Group

Last Updated: 2000-03-03

Category: Routing Protocols

Description:

Defines managed objects for configuring, monitoring, and controlling routers that employ the Virtual Router Redundancy Protocol (VRRP) for gateway failover.

Imported Objects

From IF-MIB

ifIndexOBJECT-TYPE

From SNMPv2-CONF

MODULE-COMPLIANCE
NOTIFICATION-GROUP
OBJECT-GROUP

From SNMPv2-SMI

Counter32
Integer32
IpAddress
MODULE-IDENTITY
NOTIFICATION-TYPE
OBJECT-TYPE
mib-2

From SNMPv2-TC

MacAddress
RowStatus
TEXTUAL-CONVENTION
TimeStamp
TruthValue

What Is VRRP-MIB?

VRRP-MIB is a vendor-neutral IETF standards MIB (based on RFC 2787/3768) defining managed objects for configuring, monitoring, and controlling routers that participate in the Virtual Router Redundancy Protocol, which provides transparent default-gateway failover between a group of routers sharing a virtual IP/MAC address. It exposes per-virtual-router operational state including administrative and operational status, priority, the virtual MAC address, the count and identity of associated IP addresses, and which router currently holds the master and primary IP roles, along with protocol version and notification-control settings. Its monitoring value is centrally about software/control-plane status and high-availability health: confirming which router is currently Master versus Backup, detecting unexpected master/backup role flips (which indicate a failover event or a flapping VRRP instance), and verifying priority and admin-state settings are as configured. It explicitly depends on the base IF-MIB for interface association and the standard SNMPv2-SMI/CONF conventions for its statistics and compliance groups, and is a self-contained protocol MIB rather than depending on other vendor-specific modules. It is deployed on any vendor's router or Layer 3 switch pair (or group) configured for gateway redundancy in enterprise and service-provider networks, and administrators researching the IETF VRRP standard will find this MIB to be its primary SNMP management interface.

IPNetwork Monitor allows you to monitor SNMP objects defined in VRRP-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.

What Can Be Monitored

  • VRRP master/backup operational state
  • administrative state per virtual router
  • configured priority
  • virtual MAC address
  • master/primary IP address
  • VRRP protocol version

Supported Devices

  • vendor-neutral, standards-based MIB, not tied to a specific manufacturer
  • router or Layer 3 switch supporting VRRP gateway redundancy

Monitoring Examples

An admin would poll vrrpOperTable/vrrpOperEntry -- keyed by vrrpOperVrId -- to check vrrpOperState and vrrpOperAdminState, confirming whether a given router is currently acting as Master or Backup for that virtual router instance; an unexpected transition from Master to Backup (or a state stuck at 'initialize') would reveal a failover event or a misconfigured/flapping VRRP group. Watching vrrpOperMasterIpAddr alongside vrrpOperPriority helps confirm the intended router (the one with highest priority) is indeed holding the master role, while vrrpOperIpAddrCount and vrrpOperPrimaryIpAddr validate the virtual IP address configuration matches expectations. The vrrpNodeVersion scalar confirms which VRRP protocol version the device implements, important when troubleshooting interoperability between routers from different vendors in the same VRRP group.

OIDs
OID symbolicOID numericTypeAccessDescription
vrrpMIB1.3.6.1.2.1.68This MIB describes objects used for managing Virtual Router Redundancy Protocol (VRRP) routers.
vrrpNotifications1.3.6.1.2.1.68.0
NTF vrrpTrapNewMaster1.3.6.1.2.1.68.0.1The newMaster trap indicates that the sending agent has transitioned to 'Master' state.
NTF vrrpTrapAuthFailure1.3.6.1.2.1.68.0.2A vrrpAuthFailure trap signifies that a packet has been received from a router whose authentication key or authentication type conflicts with this router's authentication key or authentication type. Implementation of this trap is optional.
vrrpOperations1.3.6.1.2.1.68.1
I32 vrrpNodeVersion1.3.6.1.2.1.68.1.1Integer32read-onlyThis value identifies the particular version of the VRRP supported by this node.
INT vrrpNotificationCntl1.3.6.1.2.1.68.1.2INTEGERread-writeIndicates whether the VRRP-enabled router will generate SNMP traps for events defined in this MIB. 'Enabled' results in SNMP traps; 'disabled', no traps are sent.
vrrpOperTable1.3.6.1.2.1.68.1.3not-accessibleOperations table for a VRRP router which consists of a sequence (i.e., one or more conceptual rows) of 'vrrpOperEntry' items.
vrrpOperEntry1.3.6.1.2.1.68.1.3.1not-accessibleAn entry in the vrrpOperTable containing the operational characteristics of a virtual router. On a VRRP router, a given virtual router is identified by a combination of the IF index and VRID. Rows in the table cannot be modified unless the value of `vrrpOperAdminState' is `disabled' and the `vrrpOperState' has transitioned to `initialize'.
VRI vrrpOperVrId1.3.6.1.2.1.68.1.3.1.1VrIdnot-accessibleThis object contains the Virtual Router Identifier (VRID).
MAC vrrpOperVirtualMacAddr1.3.6.1.2.1.68.1.3.1.2MacAddressread-onlyThe virtual MAC address of the virtual router. Although this object can be derived from the 'vrrpOperVrId' object, it is defined so that it is easily obtainable by a management application and can be included in VRRP-related SNMP traps.
INT vrrpOperState1.3.6.1.2.1.68.1.3.1.3INTEGERread-onlyThe current state of the virtual router. This object has three defined values: - `initialize', which indicates that all the virtual router is waiting for a startup event. - `backup', which indicates the virtual router is monitoring the availability of the master router. - `master', which indicates that the virtual router is forwarding packets for IP addresses that are associated with this router. Setting the `vrrpOperAdminState' object (below) initiates transitions in the value of this object.
INT vrrpOperAdminState1.3.6.1.2.1.68.1.3.1.4INTEGERread-createThis object will enable/disable the virtual router function. Setting the value to `up', will transition the state of the virtual router from `initialize' to `backup' or `master', depending on the value of `vrrpOperPriority'. Setting the value to `down', will transition the router from `master' or `backup' to `initialize'. State transitions may not be immediate; they sometimes depend on other factors, such as the interface (IF) state. The `vrrpOperAdminState' object must be set to `down' prior to modifying the other read-create objects in the conceptual row. The value of the `vrrpOperRowStatus' object (below) must be `active', signifying that the conceptual row is valid (i.e., the objects are correctly set), in order for this object to be set to `up'.
I32 vrrpOperPriority1.3.6.1.2.1.68.1.3.1.5Integer32read-createThis object specifies the priority to be used for the virtual router master election process. Higher values imply higher priority. A priority of '0', although not settable, is sent by the master router to indicate that this router has ceased to participate in VRRP and a backup virtual router should transition to become a new master. A priority of 255 is used for the router that owns the associated IP address(es).
I32 vrrpOperIpAddrCount1.3.6.1.2.1.68.1.3.1.6Integer32read-onlyThe 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.
IP vrrpOperMasterIpAddr1.3.6.1.2.1.68.1.3.1.7IpAddressread-onlyThe master router's real (primary) IP address. This is the IP address listed as the source in VRRP advertisement last received by this virtual router.
IP vrrpOperPrimaryIpAddr1.3.6.1.2.1.68.1.3.1.8IpAddressread-createIn 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 will be selected.
INT vrrpOperAuthType1.3.6.1.2.1.68.1.3.1.9INTEGERread-createAuthentication type used for VRRP protocol exchanges between virtual routers. This value of this object is the same for a given ifIndex. New enumerations to this list can only be added via a new RFC on the standards track.
OCT vrrpOperAuthKey1.3.6.1.2.1.68.1.3.1.10OCTET STRINGread-createThe Authentication Key. This object is set according to the value of the 'vrrpOperAuthType' object ('simpleTextPassword' or 'ipAuthenticationHeader'). If the length of the value is less than 16 octets, the agent will left adjust and zero fill to 16 octets. The value of this object is the same for a given ifIndex. When read, vrrpOperAuthKey always returns an Octet String of length zero.
I32 vrrpOperAdvertisementInterval1.3.6.1.2.1.68.1.3.1.11Integer32read-createThe time interval, in seconds, between sending advertisement messages. Only the master router sends VRRP advertisements.
T/F vrrpOperPreemptMode1.3.6.1.2.1.68.1.3.1.12TruthValueread-createControls whether a higher priority virtual router will preempt a lower priority master.
TIM vrrpOperVirtualRouterUpTime1.3.6.1.2.1.68.1.3.1.13TimeStampread-onlyThis is the value of the `sysUpTime' object when this virtual router (i.e., the `vrrpOperState') transitioned out of `initialized'.
INT vrrpOperProtocol1.3.6.1.2.1.68.1.3.1.14INTEGERread-createThe particular protocol being controlled by this Virtual Router. New enumerations to this list can only be added via a new RFC on the standards track.
ROW vrrpOperRowStatus1.3.6.1.2.1.68.1.3.1.15RowStatusread-createThe row status variable, used in accordance to installation and removal conventions for conceptual rows. The rowstatus of a currently active row in the vrrpOperTable is constrained by the operational state of the corresponding virtual router. When `vrrpOperRowStatus' is set to active(1), no other objects in the conceptual row, with the exception of `vrrpOperAdminState', can be modified. Prior to setting the `vrrpOperRowStatus' object from `active' to a different value, the `vrrpOperAdminState' object must be set to `down' and the `vrrpOperState' object be transitioned to `initialize'. To create a row in this table, a manager sets this object to either createAndGo(4) or createAndWait(5). Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the `vrrpOperRowStatus' column will be read as notReady(3). In particular, a newly created row cannot be made active(1) until (minimally) the corresponding instance of `vrrpOperVrId' has been set and there is at least one active row in the `vrrpAssoIpAddrTable' defining an associated IP address for the virtual router.
vrrpAssoIpAddrTable1.3.6.1.2.1.68.1.4not-accessibleThe table of addresses associated with this virtual router.
vrrpAssoIpAddrEntry1.3.6.1.2.1.68.1.4.1not-accessibleAn entry in the table contains an IP address that is associated with a virtual router. The number of rows for a given ifIndex and VrId will equal the number of IP addresses associated (e.g., backed up) by the virtual router (equivalent to 'vrrpOperIpAddrCount'). Rows in the table cannot be modified unless the value of `vrrpOperAdminState' is `disabled' and the `vrrpOperState' has transitioned to `initialize'.
IP vrrpAssoIpAddr1.3.6.1.2.1.68.1.4.1.1IpAddressnot-accessibleThe assigned IP addresses that a virtual router is responsible for backing up.
ROW vrrpAssoIpAddrRowStatus1.3.6.1.2.1.68.1.4.1.2RowStatusread-createThe row status variable, used according to installation and removal conventions for conceptual rows. Setting this object to active(1) or createAndGo(4) results in the addition of an associated address for a virtual router. Destroying the entry or setting it to notInService(2) removes the associated address from the virtual router. The use of other values is implementation-dependent.
IP vrrpTrapPacketSrc1.3.6.1.2.1.68.1.5IpAddressaccessible-for-notifyThe IP address of an inbound VRRP packet. Used by vrrpTrapAuthFailure trap.
INT vrrpTrapAuthErrorType1.3.6.1.2.1.68.1.6INTEGERaccessible-for-notifyPotential types of configuration conflicts. Used by vrrpAuthFailure trap.
vrrpStatistics1.3.6.1.2.1.68.2
C32 vrrpRouterChecksumErrors1.3.6.1.2.1.68.2.1Counter32read-onlyThe total number of VRRP packets received with an invalid VRRP checksum value.
C32 vrrpRouterVersionErrors1.3.6.1.2.1.68.2.2Counter32read-onlyThe total number of VRRP packets received with an unknown or unsupported version number.
C32 vrrpRouterVrIdErrors1.3.6.1.2.1.68.2.3Counter32read-onlyThe total number of VRRP packets received with an invalid VRID for this virtual router.
vrrpRouterStatsTable1.3.6.1.2.1.68.2.4not-accessibleTable of virtual router statistics.
vrrpRouterStatsEntry1.3.6.1.2.1.68.2.4.1not-accessibleAn entry in the table, containing statistics information about a given virtual router.
C32 vrrpStatsBecomeMaster1.3.6.1.2.1.68.2.4.1.1Counter32read-onlyThe total number of times that this virtual router's state has transitioned to MASTER.
C32 vrrpStatsAdvertiseRcvd1.3.6.1.2.1.68.2.4.1.2Counter32read-onlyThe total number of VRRP advertisements received by this virtual router.
C32 vrrpStatsAdvertiseIntervalErrors1.3.6.1.2.1.68.2.4.1.3Counter32read-onlyThe total number of VRRP advertisement packets received for which the advertisement interval is different than the one configured for the local virtual router.
C32 vrrpStatsAuthFailures1.3.6.1.2.1.68.2.4.1.4Counter32read-onlyThe total number of VRRP packets received that do not pass the authentication check.
C32 vrrpStatsIpTtlErrors1.3.6.1.2.1.68.2.4.1.5Counter32read-onlyThe total number of VRRP packets received by the virtual router with IP TTL (Time-To-Live) not equal to 255.
C32 vrrpStatsPriorityZeroPktsRcvd1.3.6.1.2.1.68.2.4.1.6Counter32read-onlyThe total number of VRRP packets received by the virtual router with a priority of '0'.
C32 vrrpStatsPriorityZeroPktsSent1.3.6.1.2.1.68.2.4.1.7Counter32read-onlyThe total number of VRRP packets sent by the virtual router with a priority of '0'.
C32 vrrpStatsInvalidTypePktsRcvd1.3.6.1.2.1.68.2.4.1.8Counter32read-onlyThe number of VRRP packets received by the virtual router with an invalid value in the 'type' field.
C32 vrrpStatsAddressListErrors1.3.6.1.2.1.68.2.4.1.9Counter32read-onlyThe total number of packets received for which the address list does not match the locally configured list for the virtual router.
C32 vrrpStatsInvalidAuthType1.3.6.1.2.1.68.2.4.1.10Counter32read-onlyThe total number of packets received with an unknown authentication type.
C32 vrrpStatsAuthTypeMismatch1.3.6.1.2.1.68.2.4.1.11Counter32read-onlyThe total number of packets received with 'Auth Type' not equal to the locally configured authentication method (`vrrpOperAuthType').
C32 vrrpStatsPacketLengthErrors1.3.6.1.2.1.68.2.4.1.12Counter32read-onlyThe total number of packets received with a packet length less than the length of the VRRP header.
vrrpConformance1.3.6.1.2.1.68.3
vrrpMIBCompliances1.3.6.1.2.1.68.3.1
vrrpMIBCompliance1.3.6.1.2.1.68.3.1.1The core compliance statement for all VRRP implementations.
vrrpMIBGroups1.3.6.1.2.1.68.3.2
vrrpOperGroup1.3.6.1.2.1.68.3.2.1Conformance group for VRRP operations.
vrrpStatsGroup1.3.6.1.2.1.68.3.2.2Conformance group for VRRP statistics.
vrrpTrapGroup1.3.6.1.2.1.68.3.2.3Conformance group for objects contained in VRRP notifications.
vrrpNotificationGroup1.3.6.1.2.1.68.3.2.4The VRRP MIB Notification Group.

RFC description

Manages Virtual Router Redundancy Protocol (VRRP) routers as defined in RFC 2787, enabling monitoring of virtual router redundancy and failover statistics.

Start monitoring vendor-neutral, standards-based MIB, router or Layer 3 switch supporting VRRP gateway redundancy (master/backup role/priority status) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

Download VRRP-MIB