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.
| 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. |
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.
# 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
Item |
Description |
|---|---|
Time |
Time when the VRRP status changed |
SourceState |
Status before a change happens:
|
DestState |
Status after a change happened:
|
Reason |
Reason why the VRRP status changes:
|