Table 1-4 display mac-vlan command output description
Field
S: Static
D: Dynamic
MAC ADDR
MASK
VLAN ID
PRIO
STATE
display mac-vlan interface
Syntax
display mac-vlan interface
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the display mac-vlan interface command to display all the ports with MAC address-based VLAN
enabled.
Related commands: mac-vlan enable.
Examples
# Display all the interfaces with MAC address-based VLAN enabled.
<Sysname> display mac-vlan interface
MAC VLAN is enabled on following ports:
---------------------------------------
GigabitEthernet2/0/1
The character S stands for the MAC address-to-VLAN entries that are
configured statically.
The character D stands for the MAC address-to-VLAN entries that are
configured dynamically.
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
The state of a MAC address-to-VLAN entry, which can be:
S, indicating that the MAC address-to-VLAN entry is configured
statically.
D, indicating that the MAC address-to-VLAN entry is configured
automatically through the authentication server
S&D, indicating that the MAC address-to-VLAN entry is configured
both statically and dynamically
GigabitEthernet2/0/2
1-19
Description
GigabitEthernet2/0/3