< Home

pair

Function

The pair command adds an interface to an existing interface pair.

The undo pair command deletes an interface from an interface pair.

Format

pair { interface-name1 | interface-type1 interface-number1 } { interface-name2 | interface-type2 interface-number2 }

undo pair

Parameters

Parameter Description Value

interface-name1 | interface-type1 interface-number1

Specifies the interface pair ID.

The value is an integer ranging from 1 to 1000.

interface-name2 | interface-type2 interface-number2

Specifies the interface type.

Interfaces that can form an interface pair include Layer-2 Ethernet interfaces and their subinterfaces and Layer-2 Eth-Trunk interfaces and their subinterfaces.

Views

Interface pair view

Default Level

2: Configuration level

Usage Guidelines

Interfaces that can form an interface pair include Layer-2 Ethernet interfaces and Layer-2 Eth-Trunk interfaces. An Ethernet interface can form an interface pair only with another Ethernet interface, and an Eth-Trunk interface can form an interface pair only with another Eth-Trunk interface.

Example

# Bind subinterfaces Eth-Trunk 1 and Eth-Trunk 2 into an interface pair.

<sysname> system-view
[sysname] pair-interface name abc
[sysname-pair-interface-abc] pair Eth-Trunk 1 Eth-Trunk 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >