![D-Link DGS-3700 Series Скачать руководство пользователя страница 446](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575446.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 446
create mac_based_access_control guest_vlan
Parameters
guest_vlan
−
If the MAC address is unauthorized, the port will be assigned to this
VLAN.
guest_vlanid –
guest VLAN ID, if the MAC address is authorized, the port will be
assigned to this vlan.
<vlan_name32>
- Specifies the VLAN name.
<vlanlid 1-4094>
- Specifies the VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create MAC-based access control guest VLAN:
DGS-3700-12:5#create mac_based_access_control_guest vlan default
Command: create mac_based_access_control_guest vlan default
Success.
DGS-3700-12:5#
delete mac_based_access_control guest_vlan
Purpose
Used to de-assign the guest VLAN.
Syntax
delete mac_based_access_control
[guest_vlan <vlan_name 32> | guest_vlanid
<vlanid 1-4094>]
Description
This command is used to de-assign the guest VLAN. When the guest VLAN is de-
assigned, the guest VLAN function is disabled.
Parameters
guest_vlan
−
Specifies the name of the guest VLAN.
guest_vlanid –
Specifies the VID of the guest VLAN.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To de-assign a guest VLAN:
DGS-3700-12:5#delete mac_based_access_control guest_vlan default
Command: delete mac_based_access_control_guest_vlan default
Success.
DGS-3700-12:5#
create mac_based_access_control_local
Purpose
Used to create a local database entry.
Syntax
create mac_based_access_control_local mac <macaddr> [vlan < vlan_name 32> |
vlanid <vlanid 1-4094>]
Description
This command is used to create a database entry.
Parameters
mac
−
The MAC address that accepts access by local mode.
vlan
−
The VLAN name of specifed VLAN. If the MAC address is authorized, the
port will be assigned to this VLAN.
vlanid <vlanid 1-4094>
−
the vlan id of specified VLAN,the range of the VLAN ID is
from 1 to 4094. If the MAC address is authorized, the port will be assigned to this
VLAN.
Restrictions
Only Administrator and Operator-level users can issue this command.