xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
939
Format
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]}
Parameters
mac_address - (Optional) Specify the MAC address to be displayed.
<macaddr> - Specify the MAC address to be displayed.
vlan - (Optional) Specify the VLAN associated with the MAC address.
<vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters.
vlanid - (Optional) Specify the VLAN ID associated with the MAC address.
<vlanid 1-4094> - Specify the VLAN ID between 1 and 4094.
Restrictions
None.
Example
In the following example, MAC address “00-80-c2-33-c3-45” is assigned to VLAN 300 by manual
configuration. It is assigned to VLAN 400 by MAC-AC. Since MAC AC has higher priority than manual
configuration, the manually configured entry will become inactive. To display the MAC-based VLAN
entries:
DGS-3420-28SC:admin#show mac_based_vlan
MAC Address VLAN ID Status Type
------------------ ------------ ----------- --------
00-80-e0-14-a7-57 200 Active Static
00-80-c2-33-c3-45 300 Inactive Static
00-80-c2-33-c3-45 400 Active MAC_based Access Control
00-a2-44-17-32-98 400 Active WAC
Total Entries : 4