xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
613
92
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 default_redirpath
<string 128>
config wac clear_default_redirpath
config wac virtual_ip
{ < ipaddr > | < ipv6addr > } (1)
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 attributes
{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 WAC function.
Syntax
enable wac
Description
The enable wac command enables WAC function.
WAC and JWAC are mutual exclusive function. That is, they can not be enabled at the same
time.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable WAC: