Displays basic Virtual Router Redundancy Protocol (VRRP) configuration information for all configured VRRP addresses, including primary and secondary.
show ip vrrp address [addr {A.B.C.D}] [version <2-3>] [vrf WORD<1-16>] [vrfids WORD<0-512>] [vrid <1-255>]
None
User EXEC
The show ip vrrp address command displays the following information:
Output field |
Description |
---|---|
ADV |
Indicates the Advertisement Interval, in seconds, between sending advertisement messages. |
BACKUP MASTER |
Indicates if the Backup-Master feature is disabled or enabled. |
BACKUP MASTER STATE |
Indicates if the Backup-Master is up. If the switch is in Master state but Backup-Master is enabled, then the BACKUP MASTER STATE will be down. |
CONTROL |
Indicates the virtual router function. Configure the value to enabled to transition the state of the router from initialize to backup. Configure the value to disabled to transition the router from master or backup to initialize. |
CRITICAL IP |
Indicates the IP address of the interface that is critical to VRRP. If that IP interface is down, the VRRP state will transition to Backup, even if it has higher priority. |
CRITICAL IP (ENABLED) |
Indicates if the critical IP feature is enabled. |
FAST ADV |
Indicates the Fast Advertisement Interval, in milliseconds, between sending advertisement messages. When the Fast Advertisement Interval is enabled, the Fast Advertisement Interval is used instead of the regular advertisement interval. |
FAST ADV (ENABLED) |
Indicates the state of fast advertisement. |
HLD DWN |
Specifies the time interval (in seconds) the Hold-down timer has until it expires. If the value is 0, it means the Hold-down timer is not running. This timer will delay the transition from Backup to Master only on a system startup (the VRRP comes from INIT to Backup and determines it should become Master).
|
HOSTNAME |
Displays the SPBM host name of the VRRP primary router for a Distributed Virtual Routing (DvR) interface. |
IP |
Indicates the assigned IP addresses that a virtual router backs up. |
MAC |
Indicates the virtual MAC address of the virtual router in the format 00-00-5E-00-01-<vrrpid>, where the first three octets consist of the IANA OUI; the next two octets indicate the address block of the VRRP protocol; and the remaining octets consist of the vrrpid. |
MASTER |
Indicates the master router real (primary) IP address. |
ORIGIN |
Displays how the VRRP interface was configured, either manually or via DvR. |
PRIO |
Indicates the priority for the virtual router with respect to other virtual routers that are backing up one or more associated IP addresses. Higher values indicate higher priority. A priority of 255 cannot be configured and it is set for the VRRP router that has the same IP as the physical IP addresses (is Address Owner). |
P/V |
Indicates the P(ort)/V(lan) on which the VRRP was configured. |
STATE |
Indicates the current state of the virtual router. initialize—waiting for a startup event backup—monitoring the state or availability of the master router master—forwarding IP addresses associated with this virtual router. |
UP TIME |
Indicates the time interval since this virtual router exited the INIT state. |
VERSION |
Indicates the VRRP version. |
VIRTUAL ADDRESS |
Shows the configured secondary virtual addresses. |
VRRP ID |
Indicates the virtual router ID on a VRRP router. |
The following example displays information for the VRRP backup address.
Switch:1>show ip vrrp address ==================================================================================================== VRRP Info - GlobalRouter ==================================================================================================== VRRP ID P/V IP MAC STATE CONTROL PRIO ADV VERSION ORIGIN ---------------------------------------------------------------------------------------------------- 10 2 203.0.113.2 00:00:5e:00:01:0a Init Disabled 255 1 2 config 1 222 11.1.1.1 00:00:5e:00:01:01 Init Disabled 255 1 2 config 1 223 15.1.1.1 00:00:5e:00:01:01 Init Disabled 255 1 3 config 3 out of 3 Total Num of VRRP Address Entries displayed. VRRP ID P/V MASTER UP TIME HLD DWN CRITICAL IP(ENABLED) VERSION HOSTNAME -------------------------------------------------------------------------------------------------------- 10 2 0.0.0.0 0 day(s), 00:00:00 0 0.0.0.0 (No) 2 1 222 0.0.0.0 0 day(s), 00:00:00 0 0.0.0.0 (No) 2 1 223 0.0.0.0 0 day(s), 00:00:00 0 0.0.0.0 (No) 3 3 out of 3 Total Num of VRRP Address Entries displayed. VRRP ID P/V BACKUP MASTER BACKUP MASTER STATE FAST ADV (ENABLED) VERSION -------------------------------------------------------------------------------------------------------- 10 2 disable down 200 (NO) 2 1 222 disable down 200 (NO) 2 1 223 disable down 200 (NO) 3 3 out of 3 Total Num of VRRP Address Entries displayed. VRRP ID P/V VIRTUAL ADDRESS -------------------------------------------------------------------------------------------------------- 1 222 11.1.2.1 1 223 15.1.2.1 2 out of 2 Total Num of VRRP Virtual Address Entries displayed.