D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
404
config mac_based_access_control_local mac
vlanid - Specify the target VLAN by VID. When the host is authorized, it is assigned to this
VLAN if the target VLAN exists.
clear_vlan - Clear target VLAN information for specific hosts from the local database.
Restrictions
Only Administrator-level users can issue this command.
Example usage :
To configure the target VLAN “default” for the MAC-based Access Control local database entry 00-00-00-00-00-01:
DES-3200-28F:4# config mac_based_access_control_local mac 00-00-00-00-00-01 vlan
default
Command: config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default
Success.
DES-3200-28F:4#
delete mac_based_access_control_local
Purpose
Used to delete the local database entry.
Syntax
delete mac_based_access_control_local [mac <macaddr> | [vlan <vlan_name 32> |
vlanid <vlanid 1-4094>]
Description
This command is used to delete the local database entry.
Parameters
mac Delete database by this MAC address.
vlan – Delete database by this VLAN name.
vlanid Delete database by this VLAN ID.
Restrictions
Only Administrator-level users can issue this command.
Example usage
To delete a MAC-based access control local by MAC address:
DES-3200-28:4#delete mac_based_access_control_local mac 00-00-00-00-00-01
Command: delete mac_based_access_control_local mac 00-00-00-00-00-01
Success.
DES-3200-28:4#
To delete a MAC-based access control local by VLAN name:
DES-3200-28:4#delete mac_based_access_control_local vlan default
Command: delete mac_based_access_control_local vlan default
Success.
DES-3200-28:4#
show mac_based_access_control
Purpose
Used to display the MAC-based access control setting.
Syntax
show mac_based_access_control {ports {<portlist> } }