The display port protect-group command displays information about member interfaces in an interface protection group.
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. |
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.
# 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
Item |
Description |
---|---|
Group ID |
ID of the interface protection group. |
Protect-group member |
Member name of the interface protection group. |
Role |
Interface role:
|
State |
Interface status:
|