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>

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值