Viewing VRRP ping information

Display IPv4 global VRRP configuration information by entering the show vrrp config global command. Display IPv6 global VRRP configuration information by entering the show vrrp ipv6 config global command.

Example of VRRP global configuration information

switch(config)# show vrrp config global

VRRP Global Configuration Information

 VRRP Enabled                                   : Yes
 Traps Enabled                                  : Yes
 Virtual Routers Respond to Ping Requests [Yes] : Yes
 Virtual Nonstop enabled                        : No

Use the show vrrp command to display information about VRRP global statistics.

Example

VRRP IPv4 global statistics information

switch(config)# show vrrp

 VRRP Global Statistics Information

  VRRP Enabled           : Yes
  Invalid VRID Pkts Rx   : 0
  Checksum Error Pkts Rx : 0
  Bad Version Pkts Rx    : 0
  Virtual Routers Respond To Ping Requests : Yes


 VRRP Virtual Router Statistics Information

  Vlan ID                  : 2
  Virtual Router ID        : 1
  Protocol Version         : 2
  State                    : master
  Up Time                  : 25 secs
  Virtual MAC Address      : 00005e-000101
  Master's IP Address      : 10.0.102.87
  Associated IP Addr Count : 1          Near Failovers            : 0
  Advertise Pkts Rx        : 0          Become Master             : 1
  Zero Priority Rx         : 0          Zero Priority Tx          : 0
  Bad Length Pkts          : 0          Bad Type Pkts             : 0
  Mismatched Interval Pkts : 0          Mismatched Addr List Pkts : 0
  Mismatched IP TTL Pkts   : 0          Mismatched Auth Type Pkts : 0

Example

VRRP IPv6 global statistics information

switch# show vrrp ipv6 statistics

VRRP Global Statistics Information

  VRRP Enabled               : Yes
  Invalid VRID Pkts Rx      : 0
  Checksum Error Pkts Rx     : 0
  Bad Version Pkts Rx        : 0
  Virtual Routers Respond To Ping Requests  : Yes

VRRP Virtual Router Statistics Information
  VLAN ID                  : 10
  Virtual Router ID        : 1
  Protocol Version         : 3
  State                    : Master
  Up Time                  : 26 mins
  Virtual MAC Address      : 00005e-000101
  Master's IP Address      : 2130::21
  Associated IP Addr Count : 1          Near Failovers            : 0
  Advertise Pkts Rx        : 0          Become Master             : 1
  Zero Priority Rx         : 0          Zero Priority Tx          : 0
  Bad Length Pkts          : 0          Bad Type Pkts             : 0
  Mismatched Interval Pkts : 0          Mismatched Addr List Pkts : 0
  Mismatched IP TTL Pkts   : 0          Mismatched Auth Type Pkts : 0

Display VRRP configuration information using the show vrrp config command.

Example

VRRP IPv4 configuration display showing VIP ping status

switch# show vrrp config

 VRRP Global Configuration Information

  VRRP Enabled                             : Yes
  Traps Enabled                            : Yes
  Virtual Routers Respond To Ping Requests : Yes
  VRRP Nonstop Enabled                     : No


 VRRP Virtual Router Configuration Information

  VLAN ID   2
  Virtual Router ID : 1

  Administrative Status [Disabled] : Enabled
  Mode [Uninitialized] : backup
  Priority [100] : 150
  Advertisement Interval [1]  : 1
  Preempt Mode [True] : True
  Preempt Delay Time [0] : 0
  Respond To Virtual IP Ping Requests [Yes]  : Yes
  Version [2] : 2
  Null authentication compatibility [False] : False
  Primary IP Address : Lowest
  
  IP Address    
  -------------  
  10.0.202.87    

Example

VRRP IPv6 configuration display showing VIP ping status

switch# show vrrp ipv6 config

VRRP Global Configuration Information

VRRP Enabled                                  : Yes
Traps Enabled                                 : Yes
Virtual Routers Respond To Ping Requests      : No
VRRP Nonstop Enabled                          : No

VRRP Virtual Router Configuration Information

VLAN ID                                       : 10
Virtual Router ID                             : 10
Administrative Status [Disabled]              : Enabled
Mode [Uninitialized]                          : Owner
Priority [100]                                : 255
Advertisement Interval [1]                    : 1
Preempt Mode [True]                           : True
Preempt Delay Time [0]                        : 0
Respond To Virtual IP Ping Requests [Yes]     : Yes
Version [2]                                   : 3
RFC2338 authentication compatibility          : True

 IPv6 Address 
 -------------
 fe80::216:b9ff:fed1:5280

Example

VRRP IPv4 configuration for a VLAN and VRID

This example displays the ping response status for a specific VLAN and VRID.

switch(config)# show vrrp vlan 2 vrid 1 config

 VRRP Virtual Router Configuration Information

  VLAN ID : 2
  Virtual Router ID : 1

  Administrative Status [Disabled] : Enabled
  Mode [Uninitialized] : backup
  Priority [100] : 150
  Advertisement Interval [1] : 1
  Preempt Mode [True] : True
  Preempt Delay Time [0] : 0
  Respond To Virtual IP Ping Requests [Yes] : Yes
  Version [2] : 2
  Null authentication compatibility [False] : False
  Primary IP Address : Lowest

  IP Address
  ---------------
  10.0.202.87

Example

VRRP IPv6 configuration for a VLAN and VRID

switch# show vrrp ipv6 vlan 10 vrid 4 config

VRRP Virtual Router Configuration Information

VLAN ID                                   : 10
Virtual Router ID                         : 1
Administrative Status [Disabled]          : Enabled
Mode [Uninitialized]                      : Owner
Priority [100]                            : 255
Advertisement Interval [1]                : 1
Preempt Mode [True]                       : True
Preempt Delay Time [0]                    : 0
Respond To Virtual IP Ping Requests [Yes] : Yes
Version [2]                               : 3

IPv6 Address
---------------------------
fe80::216:b9ff:fed1:5280

Example

IP route information

This example shows the gateway information for IP routes. A designation of "reject" means that the IP traffic for that route is discarded. Blackhole/reject routes are added when a backup VR becomes a Master and takes ownership of all VIPs. The blackhole/reject route ensures that routed packets to the VIP are not forwarded through it. When virtual-ip-ping is enabled, the ping packets to the VIP are responded to with ping replies.

switch(config)# show ip route

   Destination        Gateway         VLAN Type      Sub-Type   Metric     Dist.
   ------------------ --------------- ---- --------- ---------- ---------- -----
   10.0.0.0/16        DEFAULT_VLAN    1    connected            1          0
   10.0.202.87/32     reject               static               1          1
   127.0.0.0/8        reject               static               0          0
   127.0.0.1/32       lo0                  connected            1          0