Mac-Vlan Enable; Mac-Vlan Mac-Address - HP 3100 v2 Series Command Reference Manual

Hide thumbs Also See for 3100 v2 Series:
Table of Contents

Advertisement

Description
Use display mac-vlan interface to display all the ports with MAC-based VLAN enabled.
Related commands: mac-vlan enable.
Examples
# Display all the interfaces with MAC-based VLAN enabled.
<Sysname> display mac-vlan interface
MAC VLAN is enabled on following ports:
---------------------------------------
Ethernet1/0/1

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

mac-vlan mac-address

Syntax
mac-vlan mac-address mac-address vlan vlan-id [ priority pri ]
undo mac-vlan { all | mac-address mac-address | vlan vlan-id }
View
System view
Default level
2: System level
Ethernet1/0/2
Ethernet1/0/3
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents