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. To enter User EXEC mode, log on to the switch.
  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           VERSION  ORIGIN
ID   NAME             ID   ADDRESS         MAC ADDRESS
------------------------------------------------------------------------------
2    GlobalRouter     10   203.0.113.2     00:00:5e:00:01:0a    2     config
222  GlobalRouter     1    192.0.2.1       00:00:5e:00:01:01    2     config
223  GlobalRouter     1    198.51.100.1    00:00:5e:00:01:01    3     config

Variable Definitions

The following table defines parameters for 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 command output with the optional verbose parameter.

Variable

Value

VLAN ID

Indicates the VLAN ID.

VRRP ID

Indicates the virtual router ID.

VRF NAME

Indicates the associated VRF name, if applicable.

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 IPADDR

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.

VERSION

Indicates the VRRP version.

HOSTNAME

Note:

Exception: not supported on 5320 Series or 5420 Series.

Displays the SPBM host name of the VRRP primary router for a Distributed Virtual Routing (DvR) interface.

ORIGIN

Note:

Exception: not supported on 5320 Series or 5420 Series.

Displays how the VRRP interface was configured, either manually or through DvR.

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.

MASTER ADV INTERVAL (ms)

On the VRRPv3 master, the master advertisement interval is same as the advertisement interval. On the VRRPv3 Backup, the master advertisement interval is set to the Advertisement configured on the Master (received in the packet).

PREEMPT MODE

Indicates if the router operates in preempt mode. If a new router is added to the network with its priority higher than the existing routers, then the new router becomes the master.

PSEUDO-HEADER CHECKSUM

Specifies the type of checksum computation, with Pseudo Header or without Pseudo Header.