EasyManua.ls Logo

D-Link xStack DGS-3420 Series - Chapter 20 Static MAC-Based VLAN Commands

D-Link xStack DGS-3420 Series
1117 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
937
Chapter 20
Static MAC-based
VLAN Commands
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-4094>]
{priority <value 0-7>}
delete mac_based_vlan {mac_address <macaddr> [vlan <vlan_name 32>| vlanid <vlanid 1-4094>]}
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> | vlanid <vlanid 1-4094>]}
20-1 create mac_based_vlan mac_address
Description
This command is used to create static MAC-based VLAN entries.
Format
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>] {priority <value 0-7>}
Parameters
<macaddr> - Specify the MAC address.
vlan - Specify the VLAN to be associated with the MAC address. The name must be an existing
static VLAN name.
<vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters.
vlanid - Specify the VLAN ID to be associated with the MAC address. The ID must be an existing
static VLAN ID.
<vlanid 1-4094> - Specify the VLAN ID between 1 and 4094.
priority(Optional) Specifies the priority that is assigned to untagged packets. If not specified, the
priority is the default value 0.
<value 0-7> - Enter the priority value used here. This value must be between 0 and 7.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a static MAC-based VLAN entry:
DGS-3420-28SC: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.

Table of Contents

Related product manuals