< Home

interface eth-trunk

Function

The interface eth-trunk command creates an Eth-Trunk interface.

The undo interface eth-trunk command removes an existing Eth-Trunk interface.

Format

interface eth-trunk trunk-id [.subnumber ]

undo interface eth-trunk trunk-id [.subnumber ]

Parameters

Parameter Description Value

trunk-id

Specifies the trunk ID.

The value is an integer ranging from 0 to 63.

subnumber

Specifies the number of the Eth-Trunk sub-interface.

The value is an integer ranging from 1 to 4096.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The interface parameters must be configured in the interface view. You must create an Eth-Trunk interface before you configure it.

Run the interface eth-trunk trunk-id command in the system view. If the Eth-Trunk exists, enter the Eth-Trunk interface view. If the LAG that corresponds to trunk-id does not exist, create an aggregation group.

Ensure that an Eth-Trunk does not contain any member interfaces before deleting the Eth-Trunk. You can delete member interfaces by running the undo eth-trunk command in the Ethernet interface view.

The undo interface eth-trunk command cannot be used in the system view of a virtual system.

Example

# Create the Eth-Trunk interface 1.

<sysname> system-view
[sysname] interface eth-Trunk 1
[sysname-Eth-Trunk1]

# Create an Eth-Trunk sub-interface numbered 10.10.

<sysname> system-view
[sysname] interface eth-Trunk 10
[sysname-Eth-Trunk10] quit
[sysname] interface eth-Trunk 10.10
[sysname-Eth-Trunk10.10]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >