xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
411
config mac_based_access_control authorization network
accepted if the global authorization status is enabled. The default state is enabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
The following example will disable the configuration authorized from the local database:
DGS-3450:admin#config mac_based_access_control authorization network local enable
Command: config mac_based_access_control authorization network local enable
Success.
DGS-3450:admin#
show mac_based_access_control
Purpose
Used to display the MAC-based Access Control setting.
Syntax
show mac_based_access_control {ports {<portlist>}}
Description
This command is used to display the MAC-based Access Control settings.
Parameters
If the ports parameter is not specified, the global MAC-based Access Control settings will be
displayed.
<portlist>
- Displays the MAC-based Access Control settings for a specific port or range of
ports.
If no port list is specified, the settings will be displayed for ports which have MAC-based
Access Control enabled.
Restrictions
None.
Example usage:
To show the MAC-based Access Control port configuration for ports 1 to 4:
Port State Aging Time Block Time Max User
(min) (sec)
----- -------- ---------- --------- --------
1:1 Disabled 1440 300 1024
1:2 Disabled 1440 300 1024
1:3 Disabled 1440 300 1024
1:4 Disabled 1440 300 1024
DGS-3450:admin#
show mac_based_access_control_local
Purpose
Used to display the MAC-based Access Control local database entry(s).
Syntax
show mac_based_access_control_local {[mac <macaddr> | vlan <vlan_name 32> |
vlanid <1-4094>]}
Description
This command is used to display the MAC-based Access Control local database entries.
Parameters
Displays all MAC-based Access Control local database entries.
mac
- Displays MAC-based Access Control local database entries for a specific MAC
address.
vlan
- Displays MAC-based Access Control local database entries for a specific target VLAN