Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-18
---------------------------------------
Ethernet1/0/1 Ethernet1/0/2 Ethernet1/0/3
1.3.2 display mac-vlan
Syntax
display mac-vlan
{
all
|
dynamic
|
static
|
vlan vlan-id
}
View
Any view
Parameters
all
: Displays all the MAC-to-VLAN mappings.
dynamic
: Displays dynamically created MAC-to-VLAN mappings.
static
: Displays statically configured MAC-to-VLAN mappings.
vlan
vlan-id
: Specify the VLAN ID for which the MAC-to-VLAN mapping is to be
displayed.
Description
Use the
display mac-vlan
command to display MAC-to-VLAN mappings.
Examples
# Display all the MAC-to-VLAN mappings.
<Sysname> display mac-vlan all
The following MAC-VLAN addresses exist:
S: Static D: Dynamic
MAC ADDR MASK VLAN ID PRIO STATE
-------------------------------------------------------------------
0002-0001-0000 ffff-ffff-ffff 5 3 S
Total MAC-VLAN address count:1
Table 1-3
Description on the fields of the
display mac-vlan
command
Field
Description
MAC ADDR
MAC address in a MAC-to-VLAN mapping
MASK
Mask of the MAC address
VLAN ID
VLAN ID mapped to the MAC address
PRIO
802.1p priority assigned to the MAC address