165
MAC address of a MAC address-to-VLAN entry.
Mask of the MAC address of a MAC address-to-VLAN entry.
VLAN ID of a MAC address-to-VLAN entry.
802.1p priority corresponding to the MAC address of a MAC address-to-
VLAN entry
State of a MAC address-to-VLAN entry:
S—MAC address-to-VLAN entry is configured statically.
D—MAC address-to-VLAN entry is configured automatically through the
authentication server.
S&D—MAC address-to-VLAN entry is configured both statically and
dynamically.
display mac-vlan interface
Description
Use the display mac-vlan interface command to display all the ports with MAC-based VLAN enabled.
Related commands: mac-vlan enable.
Syntax
display mac-vlan interface [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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.
Example
# Display all the interfaces with MAC-based VLAN enabled.
<Sysname> display mac-vlan interface
MAC VLAN is enabled on following ports:
---------------------------------------
GigabitEthernet1/0/1 GigabitEthernet1/0/2 GigabitEthernet1/0/3