< Home

port protect-group

Function

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.

Format

port protect-group protect-group-index

undo port protect-group protect-group-index

Parameters

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.

Views

System 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.

Follow-up Procedure

Run the protect-group member command to add the specified Ethernet interface to an interface protection group.

Example

# Create an interface protection group.

<HUAWEI> system-view
[HUAWEI] port protect-group 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >