< Home

display port protect-group

Function

The display port protect-group command displays information about member interfaces in an interface protection group.

Format

display port protect-group { all | protect-group-index }

Parameters

Parameter

Description

Value

all

Displays information about all interface protection groups and their member interfaces.

-

protect-group-index

Displays information about member interfaces in the specified interface protection group.

The value is an integer that ranges from 0 to 63.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Hosts are usually connected to an external network through a default gateway. If the outbound interface of the default gateway fails, the hosts cannot communicate with the external network, interrupting normal service transmission and degrading device reliability. The port protection function solves this problem. Without changing the networking, you can add two interfaces on the device to a port protection group to implement interface backup in active/standby mode. When the active interface fails, services are immediately switched to the standby interface, ensuring non-stop service transmission.

The display port protect-group command displays information about member interfaces in an interface protection group.

Example

# Display information about interface protection group 1 and its member interfaces.

<HUAWEI> display port protect-group 1
  Group ID : 1    
-----------------------------------------------    
  Protect-group member        Role      State   
-----------------------------------------------      
  GigabitEthernet0/0/1        Master    Work    
  GigabitEthernet0/0/2        Standby   Protect  
Table 1 Description of the display port protect-group command output

Item

Description

Group ID

ID of the interface protection group.

Protect-group member

Member name of the interface protection group.

Role

Interface role:

  • Master: working interface
  • Standby: protected interface

State

Interface status:

  • Work: working state
  • Protect: protection state
  • Down: the interface is physically down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >