25
CLI login
The CLI enables you to interact with a device by typing text commands. At the CLI, you can instruct your
device to perform a given task by typing a text command and then pressing
Enter
to submit it to your
device. Compared with a GUI where you can use a mouse to perform configuration, the CLI allows you
to enter more information in one command line.
You can log in to the device at the CLI through the console port, Telnet, SSH, or modem.
•
By default, you can log in to a device through the console port or modem without any authentication,
which introduces security problems.
•
By default, you cannot log in to a device through Telnet or SSH.
Therefore, you need to perform configurations to increase device security and manageability.
Logging in through the console port
Logging in through the console port is the most common login method, and is also the first step to
configure other login methods.
After logging in to the device through the console port, you can configure other login methods. By default,
you can log in to a device only through its console port.
Configuration requirements
The following table shows the configuration requirements for console port login.
Object Requirements
Device
No configuration requirement
Run the hyper terminal program.
Terminal
Configure the hyper terminal attributes.
The port properties of the hyper terminal must be the same as the default settings of the console port
shown in the following table.
Setting Default
Bits per second
9,600 bps
Flow control
None
Parity None
Stop bits
1
Data bits
8