The display vrrp command displays the status and configuration parameters of the VRRP backup group.
| Parameter | Description | Value |
|---|---|---|
| interface interface-type interface-number | Displays the status of VRRP backup groups on a specified interface. | - |
| virtual-router-ID | Displays the status of a specified VRRP backup group. | The value is an integer ranging from 1 to 255. |
| brief | Displays brief information about the VRRP backup group. | - |
You can view the status and configuration parameters of the current VRRP backup group:
# Display all VRRP backup groups associated with the FW.
HRP_M<sysname> display vrrp GigabitEthernet0/0/1 | Virtual Router 1 State : Master Virtual IP : 10.100.10.1 Master IP : 10.100.10.10 PriorityRun : 120 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 60 s TimerConfig : 60 s Auth Type : SIMPLE Auth key : ****** Virtual Mac : 0000-5e00-0101 Check TTL : YES Config type : vgmp-vrrp Backup-forward : disabled Create time : 2015-07-21 16:33:58 UTC+08:00 Last change time : 2015-07-21 16:33:58 UTC+08:00 GigabitEthernet0/0/1 | Virtual Router 2 State : Master Virtual IP : 10.100.30.1 Master IP : 10.100.30.10 PriorityRun : 120 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 60 s TimerConfig : 60 s Auth Type : SIMPLE Auth key : ****** Virtual Mac : 0000-5e00-0102 Check TTL : YES Config type : vgmp-vrrp Backup-forward : disabled Create time : 2015-07-21 16:34:58 UTC+08:00 Last change time : 2015-07-21 16:34:58 UTC+08:00 GigabitEthernet0/0/3 | Virtual Router 3 State : Master Virtual IP : 10.100.50.1 Master IP : 10.100.50.10 PriorityRun : 120 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 60 s TimerConfig : 60 s Auth Type : SIMPLE Auth key : ****** Virtual Mac : 0000-5e00-0103 Check TTL : YES Config type : vgmp-vrrp Backup-forward : disabled Create time : 2015-07-21 16:35:58 UTC+08:00 Last change time : 2015-07-21 16:35:58 UTC+08:00
# Display information about all VRRP backup groups on the interface.
HRP_M<sysname> display vrrp interface GigabitEthernet 0/0/1 GigabitEthernet0/0/1 | Virtual Router 1 State : Master Virtual IP : 10.100.10.1 Master IP : 10.100.10.10 PriorityRun : 120 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 60 s TimerConfig : 60 s Auth Type : SIMPLE Auth key : ****** Virtual Mac : 0000-5e00-0101 Check TTL : YES Config type : vgmp-vrrp Backup-forward : disabled Create time : 2015-07-21 16:33:58 UTC+08:00 Last change time : 2015-07-21 16:33:58 UTC+08:00 GigabitEthernet0/0/1 | Virtual Router 2 State : Master Virtual IP : 10.100.30.1 Master IP : 10.100.30.10 PriorityRun : 120 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 60 s TimerConfig : 60 s Auth Type : SIMPLE Auth key : ****** Virtual Mac : 0000-5e00-0102 Check TTL : YES Config type : vgmp-vrrp Backup-forward : disabled Create time : 2015-07-21 16:34:58 UTC+08:00 Last change time : 2015-07-21 16:34:58 UTC+08:00
# Display information about the specified VRRP backup groups on the interface.
HRP_M<sysname> display vrrp interface GigabitEthernet 0/0/1 1 GigabitEthernet0/0/1 | Virtual Router 1 State : Master Virtual IP : 10.100.10.1 Master IP : 10.100.10.10 PriorityRun : 120 PriorityConfig : 100 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 60 s TimerConfig : 60 s Auth Type : SIMPLE Auth key : ****** Virtual Mac : 0000-5e00-0101 Check TTL : YES Config type : vgmp-vrrp Backup-forward : disabled Create time : 2015-07-21 16:33:58 UTC+08:00 Last change time : 2015-07-21 16:33:58 UTC+08:00
Item |
Description |
|---|---|
GigabitEthernet0/0/x | Virtual Router y |
Interface where the VRRP backup group resides and ID of the VRRP backup group. |
State |
VRRP status:
|
Virtual IP |
Virtual IP address. |
Master IP |
IP address of the main interface on the master device. |
PriorityRun |
Priority of a VRRP backup group. |
PriorityConfig |
Configured priority. |
MasterPriority |
Priority value of the Master device in the VRRP backup group |
Preempt |
Preemption mode:
|
Delay Time |
Delay time (seconds) in the preemption mode. |
TimerRun |
Current value of the VRRP timer, in seconds. |
TimerConfig |
Configured interval at which the master in the VRRP group sends VRRP Advertisement packets, in seconds. To set the interval at which the master in the VRRP group sends VRRP Advertisement packets, run the vrrp vrid timer advertise command. |
Auth type |
VRRP packet authentication type:
To set an authentication mode, run the vrrp vrid authentication-mode command. |
Auth key |
Authentication key. If authentication is configured, ****** is displayed. If no authentication is configured, this field is not displayed. |
Virtual MAC |
Virtual MAC address. |
Check TTL |
Whether to check TTL of a VRRP packet:
|
Config type |
Type of a VRRP backup group:
|
Backup-forward |
Whether a backup device is enabled to forward traffic:
|
Create time |
Date and time when the VRRP backup group was created. |
Last change time |
Last time for the status of the VRRP backup group to change. |