xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
757 
 
Chapter 88  Web-Based Access Control 
(WAC) Command List 
 
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) 
config wac authentication_page element [default | page_title <desc 128> | login_window_title 
<desc 64> | user_name_title <desc 32> | password_title <desc 32> | logout_window_title 
<desc 64> | notification_line <value 1-5> <desc 128>] 
show wac ports {<portlist>} 
show wac auth_state ports {<portlist>} 
show wac authenticate_page 
clear wac auth_state [ports [<portlist> | all] {authenticated | authenticating | blocked} | macaddr 
 
88-1  enable wac 
Description 
This command is used to enable WAC function. 
 
Format 
enable wac 
 
Parameters 
None. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To enable WAC: