The display vsi protect-group command displays information about the PW protection group of a specified VSI.
Parameter | Description | Value |
---|---|---|
name vsi-name |
Specifies the VSI name. |
The value is an existing VSI name. |
group-name |
Specifies the name of a PW protection group. |
The value is an existing PW protection group. |
verbose |
Displays detailed information. |
- |
history |
Displays historical switchover information about PWs in a PW protection group. |
- |
Usage Scenario
After a PW protection group is configured, you can run the display vsi protect-group command to view summary or detailed information about the PW protection group of a specified VSI and check whether PW configurations have taken effect. When maintaining a PW protection group, you can track the running status of the group by viewing historical switchover information about PWs in the group.
Prerequisites
A PW protection group has been created and the primary and secondary PWs have jointed the group.
# Display summary information about the PW protection group of VSI vsi1.
<HUAWEI> display vsi name vsi1 protect-group
Vsi name: vsi1
Protect group num: 1
Protect-group: vsi1
-------------------------------------------------------------------------------
PeerIp:VcId Pref Active
-------------------------------------------------------------------------------
3.3.3.3:10 2 Active
3.3.3.9:10 4 Inactive
Item |
Description |
---|---|
Vsi name |
VSI name. |
Protect group num |
Number of a PW protection group. |
Protect-group |
Name of a PW protection group. |
PeerIp:VcId |
Peer IP address of a PW:VC ID. This pair uniquely identifies a PW. |
Pref |
PW priority specified by running the peer preference command in the protect-group view. |
Active |
Forwarding status of a PW:
|
# Display detailed information about the PW protection group group1 of VSI vsi1.
<HUAWEI> display vsi name vsi1 protect-group group1 verbose Vsi name : vsi1 Protect group : group1 Protect mode : PW redundancy master Reroute policy : delay 30s Last change time : 2012/11/27 11:11:55 Last change action : 3.3.3.9:10 to 3.3.3.3:10 Last change reason : config changed Holdoff remain time: -- Reroute remain time: -- Members : PeerIp:VcId Pri/Sec Active 3.3.3.3:10 Primary Active 3.3.3.9:10 Secondary Inactive
Item |
Description |
---|---|
Protect mode |
PW redundancy mode of a PW protection group: PW redundancy master: The PW redundancy mode is master/slave. |
Reroute policy |
Revertive switching policy of a PW protection group. The default revertive switching delay is 30s. In master/slave mode, you can modify the revertive switching policy by running the reroute command in the protect-group view. |
Last change time |
Last PW switching time. |
Last change action |
Last PW switching action. A PW is uniquely identified by peerIP:VcID. |
Last change reason |
Reason for last PW switching:
|
Holdoff remain time |
Remaining time before a switching is performed.
NOTE:
If the value is --, no switching delay is configured. |
Reroute remain time |
Remaining time before a revertive switching is performed.
NOTE:
If the value is --, no revertive switching delay is configured. |
Members |
Displays members in a PW protection group. |
Pri/Sec |
Primary/secondary status of a PW:
|
# Display historical switchover information about PWs in PW protection group group1 of VSI vsi1.
<HUAWEI> display vsi name vsi1 protect-group group1 history
Vsi name : vsi1
Protect group : group1
Date/Time : 2012/11/27 11:05:40
Action : 3.3.3.9:10 to 3.3.3.3:10
Reason : manual clear switch
Date/Time : 2012/11/27 11:06:29
Action : 3.3.3.3:10 to 3.3.3.9:10
Reason : manual force switch
Date/Time : 2012/11/27 11:06:48
Action : 3.3.3.9:10 to 3.3.3.3:10
Reason : PW down
Date/Time : 2012/11/27 11:11:31
Action : 3.3.3.3:10 to 3.3.3.9:10
Reason : PW up
Date/Time : 2012/11/27 11:11:55
Action : 3.3.3.9:10 to 3.3.3.3:10
Reason : config changed
Item |
Description |
---|---|
Date/Time |
PW switching time. For example, 2011-08-09 16:31:32 indicates that PW switching occurred on 16:31:32 of August 9, 2011. |
Action |
PW switching action. A PW is uniquely identified by peerIP:VcID. |
Reason |
Reason for PW switching:
|