![D-Link DGS-3700 Series Скачать руководство пользователя страница 472](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575472.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 472
W
EB
-
BASED
A
CCESS
C
ONTROL
C
OMMANDS
Back to Section Header
The Web-based Access Control commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
C
OMMAND
P
ARAMETERS
enable wac
disable wac
config wac authorization
attributes
{radius [enable | disable] | local [enable | disable]}
config wac ports
[<portlist> | all] {state [enable | disable] | aging_time [infinite | <min 1-
1440>] | idle_time [infinite | <min 1-1440>] | block_time [<sec 0-300>] }
config wac method
[local | radius]
config wac
default_redirpath
<string 128>
config wac
clear_default_redirpath
config wac virtual_ip
<ipaddr>
config wac
switch_http_port
<tcp_port_number 1-65535> { [http | https] }
create wac user
<username 15> { [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] }
delete wac
[user <username 15> | all_users]
config wac user
<username 15> [vlan <vlan_name 32> | vlanid <vlanid 1-4094> | clear_vlan]
show wac
show wac ports
{<portlist>}
show wac user
show wac auth_state ports
{<portlist> } {authenticated | authenticating | blocked}
clear wac auth_state
[ ports [<portlist> | all ] {authenticated | authenticating | blocked} | macaddr
<macaddr> } ]
Each command is listed, in detail, in the following sections.
enable wac
Purpose
Used to enable the Web-based access control function.
Syntax
enable wac
Description
This command is used to enable the WAC function.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the WAC function: