R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
110
Field Descri
p
tion
D: Dynamic D stands for the MAC address-to-VLAN entries that are configured dynamically.
MAC ADDR MAC address of a MAC address-to-VLAN entry.
MASK Mask of the MAC address of a MAC address-to-VLAN entry.
VLAN ID VLAN ID of a MAC address-to-VLAN entry.
PRIO
802.1p priority corresponding to the MAC address of a MAC address-to-VLAN
entry.
STATE
State of a MAC address-to-VLAN entry:
• S—The MAC address-to-VLAN entry is configured statically.
• D—The MAC address-to-VLAN entry is configured automatically through the
authentication server.
• S&D—The MAC address-to-VLAN entry is configured both statically and
dynamically.
display mac-vlan interface
Use display mac-vlan interface to display all ports with MAC-based VLAN enabled.
Syntax
display mac-vlan interface [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
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.
Examples
# Display all interfaces with MAC-based VLAN enabled.
<Sysname> display mac-vlan interface
MAC VLAN is enabled on following ports:
---------------------------------------
GigabitEthernet4/0/1 GigabitEthernet4/0/2 GigabitEthernet4/0/3
Related commands
mac-vlan enable










