< Home

Configuring Interface Pair Using the CLI

This section describes how to configure interface pair using the CLI.

Context

An interface pair is a pair of incoming and outgoing interfaces of the same type. After an interface pair is formed, the traffic enters the incoming interface of the interface pair is forwarded out of the outgoing interface in the interface pair, without MAC address table lookup. If the incoming and outgoing interfaces are the same interface, the packets entering the interface are forwarded out of the same interface after being processed.

If the incoming and outgoing interfaces are the same interface, do not send broadcast traffic to the interface. Otherwise, a local loopback may occur on the connected device.

Procedure

  1. Access the system view.

    system-view

  2. Access the view of an interface pair.

    pair-interface name name

  3. Add an interface to the existing interface pair.

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

    The interface 1 and interface 2 to be added to the interface pair must be Layer-2 interfaces. Their working mode must have been configured to be interface pair mode by the detect-mode inline command.

  4. Optional: Enable the VLAN disassociation function.

    vlan obscure enable

    For one flow, this function must be enabled if the request and response packets received by the FW belong to different VLANs. Otherwise, services are interrupted.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic