Show VRRP Interface Information

About this task

If you enter a virtual router ID or an IP address when showing VRRP interface information, the system displays the information only for that virtual router ID or for that interface.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display VRRPv2 information about the specified interface:

    show ip vrrp interface version <2–3>

  3. Display additional VRRPv2 information about the specified interface:

    show ip vrrp interface verbose version <2–3>

  4. Display VRRPv2 information for the specified VRF:

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

  5. Display VRRPv2 information for the specified virtual router:

    show ip vrrp interface vrfids WORD<0-512> [version <2–3>]

Examples

Switch:1#show ip vrrp interface
====================================================================================================
                                   Vlan Vrrp
====================================================================================================
VLAN VRF              VRRP IP              VIRTUAL           VERSION  ORIGIN  
ID   NAME             ID   ADDRESS         MAC ADDRESS                        
-----------------------------------------------------------------------------------------------------------
10   GlobalRouter     37   10.10.0.254     00:00:5e:00:01:25 2        dvr     
400  GlobalRouter     1    40.40.0.254     00:00:5e:00:01:01 2        config  

All 2 out of 2 Total Num of Vlan Vrrp displayed


====================================================================================================
                                   Port Vrrp
====================================================================================================
PORT     VRF              VRRP IP              VIRTUAL           VERSION 
NUM      NAME             ID   ADDRESS         MAC ADDRESS               
-----------------------------------------------------------------------------------------------------------
Switch:1#show ip vrrp interface verbose
 ==================================================================================================================================
                                                        Vlan Vrrp Extended
==================================================================================================================================
VLAN VRRP VRF                               MASTER          ADVERTISE CRITICAL        VERSION  HOSTNAME        ORIGIN
ID   ID   NAME    STATE   CONTROL PRIORITY  IPADDR          INTERVAL  IPADDR                                         
----------------------------------------------------------------------------------------------------------------------------------
10   37   Global~ backup  enable  100       0.0.0.0         1         0.0.0.0         2                        dvr   
400  1    Global~ master  enable  100       40.40.0.12      1         0.0.0.0         2                        config

All 2 out of 2 Total Num of Vlan Vrrp Extended Entries displayed

VLAN VRRP VRF          HOLDDWN ACTION  CRITICAL BACKUP  BACKUP  FAST ADV    FAST ADV VERSION 
ID   ID   NAME                 TIME    IP       MASTER  MASTER  INTERVAL    ENABLE           
                                       ENABLE           STATE                                
-----------------------------------------------------------------------------------------------------------
10   37   GlobalRouter 60      none    disable  disable down    200         disable  2       
400  1    GlobalRouter 0       none    disable  disable down    200         disable  2       

All 2 out of 2 Vlan Vrrp Extended Entries displayed

                    

VLAN VRRP VRF          MASTER ADV   PREEMPT  PSEUDO-HEADER VERSION 
ID   ID   NAME         INTERVAL(ms) MODE     CHECKSUM             
                                                                     
-----------------------------------------------------------------------------------------------------------
10   37   GlobalRouter N\A          enabled  disabled      2       
400  1    GlobalRouter N\A          enabled  disabled      2       

All 2 out of 2 Vlan Vrrp Extended Entries displayed


====================================================================================================
                               Port Vrrp Extended
====================================================================================================
PORT     VRRP VRF                              MASTER          ADVERTISE CRITICAL        VERSION 
NUM      ID   NAME    STATE  CONTROL PRIORITY  IPADDR          INTERVAL  IPADDR                  
-----------------------------------------------------------------------------------------------------------

PORT     VRRP VRF          HOLDDWN ACTION  CRITICAL BACKUP  BACKUP  FAST ADV    FAST ADV VERSION 
NUM      ID   NAME                 TIME    IP       MASTER  MASTER  INTERVAL    ENABLE           
                                           ENABLE           STATE                                
-----------------------------------------------------------------------------------------------------------

PORT     VRRP VRF          MASTER ADV   PREEMPT  PSEUDO-HEADER VERSION 
NUM      ID   NAME         INTERVAL(ms) MODE     CHECKSUM             
                                                                         
-----------------------------------------------------------------------------------------------------------

Variable definitions

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

Variable

Value

gigabitethernet {slot/port[-slot/port][,...]}

Specifies to show the VRRP information of which interface.

verbose

Specifies to show all available information about the VRRP interfaces.

vlan

Specifies the VLAN that contains the 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) configured.