display vrrp [ interface interface-type interface-number ] [ virtual-router-id ] [ brief ]
display vrrp { interface interface-type interface-number [ virtual-router-id ] | virtual-router-id } verbose
Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays the status of all VRRP groups on the specified interface.
|
- |
virtual-router-id |
Displays the status of a VRRP group with the specified VRID. |
The VRID of the VRRP group must have been created. |
brief |
Displays brief information about a specified VRRP group. If this parameter is not specified, detailed information about a VRRP group is displayed. |
- |
verbose |
Displays detailed information about a VRRP group. |
- |
# Display information about all VRRP groups on the switch.
<HUAWEI> display vrrp Vlanif100 | Virtual Router 1 State : Master Virtual IP : 10.1.1.100 Master IP : 10.1.1.2 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay Time : 20 s TimerRun : 2 s TimerConfig : 2 s Auth type : MD5 Auth key : ****** Virtual MAC : 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Backup-forward : disabled Track IF : Eth-Trunk0 Priority reduced : 60 IF state : UP Track BFD : 69 Priority reduced : 10 BFD-session state : UP Create time : 2011-10-07 15:43:42 UTC-08:00 Last change time : 2011-10-07 15:44:03 UTC-08:00
Item |
Description |
---|---|
Vlanif100 | Virtual Router 1 |
Interface where the VRRP group is configured and VRID of the VRRP group. |
State |
VRRP status of the device:
|
Virtual IP |
Virtual IP address of a VRRP group. To configure a virtual IP address for a VRRP group, run the vrrp vrid virtual-ip command. |
Master IP |
Primary IP address of the interface configured with the VRRP group on the master. |
PriorityRun |
Priority of the switch when the VRRP group runs. If the switch is the IP address owner in a VRRP group, the running priority of the switch in the group is displayed as 255. |
PriorityConfig |
Priority configured for the switch using the vrrp vrid priority command. If the switch is the IP address owner and this value is not configured, the default priority 100 but not 255 is displayed. |
MasterPriority |
Priority of the master in the VRRP group. If the switch is the IP address owner in a VRRP group, the priority of the switch in the group is displayed as 255. |
Preempt |
Preemption mode:
|
Delay Time |
Preemption delay, in seconds. To set the preemption delay, run the vrrp vrid preempt-mode timer delay command. |
TimerRun |
Interval at which the master in the VRRP group sends VRRP Advertisement packets, 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 Advertisement packet authentication mode:
|
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 of the VRRP group. |
Check TTL |
Whether the TTL value of a VRRP Advertisement packet is checked:
|
Config type |
VRRP group type:
|
Backup-forward |
Whether the backup is enabled to forward traffic:
To configure the backup to forward traffic, run the vrrp vrid backup-forward command. |
Track IF |
Name of a monitored interface when the interface monitoring function of VRRP backup group is enabled. To configure the parameter, run the vrrp vrid track interface command. |
Priority reduced or Priority increased |
Value to which the devices decreases or increases a priority if the tracked interface, BFD session, or EFM session goes Down. When the interface, BFD session, or EFM session tracked by the VRRP backup group goes Down, and the priority of the VRRP backup group is configured to increase, Priorityincreased is displayed. To configure the parameter, run the vrrp vrid track bfd-session or vrrp vrid track interface command. |
IF state |
Status of the interface monitored by VRRP:
|
Track BFD |
Local discriminator or name of the BFD session associated with the VRRP group. This field is displayed when only the BFD session is associated with the VRRP group. To configure the BFD session associate with the VRRP group, run the vrrp vrid track bfd-session command. |
BFD-session state |
Status of the BFD session associated with the VRRP group:
|
Create time |
Time when the VRRP group was created. |
Last change time |
Last time the VRRP group status changed. |
# Display brief information about all VRRP groups on the switch.
<HUAWEI> display vrrp brief
Total:1 Master:0 Backup:0 Non-active:1 VRID State Interface Type Virtual IP ---------------------------------------------------------------- 1 Initialize Vlanif23 Normal 10.1.1.100
Item |
Description |
---|---|
VRID |
VRID of the VRRP group. |
State |
VRRP status of the switch:
|
Interface |
Interface configured with the VRRP group. |
Type |
Type of a VRRP group:
|
Virtual IP |
Virtual IP address of the VRRP group. |
Total |
Number of VRRP groups. |
Master |
Number of VRRP groups in Master state. |
Backup |
Number of VRRP groups in Backup state. |
Non-active |
Number of VRRP groups in Non-active state. |