xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
9
4
B
ASIC
S
WITCH
C
OMMANDS
The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
create account
[admin | operator | user] <username 15>
config account
<username> {encrypt [plain_text| sha_1] <password>}
show account
delete account
<username> {<string>}
enable password
encryption
disable password
encryption
show module_info
show device_status
show session
show switch
show serial_port
config serial_port
{baud_rate [9600 | 19200 | 38400 | 115200] auto_logout [never | 2_minutes | 5_minutes |
10_minutes | 15_minutes]} (1)
enable clipaging
disable clipaging
telnet
<ipaddr> {tcp_port <value 0-65535>}
enable telnet
<tcp_port_number 1-65535>
disable telnet
enable web
<tcp_port_number 1-65535>
disable web
save
{[config <config_id 1-2> | log | all]}
reboot {<string>}
reset
{[config | system]} {<string>}
login
logout
create trusted_host
[<ipaddr> | network <network_address>]
delete trusted_host
[ipaddr <ipaddr> | network <network_address> | all]
show trusted_host
{<network_address>}