show vrrp

Syntax

show vrrp [brief | detail | interface <INTERFACE-NAME> | interface <LAG-NAME> | interface <VLAN-NAME> | ipv4 | ipv6 | statistics | statistics interface <INTERFACE-NAME> | statistics interface <LAG-NAME> | statistics interface <VLAN-NAME>] 
[vsx-peer]

Description

Shows all VRRP virtual routers information.

Command context

Manager (#)

Parameters

brief

Displays brief output of all VRRP virtual routers

Keywords used in displayed information:
  • 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 is enabled, N if not enabled).

detail

Displays detailed output of all VRRP virtual routers

interface <INTERFACE-NAME>

Displays VRRP information for a specific interface

interface <LAG-NAME>

Displays VRRP information for a specific LAG interface

interface <VLAN-NAME>

Displays VRRP information for a specific VLAN interface

ipv4

Displays IPv4 address family

ipv6

Displays IPv6 address family

statistics

Displays VRRP statistics information for all interfaces

statistics interface <INTERFACE-NAME>

Displays VRRP statistics information for a specific interface

statistics interface <LAG-NAME>

Displays VRRP statistics information for a specific LAG interface

statistics interface <VLAN-NAME>

Displays VRRP statistics information for a specific VLAN interface

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

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

Examples

switch# show vrrp

VRRP is enabled

Interface 1/1/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
  BFD is enabled
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec
  Master Down interval is unknown
  Tracked object ID is 1, and state Down

Interface 1/1/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
  BFD is disabled
  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/1       1   IPv4  100    0    N    Y   MASTER  10.0.0.2(local) 10.0.0.1
  1/1/2       1   IPv4  100    0    N    Y   INIT    AF-UNDEFINED no address
  1/1/2       1   IPv6  100    0    N    Y   INIT    AF-UNDEFINED no address
switch# show vrrp detail

VRRP is enabled

Interface 1/1/1 - VRRPv2 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface 1/1/1 - VRRPv3 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface 1/1/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
  BFD is enabled
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 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
switch# show vrrp interface 1/1/1

VRRP is enabled

Interface 1/1/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
  BFD is enabled
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec
  Master Down interval is unknown
switch# show vrrp interface lag10

VRRP is enabled

Interface lag10 - 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
  BFD is enabled
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec
  Master Down interval is unknown
switch# show vrrp interface vlan100

VRRP is enabled

Interface vlan100 - 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
  BFD is enabled
  Master Router is 10.0.0.2 (local), priority is 100
  Master Advertisement interval is 1000 msec
  Master Down interval is unknown
switch# show vrrp statistics

VRRP is enabled

Interface 1/1/1 - VRRPv2 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface 1/1/1 - VRRPv3 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

VRRP Statistics for interface 1/1/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

Interface 1/1/2 - VRRPv2 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface 1/1/2 - VRRPv3 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

VRRP Statistics for Interface 1/1/2 - Group 1 - Address-Family IPv4
  State is INIT (No Primary Group Address)
  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 1/1/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
switch# show vrrp statistics interface 1/1/1

VRRP is enabled

Interface 1/1/1 - VRRPv2 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface 1/1/1 - VRRPv3 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

VRRP Statistics for interface 1/1/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
switch# show vrrp statistics interface lag10

VRRP is enabled

Interface lag10 - VRRPv2 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface lag10 - VRRPv3 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

VRRP Statistics for interface lag10 - 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
switch# show vrrp statistics interface vlan100

VRRP is enabled

Interface vlan100 - VRRPv2 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

Interface vlan100 - VRRPv3 Statistics
   Invalid group ID packets received : 0
   Invalid version packets received : 0
   Invalid checksum packets received : 0

VRRP Statistics for interface vlan100 - 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