5 Command Line Interface
DES-1210 Series Switch Web UI Reference Guide
5
Command Line Interface
The D-Link Web Smart Switch allows a computer or terminal to perform some basic monitoring and
configuration tasks by using the Command Line Interface (CLI) via TELNET protocol.
To connect a switch via TELNET:
1. Make sure the network connection between the switch and PC is active.
2. To connect, launch any terminal software like
HyperTerminal
in Microsoft Windows, or just use the
command prompt by typing the command
telnet
followed by the switch IP address, eg.
telnet 10.90.90.90
.
3. The logon prompt will appear.
Logging on to the Command Line Interface:
Enter your User Name and Password to log in. The default user name and password is
admin
. Note that the
user name and password are case-sensitive. Press
Enter
in both the Username and Password fields. The
command prompt will appear as shown below (
DES-1210-28>):
DES-1210-28 login: admin
Password:
DES-1210-28>
Figure 5.1 – Command Prompt
The user session is automatically terminated if idle for the login timeout period. The default login timeout
period is 5 minutes. To change the login timeout session please refers to chapter 5.
CLI Commands:
There are a number of helpful features included in the CLI. Enter the
?
command will display a list of
commands.
DES-1210-28> ?
USEREXEC commands :
config account admin password <passwd>
config ipif System { ipaddress <ip-address> <subnet-mask> gateway <gw-
address>
| dhcp | bootp}
config ipif System { ipv6 ipv6address <ipv6networkaddr> |
dhcpv6_client {enabl
e | disable}}
create ipv6route default <ipv6addr>
debug info
delete ipv6route default
download { firmware_fromTFTP | cfg_fromTFTP} {<ipaddr>|<ipv6addr>}
<path_filen
ame>
logout
ping <ip_addr>
ping6 <ipv6addr>
reboot
reset config
save
show ipif
show switch
upload { firmware_toTFTP | cfg_toTFTP} {<ipaddr>|<ipv6addr>}
<path_filename>
DES-1210-28>
Figure 5.2 – The ? command
download
The
download
command is used to download and install new firmware or a Switch configuration file
from a TFTP server.
Syntax
8
8
5
5