xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
763 
 
88-9  create wac user 
Description 
This command is used to create account for web-base access control. 
This user account is independent with login user account. 
If VLAN is not specified, the user will not get a VLAN assigned after the authentication. 
 
Format 
create wac user <username 15> {[vlan <vlan_name 32> | vlanid <vlanid 1-4094>]} 
 
Parameters 
user - User account for web-base access control. 
<username 15> - Enter the user name here. This name can be up to 15 characters long. 
vlan - (Optional) Specify the target VLAN name for authenticated hosts which will uses this user 
account to pass authentication. 
<vlan_name 32> - Enter the name of the VLAN here. This name can be up to 32 characters 
long. 
vlanid - (Optional) Specify the target VLAN ID for authenticated hosts which will uses this user 
account to pass authentication. 
<vlanid 1-4094> - Enter the VLAN ID used here. This value must be between 1 and 4094. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To create a WAC local user: 
DGS-3120-24TC:admin#create wac user Jim 
Command: create wac user Jim 
 
Enter a case-sensitive new password:*** 
Enter the new password again for confirmation:*** 
Success. 
 
 
88-10  delete wac user 
Description 
This command is used to delete WAC users from the local DB. 
 
Format 
delete wac [user <username 15> | all_users]