![D-Link DGS-3700 Series Скачать руководство пользователя страница 452](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575452.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 452
Example usage
To disable the configuration authorized from the local database:
DGS-3700-12:5#config mac_based_access_control authorization attributes local disable
Command: config mac_based_access_control authorization attributes local disable
Success.
DGS-3700-12:5#
show mac_based_access_control auth_state ports
Purpose
To display MAC-based access control authentication MAC information.
Syntax
show mac_based_access_control auth_state ports {<portlist>}
Description
This command is used to display MAC-based access control authentication MAC
information.
Parameters
<portlist>
- Specify the ports to be displayed.
Restrictions
None.
Example usage
To display MAC-based access control authentication MAC information:
DGS-3700-12:5#show mac_based_access_control auth_state ports
Command: show mac_based_access_control auth_state ports
(P):Port based
Port MAC Address State VID Priority Aging Time/
Block Time
----- ----------------- ------------- ---- --------- ------------
Total Authenticating Hosts : 0
Total Authenticated Hosts : 0
Total Blocked Hosts : 0
DGS-3700-12:5#
config mac_based_access_control log
Purpose
This command is used to enable or disable generating of MAC-based Access Control
logs.
Syntax
config mac_based_access_control log state [enable | disable]
Description
This command is used to enable or disable generating of MAC-based Access Control
logs.
Parameters
enable
- Enable log for MAC-based Access Control. The log of MAC-based Access
Control will be generated.
disable
- Disable log for MAC-based Access Control.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage
To disable log state of MAC-based Access Control: