< Home

trunkport

Function

The trunkport command adds a member interface in the Eth-Trunk interface view.

The undo trunkport command deletes a member interface in the Eth-Trunk interface view.

By default, no member interface is added to an Eth-Trunk.

Format

trunkport interface-type { interface-number1 [ to interface-number2 ] } &<1-16> [ mode { active | passive } ]

undo trunkport interface-type { interface-number1 [ to interface-number2 ] } &<1-16>

Parameters

Parameter

Description

Value

interface-type interface-number1 [ to interface-number2 ]

Specifies the type and number of an interface.
  • interface-type specifies the interface type.
  • interface-number1 specifies the number of the first interface.
  • interface-number2 specifies the number of the last interface. The value of interface-number2 must be larger than the value of interface-number1. interface-number1 and interface-number2 specify the range of interfaces. If to interface-number2 is not specified, only one interface is specified.

-

mode { active | passive }
Indicates the mode in which an Eth-Trunk member interface sends packets. This parameter is valid for only the Eth-Trunk in LACP mode. By default, the mode an Eth-Trunk member interface sends packets is active.
  • active: indicates that an Eth-Trunk member interface proactively sends negotiation packets.
  • passive: indicates that an Eth-Trunk member interface sends packets to negotiate with its remote end only after receiving a packet from its remote end.

-

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

An Eth-Trunk contains a maximum of 32 member interfaces on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S, 16 member interfaces on the S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, and S6720S-SI, and 8 member interfaces on other models.

On the S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI, you can run the assign trunk command to set the value, and run the display trunk configuration command to check the configuration.

Example

# Add GigabitEthernet0/0/1 to Eth-Trunk 1.

<HUAWEI> system-view
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] trunkport gigabitethernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >