show vrrp

Syntax

show vrrp [ brief | detail | interface <INTERFACE-NAME> | statistics ]

Description

Shows VRRP virtual router information.

Command context

Manager (#)

Parameters

brief

Show brief information about all VRRP virtual routers.

detail

Show detailed information about all VRRP virtual routers.

interface

Specify an interface for which to show VRRP virtual routers information.

statistics

Show statistics information for all VRRP virtual routers.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

switch# show vrrp

Interface 1 - Group 1 - Address-Family IPv4
  State is MASTER
  State duration 56 mins 57.826 secs
  Virtual IP address is 10.0.0.1
  Virtual MAC address is 00:00:5e:00:01:01
  Advertisement interval is 1000 msec
  Preemption enabled
  Priority is 100
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec (expires in 631 msec)
  Master Down interval is unknown
  Tracked object ID is 1, and state Down

Interface 2 - Group 1 - Address-Family IPv4
  State is INIT (Interface Down)
  State duration 45 mins 28.313 secs
  Virtual IP address is no address
  Virtual MAC address is 00:00:5e:00:01:01
  Advertisement interval is 1000 msec
  Preemption enabled
  Priority is 100
  Master Router is unknown, priority is unknown
  Master Advertisement interval is unknown
  Master Down interval is unknown

Interface 2 - Group 1 - Address-Family IPv6
  State is INIT (Interface Down)
  State duration 20 mins 19.794 secs
  Virtual IP address is no address
  Virtual secondary IP addresses:
    2201:13::110:4
  Virtual MAC address is 00:00:5e:00:02:01
  Advertisement interval is 1000 msec
  Preemption enabled
  Priority is 100
  Master Router is unknown, priority is unknown
  Master Advertisement interval is unknown
  Master Down interval is unknown
switch# show vrrp brief
 Interface   Grp  A-F   Pri   Time Owner Pre State   Master addr/Group addr
  1           1   IPv4  100    0    N    Y   MASTER  10.0.0.2(local) 10.0.0.1
  2           1   IPv4  100    0    N    Y   INIT    AF-UNDEFINED no address
  2           1   IPv6  100    0    N    Y   INIT    AF-UNDEFINED no address
Definition of columns in the example above:
  • Grp: VRRP virtual router group ID,

  • A-F: Address family.

  • Pri: Priority.

  • Time: Uptime of VRRP virtual router since it moved out of INIT state.

  • Pre: Preempt mode (Y if enabled, N if disabled).

switch# show vrrp detail
Interface 1 - Group 1 - Address-Family IPv4
  State is MASTER
  State duration 1 mins 35.486 secs
  Virtual IP address is 10.0.0.1
  Virtual MAC address is 00:00:5e:00:01:01
  Advertisement interval is 1000 msec
  Version 3
  Preemption enabled
  Priority is 100
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec (expires in 268 msec)
  Master Down interval is unknown
  Tracked object ID is 1, and state Down
  VRRPv3 Advertisements: sent 3931 (errors 0) - rcvd 0
  VRRPv2 Advertisements: sent 0 (errors 0) - rcvd 0
  Group Discarded Packets: 3537
    IP address Owner conflicts: 0
    IP address configuration mismatch: 3537
    Advert Interval errors: 0
    Adverts received in Init state: 0
    Invalid group other reason: 0
  Group State transition:
    Init to master: 0
    Init to backup: 2 (Last change Mon Jun 16 11:19:36.316 UTC)
    Backup to master: 2 (Last change Mon Jun 16 11:19:39.926 UTC)
    Master to backup: 0
    Master to init: 1 (Last change Mon Jun 16 11:17:49.978 UTC)
    Backup to init: 0

Interface 2 - Group 1 - Address-Family IPv4
  State is INIT (Interface Down)
  State duration 49 mins 23.507 secs
  Virtual IP address is no address
  Virtual MAC address is 00:00:5e:00:01:01
  Advertisement interval is 1000 msec
  Version 3
  Preemption enabled
  Priority is 100
  Master Router is unknown, priority is unknown
  Master Advertisement interval is unknown
  Master Down interval is unknown
  VRRPv3 Advertisements: sent 0 (errors 0) - rcvd 0
  VRRPv2 Advertisements: sent 0 (errors 0) - rcvd 0
  Group Discarded Packets: 0
    IP address Owner conflicts: 0
    IP address configuration mismatch: 0
    Advert Interval errors: 0
    Adverts received in Init state: 0
    Invalid group other reason: 0
  Group State transition:
    Init to master: 0
    Init to backup: 0
    Backup to master: 0
    Master to backup: 0
    Master to init: 0
    Backup to init: 0

Interface 2 - Group 1 - Address-Family IPv6
  State is INIT (Interface Down)
  State duration 24 mins 14.988 secs
  Virtual IP address is no address
  Virtual secondary IP addresses:
    2201:13::110:4
  Virtual MAC address is 00:00:5e:00:02:01
  Advertisement interval is 1000 msec
  Preemption enabled
  Priority is 100
  Master Router is unknown, priority is unknown
  Master Advertisement interval is unknown
  Master Down interval is unknown
  VRRPv3 Advertisements: sent 0 (errors 0) - rcvd 0
  VRRPv2 Advertisements: sent 0 (errors 0) - rcvd 0
  Group Discarded Packets: 0
    VRRPv2 incompatibility: 0
    IP address Owner conflicts: 0
    IP address configuration mismatch: 0
    Advert Interval errors: 0
    Adverts received in Init state: 0
    Invalid group other reason: 0
  Group State transition:
    Init to master: 0
    Init to backup: 0
    Backup to master: 0
    Master to backup: 0
    Master to init: 0
    Backup to init: 0
switch# show vrrp interface 1

Interface 1 - Group 1 - Address-Family IPv4
  State is MASTER
  State duration 11 mins 21.617 secs
  Virtual IP address is 10.0.0.1
  Virtual MAC address is 00:00:5e:00:01:01
  Advertisement interval is 1000 msec
  Version 3
  Preemption enabled
  Priority is 100
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec (expires in 11 msec)
  Master Down interval is unknown
switch# show vrrp statistics

VRRP Statistics for interface 1 - Group 1 - Address-Family IPv4
  State is MASTER
  State duration 6 mins 55.006 secs
  VRRPv3 Advertisements: sent 4288 (errors 0) - rcvd 0
  VRRPv2 Advertisements: sent 0 (errors 0) - rcvd 0
  Group Discarded Packets: 3856
    IP address Owner conflicts: 0
    IP address configuration mismatch: 0
    Advert Interval errors: 0
    Adverts received in Init state: 0
    Invalid group other reason: 0
  Group State transition:
    Init to master: 0
    Init to backup: 2 (Last change Mon Jun 16 11:19:36.316 UTC)
    Backup to master: 2 (Last change Mon Jun 16 11:19:39.926 UTC)
    Master to backup: 0
    Master to init: 1 (Last change Mon Jun 16 11:17:49.978 UTC)
    Backup to init: 0

VRRP Statistics for Interface 2 - Group 1 - Address-Family IPv4
  State is INIT (Interface Down)
  State duration 54 mins 43.027 secs
  VRRPv3 Advertisements: sent 0 (errors 0) - rcvd 0
  VRRPv2 Advertisements: sent 0 (errors 0) - rcvd 0
  Group Discarded Packets: 0
    IP address Owner conflicts: 0
    Invalid address count: 0
    IP address configuration mismatch: 0
    Advert Interval errors: 0
    Adverts received in Init state: 0
    Invalid group other reason: 0
  Group State transition:
    Init to master: 0
    Init to backup: 0
    Backup to master: 0
    Master to backup: 0
    Master to init: 0
    Backup to init: 0

VRRP Statistics for Interface 2 - Group 1 - Address-Family IPv6
  State is INIT (Interface Down)
  State duration 29 mins 34.508 secs
  VRRPv3 Advertisements: sent 0 (errors 0) - rcvd 0
  VRRPv2 Advertisements: sent 0 (errors 0) - rcvd 0
  Group Discarded Packets: 0
    IP address Owner conflicts: 0
    IP address configuration mismatch: 0
    Advert Interval errors: 0
    Adverts received in Init state: 0
    Invalid group other reason: 0
  Group State transition:
    Init to master: 0
    Init to backup: 0
    Backup to master: 0
    Master to backup: 0
    Master to init: 0
    Backup to init: 0