Show Commands

This chapter describes the Cisco NX-OS Virtual Router Redundancy Protocol (VRRP) show commands.

show vrrp

To show information about the Virtual Router Redundancy Protocol (VRRP), use the show vrrp command.

show vrrp [ detail | statistics | summary ] [ interface if-number ] [ vr id ] [ backup | init | master ]

 
Syntax Description

detail

(Optional) Displays detailed information about VRRP.

statistics

(Optional) Displays VRRP statistics.

summary

(Optional) Displays the VRRP summary.

interface if-number

(Optional) Displays information about VRRP on an interface. Use ? to see a list of supported interfaces.

vr id

(Optional) Displays information about VRRP for a group. The id range is from 1 to 255.

backup

(Optional) Displays information about VRRP groups in the backup state.

init

(Optional) Displays information about VRRP groups in the init state.

master

(Optional) Displays information about VRRP groups in the master state.

 
Command Default

Display information for all VRRP groups.

 
Command Modes

Any command mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

Examples

This example shows how to display information about VRRP:

switch(config)# show vrrp
Interface VR IpVersion Pri Time Pre State VR IP addr
---------------------------------------------------------------
Ethernet1/5 1 IPV4 200 200 s Y Init 192.0.1.10
 
switch(config)#
 

This example shows how to display the detailed configuration information about VRRP:

switch(config)# show vrrp detail
 
Ethernet1/5 - Group 1 (IPV4)
State is Init(Administratively down)
Virtual IP address is 192.0.1.10
Priority 200, Configured 200
Forwarding threshold(for VPC), lower: 1 upper: 200
Advertisement interval 200
Preemption enabled
Virtual MAC address is 0000.5e00.0101
Master router is Unknown
 
switch(config)#
 

This example shows how to displayinformation about a specific virtual router:

switch# show vrrp vr 1
Interface VR IpVersion Pri Time Pre State VR IP addr
---------------------------------------------------------------
Ethernet1/5 1 IPV4 200 200 s Y Init 192.0.1.10
switch#
 

Table 1 describes the significant fields shown in the display.

 

Table 1 show vrrp Field Descriptions

Field
Description

Interface

Interface on which VRRP is configured.

VR

ID of the virtual router.

IPVersion

IP address on the interface.

Pri

Priority range of the virtual router.

Time

Checksum of the complete contents of the link state advertisement.

Pre

Preemption state of the virtual router.

State

VRRP group state. The state can be one of the following:

  • Init
  • Backup
  • Master

VR IP addr

Virtual IPv4 address for a VRRP group.

 
Related Commands L

Command
Description

clear vrrp

Clears VRRP statistics.

feature vrrp

Enables the VRRP feature.

vrrp

Creates a virtual router group.