侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CCNA实验:配置特权模式密码

2023-04-03 星期一 / 0 评论 / 0 点赞 / 68 阅读 / 1338 字

Bob>enBob#configure terminal (简写为conf t)Enter configuration commands, one per line. End with CNT

.

Bob>en
Bob#configure terminal (简写为conf t)
Enter configuration commands, one per line. End with CNTL/Z.
Bob(config)#enable password cisco (登录特权模式的密码为cisco)
Bob(config)#


接下来show run查看配置文件
Bob#show running-config

!
enable password cisco (这里密码以明文显示,很容易泄漏)
!


Bob#configure terminal(conf t)
Enter configuration commands, one per line. End with CNTL/Z.
Bob(config)#service password-encryption(明文加密)
//为了对密码加密,可以使用以上命令

Bob(config)#


再次show run查看配置文件
Bob#show running-config
!
enable password 7 02050D480809
//密码为7 02050D480809为明文加密,用一定的工具可以查看此密码

!


Bob#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Bob(config)#enable secret password(更安全的加密技术)
现次查看show run文件
Bob#sh run

!
enable secret 5 $1$zlk3$oCqEHjmkYXftGONoUac9y/ (密文加密后的密码)
enable password 7 02050D480809 (明文加密后的密码)

!

.

广告 广告

评论区