xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
3 
 
There are a number of helpful features included in the CLI. Entering the ? command will display a 
list of all of the top-level commands. 
 
.. 
? 
cable_diag ports 
cd 
cfm linktrace 
cfm lock md 
cfm loopback 
change drive 
clear 
clear address_binding dhcp_snoop binding_entry ports 
clear arptable 
clear attack_log 
clear cfm pkt_cnt 
clear counters 
clear fdb 
clear igmp_snooping data_driven_group 
clear igmp_snooping statistics counter 
clear log 
clear mac_based_access_control auth_state 
clear mld_snooping data_driven_group 
clear mld_snooping statistics counter 
clear port_security_entry 
CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All 
 
When entering a command without its required parameters, the CLI will prompt you with a Next 
possible completions: message. 
 
DGS-3120-24TC:admin# config account 
Command: config account 
Next possible completions: 
<username> 
 
DGS-3120-24TC:admin#  
 
In this case, the command config account was entered with the parameter <username>. The CLI 
will then prompt to enter the <username> with the message, Next possible completions:. Every 
command in the CLI has this feature, and complex commands have several layers of parameter 
prompting. 
In addition, after typing any given command plus one space, users can see all of the next possible 
sub-commands, in sequential order, by repeatedly pressing the Tab key. 
To re-enter the previous command at the command prompt, press the up arrow cursor key. The 
previous command will appear at the command prompt.