< Home

port hybrid vlan 1

Function

The port hybrid vlan 1 command adds a Hybrid port to VLAN 1 in untagged mode.

The undo port hybrid vlan 1 command deletes a Hybrid port from VLAN 1.

Format

port hybrid vlan 1

undo port hybrid vlan 1

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, VE interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

All interfaces on the device join VLAN 1 by default, and the hybrid interface joins VLAN 1 in untagged mode by default. When there are unknown unicast packets, multicast packets, or broadcast packets of VLAN 1, broadcast storms may occur. For the hybrid interface that does not need to join VLAN 1, you need to run the undo port hybrid vlan 1 command to delete the hybrid interface from VLAN 1 to prevent loops. When the network changes and the hybrid interface needs to join VLAN 1 in untagged mode, run the port hybrid vlan 1 command.

Prerequisites

If an interface is not a hybrid interface, run the port link-type hybrid command to change the interface type to hybrid.

Precautions

This command cannot be used for a physical interface that has been added to an Eth-Trunk interface.

Example

# Add GE 0/0/1 to VLAN 1 in Untagged mode.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type hybrid
[HUAWEI-GigabitEthernet0/0/1] port hybrid vlan 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >