< Home

protect-group member

Function

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.

Format

protect-group member interface-type interface-number { master | standby }

undo protect-group member interface-type interface-number

Parameters

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.

-

Views

Interface protection group view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Add GigabitEthernet0/0/1 to an interface protection group.

<HUAWEI> system-view
[HUAWEI] port protect-group 1
[HUAWEI-protect-group1] protect-group member gigabitethernet 0/0/1 master
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >