< Home

display vsi protect-group

Function

The display vsi protect-group command displays information about the PW protection group of a specified VSI.

Format

display vsi name vsi-name protect-group [ group-name [ verbose | history ] ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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                                      
Table 1 Description of the display vsi protect-group command output

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:

  • Active: The PW can send service packets.
  • Inactive: The PW cannot send service packets, but can send OAM packets if the PW is Up.

# 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                                  
Table 2 Description of the display vsi protect-group command output

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:

  • manual force switch: The PW switching is triggered by the protect-switch force command.
  • manual clear switch: The PW switching is triggered by the protect-switch clear command.
  • config changed: The PW switching is triggered by configuration changes such as PW addition, PW deletion, or PW priority changes.
  • fault detected: The PW switching is triggered by failures detected by BFD or VCCV.
  • PW down: The PW switching occurs because the active PW goes Down.
  • PW up: The PW switching occurs because the active PW goes Up again.

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:

  • Primary: The PW is a primary PW.
  • Secondary: The PW is a secondary 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                                                  
Table 3 Description of the display vsi protect-group history command output

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:

  • manual force switch: The PW switching is triggered by the protect-switch force command.
  • manual clear switch: The PW switching is triggered by the protect-switch clear command.
  • config changed: The PW switching is triggered by configuration changes such as PW addition, PW deletion, or PW priority changes.
  • fault detected: The PW switching is triggered by failures detected by BFD or VCCV.
  • PW down: The PW switching occurs because the active PW goes Down.
  • PW up: The PW switching occurs because the active PW goes Up again.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >