首页 > 其他 > 详细

设置路由器主机名;设置enable、console、aux、vty密码

时间:2021-04-21 10:48:31      阅读:27      评论:0      收藏:0      [点我收藏+]

设置路由器主机名

Router(config)#hostname test
test(config)#

设置enable、console、aux、vty密码

enable密码

test(config)#enable secret 123456
test(config)#enable password 123456

console密码

test(config)#line console ?
  <0-0>  First Line number
test(config)#line console 0
test(config-line)#password 123456
test(config-line)#login

aux密码

test(config-line)#line aux 0
test(config-line)#password 123456
test(config-line)#login

vty密码

test(config)#line vty 0 15
test(config-line)#password 123456
test(config-line)#login

创建旗标

MOTD(每日消息)

最常用的旗标,向通过Console口、AUX口或Telnet连接设备的人员显示一条信息。

test(config)#banner motd #Welcome! #

Welcome! 
User Access Verification
Password: 

login 旗标

登录旗标,显示在MOTD旗标之后,登录提示之前。要禁用登录旗标,必须在全局配置模式使用no banner login命令。

test(config)#banner login #Please modify the original password! #

从其他路由器通过Telnet登录到这个路由器

Router0#telnet 172.16.10.2
Trying 172.16.10.2 ...Open
Welcome! 
Please modify the original password! 

User Access Verification

Password: 

设置路由器主机名;设置enable、console、aux、vty密码

原文:https://www.cnblogs.com/ygxcj/p/14683414.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!