xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
164 
 
Parameters 
vlan - Assigned a VLAN as guest VLAN. The VLAN must be an existed static VLAN. 
<vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long. 
vlanid - Assigned a VLAN as guest VLAN. The VLAN must be an existed static VLAN. 
<vlanid 1-4094> - Enter the VLAN ID here. This ID must be between 1 and 4094. 
add - Specify to add port list to the guest VLAN. 
delete - Specify to delete port list from the guest VLAN. 
ports - Specify the configured port(s). 
<portlist> - Enter the list of ports to be configured here. 
all - Specify all ports on the Switch. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To configure security port(s) as specified guest VLAN member: 
DGS-3120-24TC:admin# config authentication guest_vlan vlan gv add ports all 
Command: config authentication guest_vlan vlan gv add ports all 
 
Success. 
 
 
16-4  config authentication ports  
Description 
This command is used to configure security port(s). 
 
Format 
config authentication ports [<portlist> | all] {auth_mode [port_based | host_based {vlanid 
<vid_list> state [enable | disable]}] | multi_authen_methods [none | any | dot1x_impb | 
impb_jwac | impb_wac | mac_impb]} 
 
Parameters 
<portlist> - Enter the list of ports to be configured here. 
all - Specify all ports on the Switch. 
auth_mode - (Optional) Specify the authentication mode used. 
port_based - If one of the attached hosts passes the authentication, all hosts on the same 
port will be granted to access network. If the user fails to authorize, this port will keep trying 
the next authentication  
host_based - Every user can be authenticated individually. v2.01 and later, can authenticate 
client on specific authentication VLAN(s) only for WAC. 
vlanid - (Optional) Specific authentication VLAN(s). This is useful when different VLANs on 
the Switch have different authentication requirements. 
<vidlist> - Enter the VLAN ID list here. 
state - (Optional) Specify the VID list's authentication state. 
enable - Assign the specified VID list as authentication VLAN(s). 
disable - Remove the specified VID list from authentication VLAN(s). If "vlanid" is not