mac-vlan enable

Syntax

mac-vlan enable

undo mac-vlan enable

View

Layer 2 Ethernet port view

Default level

2: System level

Parameters

None

Description

Use mac-vlan enable to enable the MAC-based VLAN feature on a port.

Use undo mac-vlan enable to disable the MAC-based VLAN feature on a port.

By default, the MAC-based VLAN feature is disabled on a port.

This command is available only on hybrid ports.

Examples

# Enable the MAC-based VLAN feature on Ethernet 1/0/1.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname–Ethernet1/0/1] mac-vlan enable