85
Description
Use
display mac-vlan
to display the specified MAC address-to-VLAN entries.
If
mac-address
mac-address
is specified but
mask
is not specified, only the MAC address-to-VLAN entry
containing the specified MAC address is displayed.
Examples
# Display all the MAC address-to-VLAN entries.
<Sysname> display mac-vlan all
The following MAC-VLAN address exist:
S: Static D: Dynamic
MAC ADDR MASK VLAN ID PRIO STATE
-------------------------------------------------------------------
0008-0001-0000 FFFF-FF00-0000 5 3 S
0002-0001-0000 FFFF-FFFF-FFFF 5 3 S&D
Total MAC VLAN address count:2
Table 21
Command output
Field Description
S: Static
S stands for the MAC address-to-VLAN entries that are configured statically.
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
The 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
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
.