xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
436
59
W
EB
-
BASED
A
CCESS
C
ONTROL
(WAC)
C
OMMANDS
The Web-based Access Control (WAC) commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
enable wac
disable wac
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>]}
(1)
config wac method
[local | radius]
config wac auth_failover
[enable | disable]
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]
config wac authorization
network
{radius [enable | disable]| local
[enable | disable]} (1)
show wac
show wac ports
{<portlist>}
show wac user
show wac auth_state ports
{<portlist> }
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 Web-based access control on the Switch.
Syntax
enable wac
Description
This command is used to enable the WAC function on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable WAC: