Mac-Vlan Enable; Mac-Vlan Mac-Address - HPE FlexNetwork 5130 EI Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for FlexNetwork 5130 EI Series:
Table of Contents

Advertisement

Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display all ports that are enabled with the MAC-based VLAN feature.
<Sysname> display mac-vlan interface
MAC VLAN is enabled on following ports:
GigabitEthernet1/0/1
Related commands

mac-vlan enable

mac-vlan enable
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.
Syntax
mac-vlan enable
undo mac-vlan enable
Default
The MAC-based VLAN feature is disabled on a port.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Examples
# Enable the MAC-based VLAN feature on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname–GigabitEthernet1/0/1] mac-vlan enable
Related commands
display mac-vlan interface

mac-vlan mac-address

Use mac-vlan mac-address to configure a MAC-to-VLAN entry.
Use undo mac-vlan to delete the specified MAC-to-VLAN entries.
Syntax
mac-vlan mac-address mac-address [ mask mac-mask ] vlan vlan-id [ dot1q
priority ]
GigabitEthernet1/0/2
188
GigabitEthernet1/0/3

Advertisement

Table of Contents
loading

Table of Contents