The port protect-group command creates an interface protection group and enters the interface protection group view.
The undo port protect-group command deletes the created interface protection group.
By default, no interface protection group is created.
Parameter |
Description |
Value |
---|---|---|
protect-group-index | Specifies the ID of an interface protection group. | The value is an integer that ranges from 0 to 63. |
Usage Scenario
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.
Follow-up Procedure
Run the protect-group member command to add the specified Ethernet interface to an interface protection group.