D-Link DGS-1500-28 User Manual - Page 85

Command Line Interface, To connect a switch via TELNET:, Logging on to the Command Line Interface:

Page 85 highlights

6 Command Line Interface D-Link Web Smart Switch User Manual 6 Command Line Interface The D-Link SmartPro 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 (DGS-1500-28>): DGS-1500-28 login: admin Password: DGS-1500-28> Figure 6.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 refer to chapter 5. CLI Commands: The Basic Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter ? download upload config ipif system logout ping reboot reset config show ipif show switch config account admin password { firmware_fromTFTP tftp://ip-address/filename | cfg_fromTFTP tftp://ip-address/filename} { firmware_toTFTP tftp://ip-address/filename | cfg_toTFTP tftp://ipaddress/filename } { ipaddress gateway | dhcp } 79

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

6
Command Line Interface
D-Link Web Smart Switch User Manual
79
6
Command Line Interface
The D-Link SmartPro 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 (
DGS-1500-28>):
DGS-1500-28 login: admin
Password:
DGS-1500-28>
Figure 6.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 refer to chapter 5.
CLI Commands:
The Basic Switch commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameter
?
download
{ firmware_fromTFTP tftp://ip-address/filename | cfg_fromTFTP
tftp://ip-address/filename}
upload
{ firmware_toTFTP tftp://ip-address/filename | cfg_toTFTP tftp://ip-
address/filename }
config ipif system
{ ipaddress <ip-address> <subnet-mask> gateway <gw-address> |
dhcp }
logout
ping
<ip_addr>
reboot
reset config
show ipif
show switch
config account admin
password
<passwd>