< Home

display vrrp state-change interface vrid

Function

The display vrrp state-change interface vrid command displays status changes of a specified VRRP group. This command can display a maximum of 10 of the latest status changes of a VRRP group.

Format

display vrrp state-change interface interface-type interface-number vrid virtual-router-id

Parameters

Parameter

Description

Value

interface-type interface-number

Specifies the type and number of an interface where status changes of a VRRP group are displayed.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

vrid virtual-router-id

Specifies the VRID of a VRRP group.

The VRID of the VRRP group must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When the VRRP status becomes abnormal, run the display vrrp state-change interface vrid command to view the last 10 status changes of the VRRP group, including the time at which the VRRP group status changed, the VRRP group status before and after the change, and the cause of the VRRP group status change. The command output helps you locate faults.

Example

# Display status changes of VRRP group 1 on VLANIF 100.

<HUAWEI> display vrrp state-change interface vlanif 100 vrid 1
  Time                      SourceState   DestState     Reason
  ---------------------------------------------------------------
  2012-01-27 15:29:45       Backup        Master        Protocol timer expired 
  2012-01-27 15:29:42       Initialize    Backup        Interface UP 
Table 1 Description of the display vrrp state-change interface vrid command output

Item

Description

Time

Time when the VRRP group status changed.

SourceState

VRRP group status before the change:

  • Master

  • Backup

  • Initialize

DestState

VRRP group status after the change:

  • Master

  • Backup

  • Initialize

Reason

Cause of the VRRP status change:
  • Admin-vrrp drove

  • BFD configure deleted

  • CFM session down

  • CFM session up

  • EFM configure deleted

  • EFM session down

  • EFM session up

  • Interface up

  • Interface down

  • Ignore interface down

  • Link BFD session down

  • Link BFD session up

  • Link BFD session deleted

  • Link BFD down-number changed

  • Peer BFD session down

  • Priority calculation

  • Protocol timer expired

  • Track interface

  • Track BFD session

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