D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
648
85
STATIC MAC-BASED VLAN COMMANDS
The Static MAC-Based VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
For bridges that implement MAC-based VLAN classification, the VID associated with an Untagged or Priority-tagged
Frame is determined based on the source MAC address. The each entry of VLAN_MAC table specifies a relationship for
a source MAC address with a VLAN. If the source MAC address of ingress untagged or priority-tagged frame is match
with the entry, the VLAN of the frame will be assigned according VLAN assignment rule in the entry.
Command Parameters
create mac_based_vlan
mac_address
<macaddr> vlan [<vlan_name 32> | vlanid <vlanid 1-4094>]
delete mac_based_vlan [mac_address <macaddr> | all]
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32>]}
Each command is listed, in detail, in the following sections.
create mac_based_vlan
Purpose Used to create a static mac-based vlan entry.
Syntax
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]
Description The user can use this command to create a static mac-based VLAN entry.
When a static mac_based_vlan entry is created for a user, the traffic from this user will be able to
be serviced under the specified VLAN regardless of the authentiucation function operated on this
port.
There is a global limitation of the maximum entries supported for the static mac-based entry. It is
1024.
Parameters
mac_address The MAC address.
vlan The VLAN to be associated with the MAC address.
vlanid - The VLAN ID to be associated with the MAC address.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage
To create mab_local:
DGS-3627:admin# create mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Command: create mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3627:admin#