D-Link DXS-1210-12TC User Manual - Page 107

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

Page 107 highlights

5 Command Line Interface D-Link DXS-1210 Series User Manual 5 Command Line Interface The D-Link DXS-1210 Series 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, e.g., 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 on. The default user name and password are empty. 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 (DXS-1210-12TC>): DXS-1210-12TC login: Password: DXS-1210-12TC> 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 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 Syntax Description of Usage ? The ? Displays a list of CLI commands on the device. config ipif { ipaddress | dhcp } config ipif Configure IP setting of interface. {ipv6address

  • 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
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119

5
Command Line Interface
D-Link DXS-1210 Series User Manual
5
Command Line Interface
The D-Link DXS-1210 Series 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, e.g.,
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 on. The default user name and password are empty. 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
(DXS-1210-12TC>):
DXS-1210-12TC login:
Password:
DXS-1210-12TC>
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 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 Syntax
Description of Usage
?
The ? Displays a list of CLI commands on the device.
config ipif <short <1-4094>>
{ ipaddress <ip_addr> <ip_mask> |
dhcp }
config ipif <short <1-4094>>
{ipv6address <ip6_addr> <short <1-
128> | dhcpv6_client <enable |
disable>}
Configure IP setting of interface.
logout
Logout from this session.
ping [<ipv4_addr> | <ipv6_addr>] [size
<integer 1-60000>] [timeout <time_out
1-100>] [repeat <integer 0-255>]
This command checks if another computer is on the network
and listens for connections. The terminal interface sends five
pings to the target station.
reboot
This command reboots the system. All network connections
are terminated and the boot code executes.
reset config
Reset the device to factory default
show ipif [<short <1-4094>>]
Displays the current IPv4 address of the interface.
show ipv6 interface [<short <1-
4094>>] [brief]
Displays the current IPv6 address of the interface.
show switch
Show system information.
config account username <string
<32> privilege <short <1-15>>
{ nopassword | password <string
<32>}
Configure password.
101