D-Link DWS-1008 CLI Manual
Defaults: Layer 2 restriction is disabled by default.
Access: Enabled.
Usage: You can specify multiple addresses by listing them on the same command line or by entering
multiple commands. To change a MAC address, use the
clear security l2-restrict command to
remove it, then use the
set security l2-restrict command to add the correct address.
Restriction of client traffic does not begin until you enable the permitted MAC list. Use the mode
enable option with this command.
Examples: The following command restricts Layer 2 forwarding of client data in VLAN abc_air to
the default routers with MAC address aa:bb:cc:dd:ee:ff and 11:22:33:44:55:66:
DWS-1008#
set security l2-restrict vlan abc_air mode enable permit-mac
aa:bb:cc:dd:ee:ff 11:22:33:44:55:66
success: change accepted.
See Also:
• clear security l2-restrict
• clear security l2-restrict counters
• show security l2-restrict
set vlan name
Creates a VLAN and assigns a number and name to it.
Syntax: set vlan
vlan-num
name
name
vlan-num
VLAN number. You can specify a number from 2 through 4093.
name
String up to 16 alphabetic characters long.
Defaults: VLAN 1 is named default by default. No other VLANs have default names.
Access: Enabled.
Usage: You must assign a name to a VLAN (other than the default VLAN) before you can add
ports to the VLAN.
D-Link recommends that you do not use the name default. This name is already used for VLAN
1. D-link also recommends that you do not rename the default VLAN. You cannot use a number
as the first character in the VLAN name. D-Link recommends that you do not use the same name
with different capitalizations for VLANs. For example, do not configure two separate VLANs with
the names red and RED.
Summary of Contents for DWS-1008
Page 1: ......
Page 27: ...D Link DWS 1008 CLI Manual 24 ...