D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
649
delete mac_based_vlan
Purpose Used to delete the static MAC-based VLAN entry.
Syntax
delete mac_based_vlan [mac_address <macaddr> | all]
Description Use this command to delete a database entry. If the mac_address and vlan is not specified, all
static entries associated with the port will be removed.
Parameters
mac_address 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-3627:admin# delete mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Command: delete mac_based_vlan mac mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3627:admin#
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>]}
Description User can use this command to display the static or dynamic MAC-Based VLAN entry.
Parameters
mac_address Specifies the entry that you would like to display.
vlan Specifies the VLAN to be associated with the MAC address that you would like to display.
Restrictions None.
Example usage
To display the static MAC-based VLAN entry:
DGS-3627:admin# 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 Mac based access control
00-80-c2-33-c3-45 300 Active JWAC
00-80-c2-33-c3-90 400 Active WAC
00-a2-44-17-32-98 500 Active Multiple Authentication
00-a2-44-17-32-97 500 Active 802.1x
Total Entries : 6
DGS-3627:admin#