< Home

display vrrp state-change interface vrid

Function

The display vrrp state-change interface vrid slot command enables the system to trace changes in the status of a specified VRRP backup group on the specified slot. Information about the last 10 changes in the VRRP status can be displayed.

Format

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

Parameters

Parameter Description Value
interface-type interface-number Displays changes in the status of a VRRP backup group on a specified interface. -
vrid virtual-router-id Displays changes in the status of a VRRP backup group with a specified VRID. The value is an integer ranging from 1 to 255.

Views

All view

Default Level

1: Monitoring level

Usage Guidelines

If a VRRP backup group works abnormally, the display vrrp state-change interface vrid command can be used to trace changes in the VRRP status on the specified slot. Information about the last 10 changes in the VRRP status can be displayed. The command output includes the time when the status changed, the status before and after the change, and reasons for changes.

Example

# Display changes in the status of VRRP backup group 1 on GigabitEthernet 0/0/1.

<sysname> display vrrp state-change interface GigabitEthernet 0/0/1 vrid 1
Time                               SourceState  DestState   Reason
-------------------------------------------------------------------------------
2012-05-19 20:36:42                Initialize   Backup      interface up
2012-05-19 20:36:45                Backup       Master      protocol timer expired
Table 1 Description of the display vrrp state-change interface vrid command output

Item

Description

Time

Time when the VRRP status changed

SourceState

Status before a change happens:

  • Master
  • Backup
  • Initialize

DestState

Status after a change happened:
  • Master
  • Backup
  • Initialize

Reason

Reason why the VRRP status changes:

  • priority calculation
  • protocol timer expired
  • link BFD session down
  • link BFD session up
  • link BFD session deleted
  • peer BFD session down
  • interface up
  • interface down
  • admin-vrrp drove
  • BFD configure deleted
  • state was master in old main-board
  • EFM configure deleted
  • EFM session down
  • EFM session up
  • ignore interface down
  • CFM session down
  • CFM session up
  • link BFD down-number changed
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >