DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 294
delete mac_based_vlan
Parameters
mac_address
−
The MAC address.
vlan
−
The VLAN to be associated with the MAC address.
vlanid -
Specify the VLAN ID to be associated with the MAC address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a static mac-based-vlan entry:
DGS-3700-12:5#delete mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Command: delete mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3700-12:5#
show mac_based_vlan
Purpose
Used to show the static or dynamic mac-based vlan entry.
Syntax
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> |
<vlanid <vlanid 1-4094>]}
Description
This command is used to display the static or dynamic MAC-Based VLAN entry.
Parameters
mac
−
The MAC address.
vlan
−
The VLAN to be associated with the MAC address.
vlanid -
Specify the VLAN ID to be associated with the MAC address.
Restrictions
None.
Example usage:
To display the static or dynamic mac-based-vlan entry:
DGS-3700-12:5#show mac_based_vlan
Command: show mac_based_vlan
MAC Address VLAN Status Type
------------- ----------- ------------- ------------
00-80-e0-14-a7-57 200 Active Static
00-80-c2-33-c3-45 200 Inactive Static
00-80-c2-33-c3-45 300 Active Mac_based Access Control
00-80-c2-33-c3-90 400 Active 802.1x
Total Entries : 4
DGS-3700-12:5#