找回密码
 注册
查看: 985|回复: 0

华为交换机路由器修改console密码

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-3-15 10:00:01 | 显示全部楼层 |阅读模式
华为路由器
$ n) n4 K% p% y<Huawei>system-view //进入系统视图
7 i# T1 J+ }, R; `) K[Huawei]sysname R1 //更改主机名
) j! u3 [0 ]" ?* {, @8 \; D[R1]user-interface console 0 //进入console口( F% v- a' T: p! \% ~% O
[R1-ui-console0]authentication-mode password //设置加密模式为密码模式
; a+ R4 X1 S  H) I6 X  N% JPlease configure the login password (maximum length 16): xxxxxxxxx   //输入密码
+ O) K2 {% q0 x+ `8 Z( r1 e[R1-ui-console0]quit
, b% }, w6 R" c. ?  a+ v[R1]quit" x- H; T. v) i* _
<R1>quit //退出/ j7 I0 @" M& [4 v  W0 O3 E
Configuration console exit, please press any key to log on* R0 `$ y- [9 q$ `
Login authentication  d( m, c. i2 ~: |& a! K7 }- q
Password: //验证密码
* i% c; ^7 z4 `9 |<R1>
$ M, i$ Z: T/ K0 D华为交换机
% D2 [- j/ z& r( T7 X7 J9 G<Huawei>system-view //进入系统视图
5 c' }2 L9 ~" r  E# `[Huawei]sysname SW1 //更改主机名8 [/ N1 \7 _) m% X9 ~' J
[SW1]user-interface console 0 //进入console口
9 k2 {& x' a( {0 l[SW1-ui-console0]authentication-mode password //设置加密模式为密码模式  E" W% s8 j& i5 h, A0 g; r: Q; q- i% J
[SW1-ui-console0]set authentication password cipher xxxxxxxxx //设置密码$ x1 e6 t5 l) }2 E8 B
[SW1-ui-console0]q
8 _. h+ m% e( n8 L' \& Z; [- A[SW1]q
- t; [- t; U4 h( `& O9 n" f3 x6 g<SW1>q //退出
+ }3 |; U4 O4 `2 P/ SPlease Press ENTER.
: D) k9 [# v5 J9 z6 I# tLogin authentication
: P* l  h4 _  C" o4 jPassword: //验证9 q5 V7 _% L% d' }1 k# I' F
<SW1>
% l1 l7 R* Z3 ^0 R6 f2 T# @2 d) }+ t: z0 W
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:49 , Processed in 0.018640 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表