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 ]
|
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.
|
Display information for all VRRP groups.
Any command mode
|
Release
|
Modification
|
|
5.0(3)N1(1)
|
This command was introduced.
|
This example shows how to display information about VRRP:
This example shows how to display the detailed configuration information about VRRP:
This example shows how to displayinformation about a specific virtual router:
The table below describes the significant fields shown in the display.
|
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:
|
|
VR IP addr
|
Virtual IPv4 address for a VRRP group.
|
|
Command
|
Description
|
|---|---|
|
clear vrrp
|
Clears VRRP statistics.
|
|
feature vrrp
|
Enables the VRRP feature.
|
|
vrrp
|
Creates a virtual router group.
|