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.

Scroll to top