Showing extended VLAN VRRP

Perform this procedure to display the extended VRRP configuration for all VLANs or a specified VLAN on the device.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Show the extended VRRP configuration for all VLANs on the device or for the specified VLAN:

    show ip vrrp interface vlan [<1-4059>] [portList] verbose [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

Switch:1#show ip vrrp interface vlan 

================================================================================
                                   Vlan Vrrp
================================================================================
VLAN VRF              VRRP IP              VIRTUAL          
ID   NAME             ID   ADDRESS         MAC ADDRESS      
--------------------------------------------------------------------------------
200  GlobalRouter     17   9.9.9.42        00:00:5e:00:01:11

All 1 out of 1 Total Num of Vlan Vrrp displayed

Variable definitions

Use the data in the following table to use the show ip vrrp interface vlan command.

Variable

Value

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

portList

Specifies the slot or port number of a range of ports.

vrf WORD<1-16>

Specifies the name of the VRF.

vrfids WORD<0-512>

Specifies the ID of the VRF and is an integer in the range of 0–512.

Use the data in the following table to use the show ip vrrp interface vlan [<1-4059>] [portList] verbose [vrf WORD<1-16>] [vrfids WORD<0-512>] command output.

Variable

Value

VLAN ID

Indicates the VLAN ID.

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

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.

PRIORITY

Indicates the priority for the virtual router (for example, master election) with respect to other virtual routers that are backing up one or more associated IP addresses. Higher values indicate higher priority.

A priority of 0, which you cannot configure, indicates that this router ceased to participate in VRRP and a backup virtual router transitions to become a new master.

Use a priority of 255 for the router that owns the associated IP addresses.

MASTER IPDDR

Indicates the master router real (primary) IP address. The master IP address is listed as the source in the VRRP advertisement last received by this virtual router.

ADVERTISE INTERVAL

Indicates the time interval, in seconds, between sending advertisement messages. Only the master router sends VRRP advertisements.

CRITICAL IPADDR

Indicates the IP address of the interface that causes a shutdown event.

HOLDDOWN_TIME

Indicates the configured time (in seconds) that the system waits before it preempts the current VRRP master.

ACTION

Indicates the trigger for an action on this VRRP interface. Options include none and preemptHoldDownTimer.

CRITICAL IP ENABLE

Indicates that a user-defined critical IP address is enabled. No indicates the use of the default IP address (0.0.0.0).

BACKUP MASTER

Indicates the state of designating a backup master router.

BACKUP MASTER STATE

Indicates the state of the backup master router.

FAST ADV INTERVAL

Indicates the time interval, in milliseconds, between sending Fast Advertisement messages. When the Fast Advertisement Interval is enabled, the Fast Advertisement Interval is used instead of the regular advertisement interval.

FAST ADV ENABLE

Indicates the Fast Advertisement Interval status.