The display vrrp state-change interface vrid command enables the system to trace changes in the status of a specified VRRP group.
Parameter | Description | Value |
---|---|---|
interface-type |
Displays changes in the status of a VRRP group on a specified interface. |
- |
interface-number |
Displays changes in the status of a VRRP group on a specified interface. |
- |
virtual-router-id |
Displays changes in the status of a VRRP group with a specified VRID. |
The value is an integer ranging from 1 to 255. |
Usage Scenario
If a VRRP group does not work properly, the display vrrp state-change interface vrid command can be used to trace changes in the VRRP status. Information about the last 10 changes in the VRRP status can be displayed. The command output includes the time when the status changed, the statuses before and after the change, and change reasons.
The actual command output varies according to the device. The command output here is only an example.
<DEVICE> display vrrp state-change interface gigabitethernet 0/1/1.1 vrid 1
Time SourceState DestinationState Reason
---------------------------------------------------------------
2011-01-27 15:29:45 Backup Master Protocol timer expired
2011-01-27 15:29:42 Initialize Backup Interface up
Item | Description |
---|---|
Time | Time when the VRRP status changed. |
SourceState | Status before the change:
|
DestinationState | Status after the change:
|
Reason | Reason of the VRRP status change:
|