show ip vrrp

Displays information about IPv4 Virtual Router Redundancy Protocol (VRRP) sessions.
Syntax
show ip vrrp [ brief ]
show ip vrrp [ ethernet unit/slot/port | ve num ]
show ip vrrp [ statistics [ ethernet unit/slot/port | ve num ] ]
show ip vrrp [ ve num [ vrid VRID ] ]
show ip vrrp [ vrid VRID [ ethernet unit/slot/port | ve num ] ]
Parameters
brief
Displays summary information about the VRRP session.
ethernet unit/slot/ port
Displays IPv4 VRRP information only for the specified port. A forward slash “/” must be entered between the unit, slot, and port numbers.
statistics
Displays statistical information about the VRRP session.
ve num
Displays IPv4 VRRP information only for the specified virtual Ethernet port.
vrid VRID
Displays IPv4 VRRP information only for the specified virtual-group ID.
Modes

User EXEC mode

Usage Guidelines

Use this command to display information about IPv4 VRRP sessions, either in summary or full-detail format. You can also specify a virtual group or interface for which to display output.

This command supports IPv4 VRRP. You can modify or redirect the displayed information by using the default Linux tokens (|, >).

The show ip vrrp command displays the following information.

Output field Description
Total number of VRRP routers defined The total number of virtual routers configured and currently running on this RUCKUS ICX device. For example, if the device is running VRRP-E, the total applies only to VRRP-E routers.
Interface The interface on which VRRP or VRRP-E is configured. If VRRP or VRRP-E is configured on multiple interfaces, information for each interface is listed separately.
VRID The ID of the virtual router configured on this interface. If multiple virtual routers are configured on the interface, information for each virtual router is listed in a separate row.
Current Priority The current VRRP or VRRP-E priority of this RUCKUS device for the virtual router.
Flags Codes Whether the backup preempt mode is enabled and which version of VRRP is enabled. If the backup preempt mode is enabled, this field contains a "P". If the mode is disabled, this field is blank.
  • P:Preempt
  • 2:V2—VRRP Version 2
  • 3:V3—VRRP Version 3
  • S:Short-Path-Fwd—Short-path forwarding is enabled
State This device’s VRRP state for the virtual router. The state can be one of the following:
  • Init—The virtual router is not enabled (activated). If the state remains Init after you activate the virtual router, make sure that the virtual router is also configured on the other routers and that the routers can communicate with each other.

    If the state is Init and the mode is incomplete, make sure that you have specified the IP address for the virtual router.

  • Backup—This device is a backup for the virtual router.
  • Master—This device is the master for the virtual router.
Master IP Address The IP address of the router interface that is currently the Master for the virtual router. If the IP address is assigned on this device, “Local” is displayed here.
Backup IP Address The IP addresses of the router interfaces that are currently backups for the virtual router. If the IP address is not known in th routing table, “Unknown” is displayed here.
Virtual IP Address The virtual IP address that is being backed up by the virtual router.
Examples

The following example displays VRRP session information in summary format.

device(config)# show ip vrrp brief

Total number of VRRP routers defined: 2
Flags Codes - P:Preempt 2:V2 3:V3 S:Short-Path-Fwd
Inte- VRID  Current  Flags    State   Master IP Backup IP  Virtual IP
rface       Priority                  Address   Address    Address
----------------------------------------------------------------------
1/1/1  10    255      P2-     Master  Local     Unknown    10.30.30.2
1/1/3  13    100      P2-     Master  Local     Unknown    10.13.13.3

The following example displays IPv4 VRRP configuration information about VRID 1.

device# show ip vrrp vrid 1

Interface 1/1/1
----------------
auth-type no authentication
VRID 1 (index 1)
interface 1/1/1
state master
administrative-status enabled
version v2
mode owner
virtual mac aaaa.bbbb.cccc (configured)
priority 255
current priority 255
track-priority 2
hello-interval 1 sec
backup hello-interval 6