DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
354
Restrictions
You must have administrator privileges.
Example
To create a local database entry:
D G S - 3 2 0 0 - 1 0 : 4 # c r e a t e m a c
_
b a s e d _ a c c e s s _ c o n t r o l _ l o c a l m a c 0 0 - 0 0 - 0 0 - 0 0 - 0 0 - 0 1 v l a n
d e f a u l t
C o m m a n d : c r e a t e m a c
_
b a s e d _ a c c e s s _ c o n t r o l _ l o c a l m a c 0 0 - 0 0 - 0 0 - 0 0 - 0 0 - 0 1 v l a n d e f a u l t
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #
41-7 config mac_based_access_control_local
Purpose
Used to config the local database entry.
Format
config mac_based_access_control_local mac <macaddr> vlan <vlan_name 32>
Description
User use this command to modify a database entry.
Parameters
Parameters
Description
mac
The MAC address that access is accepted in local mode.
vlan
If the MAC address is authorized, the port will be assigned to this VLAN.
Restrictions
You must have administrator privileges.
Examples
To config a MAC-based Access Control entry:
D G S - 3 2 0 0 - 1 0 : 4 # c o n f i g m a c
_
b a s e d _ a c c e s s _ c o n t r o l _ l o c a l m a c 0 0 - 0 0 - 0 0 - 0 0 - 0 0 - 0 1 v l a n
d e f a u l t
C o m m a n d : c o n f i g m a c
_
b a s e d _ a c c e s s _ c o n t r o l _ l o c a l m a c 0 0 - 0 0 - 0 0 - 0 0 - 0 0 - 0 1 v l a n d e f a u l t
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #