How do I configure the link type of an Eth-Trunk interface to Hybrid on S series switches

2

For S series switches (except the S1700), use the following method to configure the link type of an Eth-Trunk interface to Hybrid:
# Configure Eth-Trunk 1 to allow packets from VLAN 10 and VLAN 20 to pass through.
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] port link-type hybrid
[HUAWEI-Eth-Trunk1] port hybrid tagged vlan 10 20
[HUAWEI-Eth-Trunk1] quit

Other related questions:
The type of Eth-Trunk member interfaces on S series switches
Observe the following guidelines when adding member interface to an Eth-Trunk on S series switches (except the S1700): 1. The member interface cannot be configured with some services or static MAC address entries. For example, when an interface is added to an Eth-Trunk, the interface must use the default link type. 2. An Eth-Trunk cannot be added to another Eth-Trunk. Member interfaces of an Eth-Trunk must use the same Ethernet type and rate. Interfaces that use different Ethernet types and rates cannot join the same Eth-Trunk. For instance, GE interfaces and FE interfaces cannot join the same Eth-Trunk, but GE electrical interfaces and GE optical interfaces can join the same Eth-Trunk. 3. Both devices of the Eth-Trunk must use the same number of physical interfaces, interface rate, duplex mode, and flow control mode. 4. If an interface of the local device is added to an Eth-Trunk, an interface of the remote device directly connected to the interface of the local device must also be added to an Eth-Trunk; otherwise, the two ends cannot communicate.

How to configure the IP address for an Eth-Trunk interface on S series switches
For S series switches (except the S1700), you can configure an IP address for an Eth-Trunk interface as follows: [HUAWEI]interface Eth-Trunk 10 [HUAWEI-Eth-Trunk10]undo portswitch [HUAWEI-Eth-Trunk10]ip address 10.2.2.2 24

How do I configure hybrid interface of S series switch
Example for configuring a VLAN for a hybrid interface For S series switches (except S1700 switches): A hybrid interface can connect to either a user host or a switch. [HUAWEI]vlan 2 //Create a VLAN. [HUAWEI]interface gigabitethernet0/0/2 [HUAWEI-GigabitEthernet0/0/2]port link-type hybrid //Set the link type of the interface to hybrid. [HUAWEI-GigabitEthernet0/0/2]port hybrid untagged vlan 2 //Configure VLAN 2 to send data in untagged mode. [HUAWEI-GigabitEthernet0/0/2]port hybrid pvid vlan 2 //(Optional) Specify VLAN 2 as the default VLAN (default value: VLAN 1). [HUAWEI-GigabitEthernet0/0/2]port hybrid tagged vlan 3 //Configure VLAN 3 to send data in tagged mode.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top