![D-Link xStack DGS-3612G series Скачать руководство пользователя страница 452](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854452.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
449
59
S
TATIC
MAC-B
ASED
VLAN
C
OMMANDS
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>
delete mac_based_vlan
{mac_address <macaddr> vlan <vlan_name 32>}
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>
Description
This command only needs to be supported by the model which supports
mac-based VLAN.
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 project dependent.
Parameters
mac_address
−
The MAC address.
vlan
−
The VLAN 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:5# 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:5#