Parameter | Description | Value |
---|---|---|
interface interface-type interface-number |
Specifies the type and number of an interface. |
The interface type can only be Ethernet. |
virtual-id |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
verbose |
Displays detailed information about the current VRRP group. |
- |
brief |
Displays brief information about the current VRRP group. |
- |
Usage Scenario
The display vrrp command displays information about VRRP groups.
Precautions
At least one VRRP group must be configured before you run the display vrrp command; otherwise, no information is displayed.
The actual command output varies according to the device. The command output here is only an example.
<~DEVICE> display vrrp interface Eth-Trunk1 verbose Eth-Trunk1 | Virtual Router 20 State : Initialize Virtual IP : 10.20.20.1 Master IP : 0.0.0.0 Local IP : 10.20.20.20 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 0 Preempt : YES Delay Time : 0s Remain : -- Hold Multiplier: 4 TimerRun : 1s TimerConfig : 1s Auth Type : MD5 Virtual MAC : XXXX-XXXX-XXXX Check TTL : YES Config Type : member-vrrp Backup-forward : disabled Arp Copy : disabled Create Time : 2019-09-06 12:45:12 Last Change Time : 0000-00-00 00:00:00
<DEVICE> display vrrp interface gigabitethernet 0/1/0 verbose GE0/1/0 | Virtual Router 1 State : Master Virtual IP : 1.1.1.2 Master IP : 1.1.1.1 Local IP : 1.1.1.1 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 100 Preempt : YES Delay Time : 0s Remain : -- Hold Multiplier: 4 TimerRun : 1s TimerConfig : 1s Auth Type : MD5 Virtual MAC : 0000-5e00-0101 Check TTL : YES Config Type : normal-vrrp Backup-forward : disabled Create Time : 2019-07-27 07:56:49 Last Change Time : 2019-07-27 07:56:56
Item | Description |
---|---|
Virtual IP | Virtual IP address of the VRRP group. |
Virtual MAC | Virtual MAC address of the VRRP group. |
State | VRRP group state of the device, which can be:
|
Master IP | IP address of the primary interface on the master device.
|
Master | Number of VRRP groups in the Master state. |
Local IP | IP address of the local interface on the master or slave device. |
PriorityRun | Running priority of the device in the VRRP group, that is, the current priority. If the device is an IP address owner in a VRRP group, the device running priority is displayed as 255 in the VRRP group. |
PriorityConfig | Priority configured using the vrrp vrid priority command for the device. For an IP address owner, the default priority 100 but not 255 is displayed. |
MasterPriority | Priority of the master device in the VRRP group. If the Router is an IP address owner in a VRRP group, the device master priority is displayed as 255 in the VRRP group. |
Preempt | Preemption flag. YES indicates that the preemption mode is used. |
Delay Time | Preemption delay, in seconds. |
Remain | Remaining time before preemption, in seconds. This field is displayed only when verbose is specified. |
Hold Multiplier | Number of VRRP heartbeat timeouts. |
TimerRun | Timer value of the VRRP group, in seconds. |
TimerConfig | Interval at which VRRP packets are sent, in seconds. |
Auth Type | VRRP packet authentication mode, which can be:
|
Check TTL | Whether to check the TTL of a VRRP packet. It can be YES or NO. |
Config Type | Type of the VRRP group, which can be:
|
Arp Copy | - |
Create Time | Time when the VRRP group was created. |
Last Change Time | Time when the state of the VRRP group last changed. |
GE0/1/0 | Virtual Router 1 | Name of the interface configured with the VRRP group and the ID of the VRRP group. |
Backup | Number of the VRRP groups in the backup state. |