The protect-group member command adds the specified Ethernet interface to an interface protection group.
The undo protect-group member command deletes an Ethernet interface from an interface protection group.
By default, no Ethernet interface is added to an interface protection group.
protect-group member interface-type interface-number { master | standby }
undo protect-group member interface-type interface-number
Parameter |
Description |
Value |
---|---|---|
interface-type interface-number | Specifies the type and number of the interface to be added to an interface protection group. | - |
master | Indicates the working interface. | - |
standby | Indicates the protected interface. | - |
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.
Prerequisites
An interface protection group has been created using the port protect-group command.
Precautions
An interface protection group contains only a working interface and a protected interface.