交换机的telnet密码和特权模式密码

来源:互联网 发布:怎么对付熊孩子 知乎 编辑:程序博客网 时间:2024/06/06 17:02

Siwtch>en
Switch#config t
Switch(config)#username w2 password 222
Switch(config)#line vty 0 4
Switch(config-line)#login local
Switch(config-line)#exit
Switch(config)#enable password cisco //全局模式下,设定明文口令cisco,此口令可以限制对特权模式的访问
Switch(config)#do wr
Building configuration…

技术原理
配置交换机的管理IP地址(计算机的IP地址与交换机管理IP地址在同一个网段):为telnet用户配置用户名和登录口令:
1) 交换机、路由器中有很多密码,设置对这些密码可以有效的提高设备的安全性。
2) switch(config)# enable password ** 设置进入特权模式的密码
3) switch(config-line)可以设置通过console端口连接设备及Telnet远程登录时所需的密码;
switch(config)# line console 0
switch(config-line)# password 5ijsj
switch(config-line)# login
switch(config)# line vty 0 4
switch(config-line)# password 5ijsj
switch(config-line)# login

阅读全文
0 0
原创粉丝点击