Huawei S9300: Example for Logging In to the Device Through a Console Port
Networking Requirements
When you cannot
remotely log in to the device, you can perform local login through a console port.
If you log in to the device through a console port, only password
authentication is required. To improve security, use AAA on the console user
interface.
Configuration Roadmap
The configuration
roadmap is as follows:
1. Use the
terminal simulation software to log in to the device through a console port.
2. Configure the
authentication mode of the console user interface.
Procedure
Step 1 Use the terminal simulation software to log in to the device through a
console port.
1. Insert the DB9
connector of the console cable delivered with the product to the 9-pin serial port
on the PC, and insert the RJ45 connector to the console port of the device, as
shown in Figure 2.
2. Start the
terminal simulation software on the PC. Establish a connection, and set the
connected port
and communication parameters.
NOTE
A PC
may have multiple connection ports; therefore, the port connected through the
console cable is selected in this example. Generally, COM1 is selected.
If the
serial port communication parameters of the device are modified, modify the
communication parameters on the PC accordingly (ensure that the parameter
values are the same) and re-establish the connection.
3. Press Enter
until the system prompts you to enter the password. (The system will prompt you
to enter the user name and password in AAA authentication. The following
information is only for reference.)
Login
authentication
Password:
You can run
commands to configure the device. Enter a question mark (?) whenever you
need help.
Step 2 Configure the authentication mode of the console user interface.
<Quidway>
system-view
[Quidway]
user-interface console 0
[Quidway-ui-console0]
authentication-mode aaa
[Quidway-ui-console0]
user privilege level 15
[Quidway-ui-console0]
quit
[Quidway] aaa
[Quidway-aaa]
local-user huawei password cipher Huawei@123
[Quidway-aaa]
local-user huawei privilege level 3
[Quidway-aaa]
local-user huawei service-type terminal
After the
preceding operations, you can re-log in to the device on the console user
interface only
by entering the
user name huawei and password Huawei@123.
----End
Configuration Files
#
aaa
local-user huawei
password cipher %$%$]*6iWr7EVM|uc:"B/A=FF}tk%$%$
local-user huawei
privilege level 3
local-user huawei
service-type terminal
#
user-interface
con 0
authentication-mode
aaa
user privilege
level 15
#
return
The popular huawei S9300 switch, please click the below links:
没有评论:
发表评论