![D-Link xStack DGS-3120-48PC Reference Manual Download Page 5](http://html.mh-extra.com/html/d-link/xstack-dgs-3120-48pc/xstack-dgs-3120-48pc_reference-manual_76212005.webp)
xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
1
Chapter 1
Using Command Line
Interface
The Switch can be managed through the Switch’s serial port, Telnet, SNMP or the Web-based
management agent. The Command Line Interface (CLI) can be used to configure and manage the
Switch via the serial port or Telnet interfaces.
This manual provides a reference for all of the commands contained in the CLI. Every command
will be introduced in terms of purpose, format, description, parameters, and examples.
Configuration and management of the Switch via the Web-based management agent are
discussed in the Web UI Reference Guide. For detailed information on installing hardware please
also refer to the Hardware Installation Guide.
1-1
Accessing the Switch via the Serial Port
The Switch’s serial port’s default settings are as follows:
•
115200 baud
•
no parity
•
8 data bits
•
1 stop bit
A computer running a terminal emulation program capable of emulating a VT-100 terminal and a
serial port configured as above are then connected to the Switch’s Console port via an included
RS-232 to RJ-45 convertor cable.
With the serial port properly connected to a management computer, the following screen should be
visible. If this screen does not appear, try pressing Ctrl+r to refresh the console screen.
DGS-3120-24TC Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 2.00.010
Copyright(C) 2011 D-Link Corporation. All rights reserved.
UserName:
PassWord:
DGS-3120-24TC:admin#
There is no initial username or password. Just press the
Enter
key twice to display the CLI input
cursor
−
DGS-3120-24TC:admin#
.
This is the command line where all commands are input.
1-2
Setting the Switch’s IP Address
Each Switch must be assigned its own IP Address, which is used for communication with an
SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s