Mac-Vlan Enable - HP 6125G Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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:
---------------------------------------
GigabitEthernet1/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 GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname–GigabitEthernet1/0/1] mac-vlan enable
GigabitEthernet1/0/2
152
GigabitEthernet1/0/3

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents