Show Information for all Configured VRRP Addresses

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display information about all addresses or filter the output based on a specified address, VRF name or ID, or VRRP ID:

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

  3. Display information for a specific VRRP version:

    show ip vrrp address version <2–3>

  4. Display version-based VRRP configuration for the specified VRF name:

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

  5. Display 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  ORIGIN
----------------------------------------------------------------------------------------------------
10       2        203.0.113.2     00:00:5e:00:01:0a  Init     Disabled 255   1   2        config
1        222      11.1.1.1        00:00:5e:00:01:01  Init     Disabled 255   1   2        config
1        223      15.1.1.1        00:00:5e:00:01:01  Init     Disabled 255   1   3        config

3 out of 3 Total Num of VRRP Address Entries displayed.


VRRP ID  P/V      MASTER          UP TIME               HLD DWN  CRITICAL IP(ENABLED)  VERSION  HOSTNAME
--------------------------------------------------------------------------------------------------------
10       2        0.0.0.0         0 day(s), 00:00:00    0        0.0.0.0         (No)  2
1        222      0.0.0.0         0 day(s), 00:00:00    0        0.0.0.0         (No)  2
1        223      0.0.0.0         0 day(s), 00:00:00    0        0.0.0.0         (No)  3

3 out of 3 Total Num of VRRP Address Entries displayed.



VRRP ID  P/V      BACKUP MASTER   BACKUP MASTER STATE   FAST ADV (ENABLED)     VERSION
--------------------------------------------------------------------------------------------------------
10       2        disable         down                  200       (NO)          2
1        222      disable         down                  200       (NO)          2
1        223      disable         down                  200       (NO)          3

3 out of 3 Total Num of VRRP Address Entries displayed.

VRRP ID  P/V      VIRTUAL ADDRESS
--------------------------------------------------------------------------------------------------------
1        222      11.1.2.1
1        223      15.1.2.1

2 out of 2 Total Num of VRRP Virtual Address Entries displayed.

Variable Definitions

The following table defines parameters for 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. The virtual router acts as the default router for one or more assigned addresses.

vrfids WORD<0-512>

Specifies the ID of the VRF.

version <2–3>

Specifies the VRRP version to include in the command output.