Showing VRRP information

About this task

Show VRRP port or VLAN information to view configuration details and operational status.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display basic VRRP configuration information about the specified port, all ports, or the VLAN:

    show ip vrrp address [vrid <1-255>] [addr <A.B.C.D>] [vrf WORD<1-16>] [vrfids WORD<0-512>]

  3. Displaying the VRRPv3 configuration:

    show ip vrrp address version <2–3>

  4. Displaying version based VRRP configuration for the specified VRF:

    show ip vrrp address vrf WORD<1–16> version <2–3>

  5. Displaying version based VRRP configuration for the specified VRF ID:

    show ip vrrp address vrfids WORD<0–512> version <2–3>

Example

Switch:1#show ip vrrp address
 
==========================================================================================
                            VRRP Info - GlobalRouter 
==========================================================================================
VRRP ID  P/V      IP              MAC                STATE    CONTROL  PRIO  ADV VERSION
------------------------------------------------------------------------------------------
3        3        30.30.30.99     00:00:5e:00:01:03  Master   Enabled  100   1   2     
2        1/1      20.20.20.99     00:00:5e:00:01:02  Master   Enabled  100   1   3      
 
2 out of 2 Total Num of VRRP Address Entries displayed.
 
 
VRRP ID  P/V      MASTER          UP TIME            HLD DWN  CRITICAL IP(ENABLED)  VERSION
------------------------------------------------------------------------------------------
3        3        30.30.30.18     0 day(s), 00:08:53    0        0.0.0.0    (No)     2      
2        1/1      20.20.20.18     0 day(s), 00:02:01    0        0.0.0.0    (No)     3      
 
2 out of 2 Total Num of VRRP Address Entries displayed.
 
 
VRRP ID  P/V      BACKUP MASTER   BACKUP MASTER STATE   FAST ADV (ENABLED)     VERSION
 
------------------------------------------------------------------------------------------
3        3        disable         down                  200       (NO)          2      
2        1/1      disable         down                  200       (NO)          3     
 
2 out of 2 Total Num of VRRP Address Entries displayed.

Variable definitions

Use the data in the following table to use the show ip vrrp address command.

Variable

Value

addr <A.B.C.D>

Specifies the physical local address of the master VRRP.

vrf WORD<1-16>

Specifies the name of the VRF.

vrid <1-255>

Specifies a unique integer value that represents the virtual router ID in the range 1–255. The virtual router acts as the default router for one or more assigned addresses.

vrfids WORD<0-512>

Specifies the ID of the VRF and is an integer in the range of 0–512.

version <2–3>

Specifies the VRRP version (2 or 3) to be shown.

Use the data in the following table to interpret the show ip vrrp address command output.

Table 1. Field descriptions

Name

Description

ADV

Indicates the Advertisement Interval, in seconds, between sending advertisement messages.

BACKUP MASTER

Indicates if the Backup-Master feature is disabled or enabled.

BACKUP MASTER STATE

Indicates if the Backup-Master is up. If the switch is in Master state but Backup-Master is enabled, then the BACKUP MASTER STATE will be down.

CONTROL

Indicates the virtual router function. Configure the value to enabled to transition the state of the router from initialize to backup. Configure the value to disabled to transition the router from master or backup to initialize.

CRITICAL IP

Indicates the IP address of the interface that is critical to VRRP. If that IP interface is down, the VRRP state will transition to Backup, even if it has higher priority.

CRITICAL IP (ENABLED)

Indicates if the critical IP feature is enabled.

FAST ADV

Indicates the Fast Advertisement Interval, in milliseconds, between sending advertisement messages. When the Fast Advertisement Interval is enabled, the Fast Advertisement Interval is used instead of the regular advertisement interval.

FAST ADV (ENABLED)

Indicates the state of fast advertisement.

HLD DWN

Specifies the time interval (in seconds) the Hold-down timer has until it expires. If the value is 0, it means the Hold-down timer is not running. This timer will delay the transition from Backup to Master only on a system startup (the VRRP comes from INIT to Backup and determines it should become Master).

  • The VRRP hold-down timer runs when the system transitions from initialization to backup to master. This occurs only on a system startup

  • The VRRP hold-down timer does not run under the following condition: In a nonstartup condition, the backup system becomes master after the Master Downtime Interval (3 * hello interval), if the master virtual router goes down

  • The VRRP hold-down timer also applies to the VRRP BackupMaster feature

IP

Indicates the assigned IP addresses that a virtual router backs up.

MAC

Indicates the virtual MAC address of the virtual router in the format 00-00-5E-00-01-<vrrpid>, where the first three octets consist of the IANA OUI; the next two octets indicate the address block of the VRRP protocol; and the remaining octets consist of the vrrpid.

MASTER

Indicates the master router real (primary) IP address.

PRIO

Indicates the priority for the virtual router with respect to other virtual routers that are backing up one or more associated IP addresses. Higher values indicate higher priority.

A priority of 255 cannot be configured and it is set for the VRRP router that has the same IP as the physical IP addresses (is Address Owner).

P/V

Indicates the P(ort)/V(lan) on which the VRRP was configured.

STATE

Indicates the current state of the virtual router.

initialize—waiting for a startup event

backup—monitoring the state or availability of the master router

master—forwarding IP addresses associated with this virtual router.

UP TIME

Indicates the time interval since this virtual router exited the INIT state.

VRRP ID

Indicates the virtual router ID on a VRRP router.

VERSION

Indicates the VRRP version.