D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
402
create mac_based_access_control
guest_vlanid <vlanid 1-4094>]
Description
This command is used to assign the guest VLAN.
Parameters
guest_vlan – Specifies the name of the guest VLAN.
guest_vlanid – Specifies the VLAN ID of the guest VLAN.
Restrictions
Only Administrator-level users can issue this command.
Example usage
To create a MAC-based access control guest VLAN by guest VLAN ID:
DES-3200-28:4#create mac_based_access_control guest_vlanid 1
Command: create mac_based_access_control guest_vlanid 1
Success.
DES-3200-28:4#
delete mac_based_access_control
Purpose
Used to de-assign a guest VLAN.
Syntax
delete mac_based_access_control [guest_vlan <vlan_name 32> |
guest_vlanid <vlanid 1-4094>]
Description
This command is used to de-assign the guest VLAN. When the guest
VLAN is de-assigned, the guest VLAN function is disabled.
Parameters
guest_vlan – Specifies the name of the guest VLAN.
guest_vlanid – Specifies the VLAN ID of the guest VLAN.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To de-assign a guest VLAN:
DES-3200-28:4#delete mac_based_access_control guest_vlan default
Command: delete mac_based_access_control guest_vlan default
Success.
DES-3200-28:4#
clear mac_based_access_control auth_mac
Purpose
Used to reset the current state of a user. The re-authentication will be
started after the user traffic is received again.
Syntax
clear mac_based_access_control auth_mac [ports [all | <portlist>] |
mac_addr <macaddr>]
Description
This command is used to clear the authentication state of a user (or