show vrrp

show vrrp {virtual-router {vr_name}} {detail}

Description

Displays VRRP configuration information for all VRRP VLANs.

Syntax Description

vr_name Specifies a virtual router (VR) for which to display VRRP information.
detail Specifies more detailed VRRP information.

Default

N/A.

Usage Guidelines

The following table describes the significant fields and values that can appear when you enter the different forms of this command:

Field Description
Advertisement Interval Indicates the configured advertisement interval.
Authentication If configured, identifies the VRRP simple password.
IPv6 Router Advertisement Mask IPv6 router advertisement mask.
Master Mac Address The MAC address of the master VRRP router.
P Indicates that the VRRP VLAN is configured for preempt mode, which controls whether a higher priority backup router preempts a lower priority master.
Preempt Indicates that the VRRP VLAN is configured for preempt mode, which controls whether a higher priority backup router preempts a lower priority master.
Pri Priority The priority value of the VRRP VLAN.
State

The current state of the VRRP router. The state includes the following:Init—The VRRP router is in the initial state.

Backup—The VRRP router is a backup router.Master—The VRRP router is the master router.

T Indicates the configured advertisement interval.
TP Indicates the number of tracked pings.
TR Indicates the number of tracked routes.
Tracked IP Routes If configured, displays the IP address and subnet mask of the tracked route(s).
Tracked Pings If configured, displays the:Target IP address you are pinging.Number of seconds between pings to the target IP address.Number of misses allowed before this entry is considered to be failing.
Tracked VLANs If configured, displays the name of the tracked VLAN(s).
Tracking Mode Indicates the VRRP tracking mode, which is either ALL or ANY.
TV Indicates the number of tracked VLANs.
Virtual IP Addr Virtual IP Addresses If configured, the virtual IPv4 or IPv6 address associated with the VRRP VLAN.
Virtual Link-Local Address Virtual IPv6 link local address configured on the interface.
VLAN The name of the VRRP VLAN.
VLAN Name

The name of the VRRP VLAN and whether VRRP is enabled or disabled on the VLAN. The enable/disable state appears as follows:

En—VRRP is enabled on this VLAN.Ds—VRRP is disabled on this VLAN.

VRID The VRRP Router Identification number for the VRRP instance.
VRRP The enabled/disabled state of VRRP on the VLAN.

Example

The following example displays summary VRRP status information for the current VR context:

# show vrrp
                                               Virtual                              Master
   VLAN Name VRID  Pri  IP Address     State     MAC Address       TP/TR/TV/P/T
   v1001(En)      0001  100 51.1.1.1           MSTR    00:00:5e:00:01:01   0   0     0  Y  0.10

Authentication will not be  displayed if its not  configured. 
* (Beta) DUT2.21 # sh vrrp v1001
VLAN:  v1001    VRID:  1        VRRP:  Enabled  State:  MASTER
Virtual Router:  VR-Default
Priority:  100(backup)  Advertisement Interval:  1 sec
Version: v2  Preempt:  Yes   Preempt Delay: 0 sec
 Virtual IP Addresses:
  51.1.1.1
 Accept mode:  Off
 Tracking mode:  ALL
 Tracked Pings:  -
 Tracked IP Routes:  -
 Tracked VLANs:  -

VLAN:  v1001    VRID:  2        VRRP:  Enabled  State:  MASTER
Virtual Router:  VR-Default
Priority:  100(backup)  Advertisement Interval:  1 sec
Version: v3     Preempt:  Yes   Preempt Delay: 0 sec
 Virtual Link Local Address: fe80::30 (Configured)
 Virtual IP Addresses:
  3303::100
 Accept mode:  Off
 Tracking mode:  ALL
 Tracked Pings:  -
 Tracked IP Routes:  -
 Tracked VLANs:  -

If Authentication password is set , the output will be 
* (Beta) DUT2.27 # conf vrrp v1001 vrid 1 authentication simplepassword VRRP_NEW
* (Beta) DUT2.28 # sh vrrp v1001
VLAN:  v1001    VRID:  1        VRRP:  Enabled  State:  MASTER
Virtual Router:  VR-Default
Priority:  100(backup)  Advertisement Interval:  0.10 sec
Version: v2     Preempt:  Yes   Preempt Delay: 0 sec
Authentication:  simple-password  key:  VRRP_NEW
 Virtual IP Addresses:
  51.1.1.1
 Accept mode:  Off
 Tracking mode:  ALL
 Tracked Pings:  -
 Tracked IP Routes:  -
 Tracked VLANs:  -

The following example displays detailed VRRP status information for the current VR context:

#show vrrp detail
VLAN:  t2t1     VRID:  24       VRRP:  Enabled  State:  MASTER
Virtual Router:  VR-Default
Priority:  255(master)  Advertisement Interval:  1 sec
Preempt:  Yes     Authentication:  None
Virtual Link-Local Address: fe80::1
IPv6 Router Advertisement Mask: 64
Virtual IP Addresses: 10.0.0.10
Host-Mobility:  On 
Host-Mobility Exclude-Ports: 1, 10
Tracking mode:  ALL
Tracked Pings:  -
Tracked IP Routes:  -
Tracked VLANs:  -
VLAN:  t2t1     VRID:  39       VRRP:  Enabled  State:  MASTER
Virtual Router:  VR-Default
Priority:  255(master)  Advertisement Interval:  50 centiseconds
Preempt:  Yes     Authentication:  None
Virtual IP Addresses:
2002::10
fe80::204:96ff:fe10:e610
Tracking mode:  ALL
Tracked Pings:  -
Tracked IP Routes:  -
Tracked VLANs:  -

The following example displays VRRP information for all VRs:

#show vrrp virtual-router
VLAN Name VRID Pri Virtual IP Addr State  Master Mac Address  Virtual-Router
vlan_3(En) 0003 200 30.1.2.1         MSTR  00:00:5e:00:01:03    vir_3
vlan_4(En) 0003 200 40.1.2.1         MSTR  00:00:5e:00:01:03    vir_4
vlan_5(En) 0005 100 50.1.2.1         BKUP  00:00:5e:00:01:05    vir_3
vlan_6(En) 0005 100 60.1.2.1         BKUP  00:00:5e:00:01:05    vir_4

History

This command was first available in ExtremeXOS 10.1.

Support for virtual routers was added in ExtremeXOS 12.0.

Support for IPv6 was added in ExtremeXOS 12.7.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the VRRP feature, see the Feature License Requirements document.