show ip vrrp

Displays the VRRP configuration and statistics for this system.

Syntax

show ip vrrp [interface [vrid]] [statistics] [verbose]

Parameters

interface (Optional) Specifies the interface name for VRRP configuration or statistics display.
vrid (Optional) Specifies a virtual router ID to display that is associated with the specified interface.
statistics (Optional) Specifies that VRRP statistics should be displayed.
verbose (Optional) Specifies that full VRRP configuration information should be displayed. Verbose does not affect statistics.

Defaults

  • If interface is not specified, all configured interfaces are displayed.
  • If vrid is not specified, all VRIDs associated with this interface will display.
  • If statistics is not specified, VRRP configuration is displayed.
  • If verbose is not specified, VRRP configuration summary information is displayed.

Mode

All command modes.

Examples

This example displays VRRP information for this system:

System(rw)->show ip vrrp
 Codes: Pri = Operational Priority
        V   = Version of the protocol
        T   = Type (M-Master IP Address, A-Associate IP Address)
        A   = Admin status of Associate address (E-enabled, D-disabled)
        O   = Owner status of Associate address (Y-yes, N-no)
Interface   Vrid State      Pri V T A O IP Address
----------- ---- ---------- --- - - - - ---------------------------------------
vlan.0.2010 1    intfDown   100 2 M - -
                                  A E N 192.168.201.1
vlan.0.2020 1    stopped    0   2 M - - 0.0.0.0
                                  A E N 192.168.202.1
System(rw)->

This example displays VRRP verbose information for this system:

System(rw)->sho ip vrrp verb
Interface: vlan.0.30
VRID: 1
  Version: 2, State: master
  Time of last state transition: MON JUN 03 11:19:53 2013
  Master IP Address : 30.1.1.2
  Primary IP Address: 30.1.1.2
  Virtual MAC Address: 00:00:5E:00:01:01
  Advertisement Interval:   1.00 seconds
  Master Priority: 100, Operational Priority: 100,  Configured Priority: 100
  Accept: no ,  Preempt: yes,  Preempt time:   0 seconds
  Fabric-Route-Mode: yes
  Host-Mobility: yes, State: up, ACL: hosts
  Interface Up Delay:   0 seconds
  Virtual IP Count:   1,  Enabled Virtual IP's:   1,  Critical IP Count:    0
  Virtual IP Addresses                          Admin    State  Owner
   30.1.1.1                                    enabled    up     no
  Critical IP Addresses:
   Interface                                   Critical Priority   Probe         Admin    State

This example displays VRRP global and virtual router ID statistics information for this system:

System(rw)->show ip vrrp vlan.0.2010 statistics
Global Statistics
-----------------
Received valid VRRP packets                               0
Received invalid VRRP version                             0
Received packet with invalid VRID                         0
Received packet with invalid source mac address           0
Received IP checksum errors                               0
Received VRRP Checksum errors                             0
Received no VRRP interface                                0
Received no VRID                                          0
Interface up events                                       9
Interface down events                                    11
Interface errors                                          0
VRID Statistics
-----------------
Interface: vlan.0.2010
 VRID:   1
  Received advertisements                 0
  Received priority-0                     0
  Transmitted advertisements              0
  Transmitted priority-0                  0
  VRID not enabled                        0
  Transitions to master                   0
  Transitions to backup                   0
  Transitions to init                     1
  Transitions to interface down           1
  Transitions to preempt delay            0
  Transitions to ifUp delay               0
  Transitions to owner mismatch           0
  Virtual IP list errors                  0
  Invalid type                            0
  Invalid packet length                   0
  Invalid destination IP                  0
  Invalid TTL                             0
  Invalid advertisement interval          0
  Invalid authentication type             0
  Authentication errors                   0
  Authentication mismatches               0
System(rw)->