1-14
MAC Address-Based VLAN Configuration Commands
The contents of this chapter are only applicable to the S3100-EI series among S3100 series switches.
display mac-vlan
Syntax
display mac-vlan { all | dynamic | static | vlan vlan-id }
View
Any view
Default Level
1: Monitor level
Parameters
all: Displays all the MAC address-to-VLAN entries.
dynamic: Displays dynamically configured MAC address-to-VLAN entries.
static: Displays the statically configured MAC address-to-VLAN entries.
vlan vlan-id: Displays the MAC address-to-VLAN entries associated with the specified VLAN.
Description
Use the display mac-vlan command to display the specified MAC address-to-VLAN entries.
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-0011 FFFF-FFFF-FFFF 5 3 S
0002-0001-0022 FFFF-FFFF-FFFF 5 3 S
Total MAC VLAN address count:2
Table 1-3 display mac-vlan command output description
Field Description
S: Static
The character
S
stands for the MAC address-to-VLAN entries that are
configured statically.
D: Dynamic
The character
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