display vrrp

Function

The display vrrp command displays the status and parameters of a VRRP group.

Format

display vrrp [ [ interface { interface-name | interface-type interface-number } [ virtual-id ] [ [ verbose ] | [ brief ] ] ] | [ brief ] ]

display vrrp virtual-id [ [ verbose ] | [ brief ] ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vrrp read

Usage Guidelines

Usage Scenario

The display vrrp command displays information about VRRP groups.

  • If you do not specify the interface-type, interface-number nor virtual-id parameter, detailed information about all VRRP groups on the device is displayed.
  • If you specify only the interface-type and interface-number parameters, detailed information about all VRRP groups on the specified interface is displayed.
  • If you specify the interface-type, interface-number and virtual-id parameters, detailed information about the specified VRRP group on the specified interface is displayed.

Precautions

At least one VRRP group must be configured before you run the display vrrp command; otherwise, no information is displayed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about VRRP groups on Eth-Trunk 1.
<~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
# Display the information about VRRP groups on GE0/1/0.
<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
Table 1 Description of the display vrrp command output
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: The device is the master device in the VRRP group.
  • Backup: The device is the backup device in the VRRP group.
  • Initialize: All VRRP groups originate from this state. When the state of an interface is Down or administratively Down, the status of the VRRP group on the interface is switched to Initialize.
Master IP

IP address of the primary interface on the master device.

  • 0.0.0.0 is displayed in this field if the service VRRP state is backup.
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:

  • NONE: No authentication is configured.
  • SIMPLE TEXT: Simple authentication is configured.
  • MD5: MD5 authentication is configured.
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:

  • normal-vrrp: common VRRP group.
  • admin-vrrp: admin VRRP group.
  • member-vrrp: member VRRP group.
  • lb-vrrp: VRRP LB admin group.
  • lb-member-vrrp: VRRP LB member group.
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >