< Home

port hybrid vlan

Function

The port hybrid vlan command enables the data of a specified VLAN to pass through the current hybrid interface.

The undo port hybrid vlan command disables the data of a specified VLAN from passing through the current hybrid interface.

Format

port hybrid vlan vlan-id

undo port hybrid vlan vlan vlan-id

Parameters

Parameter Description Value
vlan vlan-id Specifies the ID of a VLAN. The value is 1.

Views

Layer-2 Ethernet interface view, Layer-2 Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

This command can be configured only when link-type of the Layer 2 Ethernet interface is set to hybrid.

Example

# Configure Hybrid port GigabitEthernet 0/0/1 to permit traffic of VLAN1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] portswitch
[sysname-GigabitEthernet0/0/1] port link-type hybrid
[sysname-GigabitEthernet0/0/1] port hybrid vlan 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >