您的位置:首页 > 其它

路由器设置密码和标语

2011-09-20 10:36 155 查看
实验任务:

1.console线连接路由器

2.为路由器设置enable口令,并启用口令加密服务

3.更改路由器名字

4.配置vty访问权限

5.禁止路由器进行域名解析

6.设定路由器登录提示并保存配置文件

由于没有设备,实验采用的是小凡模拟器2.8中文版,采用windows下自带的超级终端连接路由器,小凡的配置就不述了

配置文件如下:

Router>ena

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#enable password cisco

Router(config)#service password

Router(config)#service password-encryption

Router(config)#hostname R1

R1(config)#line vty 0 4

R1(config-line)#enable password ciscos

R1(config)#exit

R1#ip lo

*Mar 1 00:04:03.975: %SYS-5-CONFIG_I: Configured from console by co

R1#no ip domain-lookup

^

% Invalid input detected at '^' marker.

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#no ip domain-lookup

R1(config)#banner motd#This is my router,please enter your password.#

R1(config)#exit

R1#wi

*Mar 1 00:05:38.675: %SYS-5-CONFIG_I: Configured from console by console

Translating "wi"

Translating "wi"

% Unknown command or computer name, or unable to find computer address

R1#write

Building configuration...

[OK]

R1#

以上注意一点,在配置enable密码和虚拟终端密码时,不能是一样的,否则会提示错误。这里的虚拟终端指的是telnet登录到远程路由器上需要的密码。

本文出自 “Sky的博客” 博客,请务必保留此出处http://yesit.blog.51cto.com/2609379/669119
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: