本文主要是介绍HuaWei eNSP PC通过concole口管理路由器,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
实验拓扑:
二 实验步骤:
[Huawei]
使用display clock查看系统时间:
[Huawei]display clock
2023-11-07 17:58:42
Tuesday
Time Zone(China-Standard-Time) : UTC-08:00
[Huawei]
使用display ip interface brief查看接口大致信息:
[Huawei]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 1
The number of interface that is DOWN in Physical is 3
The number of interface that is UP in Protocol is 1
The number of interface that is DOWN in Protocol is 3
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 unassigned down down
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s)
[Huawei]
修改系统时区:
<Huawei>clock timezone BJ add 08:00:00
修改系统时间:
<Huawei>clock datetime 18:04:00 2023-11-7
使用display Clock查看系统时间:
<Huawei>display clock
2023-11-07 18:05:04
Tuesday
Time Zone(BJ) : UTC+08:00
<Huawei>
使用sysname修改设备主机名:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]
配置登录前提示信息:
[AR1]header login information "hello"
配置登录后提示信息:
[AR1]header shell information "Welcome"
验证登录提示信息效果:
<Huawei>telnet 192.168.1.2
Press CTRL_] to quit telnet mode
Trying 192.168.1.2 ...
Connected to 192.168.1.2 ...
hello
Login authentication
Username:admin
Password:
Welcome
<AR1>
配置console口密码认证登录:
[AR1]user-interface console 0
[AR1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):123456
使用concole连接验证效果:
Configuration console exit, please press any key to log on
hello
Login authentication
Password:
Welcome
<AR1>
配置console口用户名加密码认证模式:
[AR1]user-interface console 0
[AR1-ui-console0]authentication-mode aaa
[AR1-ui-console0]quit
[AR1]aaa
[AR1-aaa]local-user localuser password cipher 123456
Info: Add a new user.
[AR1-aaa]local-user localuser privilege level 15
[AR1-aaa]local-user localuser service-type terminal
[AR1-aaa]quit
[AR1]
使用concole连接验证效果:
hello
Login authentication
Username:localuser
Password:
Welcome
<AR1>
这篇关于HuaWei eNSP PC通过concole口管理路由器的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!