wslhs 发表于 2012-9-18 09:03:32

CISCO路由器的基本初始配置

实验目标:
熟练掌握路由器的基本初始配置操作
语法:
路由器启动后的几个模式:
用户模式:
Router>enable
进入特权模式:
Router#disable or exit
退出到用户模式:
Router>enable
Router#configure terminal
由特权模式进入全局配置模式:
Router(config)#
在全局配置模式下可以操作的:
修改用户名:
Router(config)#hostname R1
R1(config)#
关闭域名解析:
R1(config)#no ip domain-lookup
设置开机问候语:
R1(config)# banner motd # hello welcom to cisco ! #
有全局配置模式进入到接口模式:
R1(config)#interface ethernet0/0
接口模式下配置ip地址;
R1(config-if)#ip address 192.168.1.1 255.255.255.0
接口描述信息:
R1(config-if)#description this is R1
开启接口:
R1(config-if)#no shutdown
由任何模式下退出到特权模式:
End or ctrl+z
配置密码操作:
配置enable的明文密码:
Router(config)#enable password wu
配置enable的密文密码:
Router(config)#enable secret wu
配置console端口的密码(控制台密码,用户模式密码):
Router(config)#line console 0
Router(config)#password wu
Router(config-line)#login   //启用密码
Router(config-line)#logging synchrnous   //开启光标跟随
Router(config-line)#no exec-timeout      //关闭请求超时
配置虚拟终端密码:
Router(config)#line vty 0 4
Router(config-line)#password wu
Router(config-line)#login
Router(config-line)#transport input    //允许只哪种协议能够进入
配置辅助端口的操作:
Router(config)#line aux 0
Router(config-line)#password wu
Router(config-line)#login
设置所有密码加密:
Router(config)# ervice password-encryption
保存所做的配置:
Router#write(runnning-config start-config)

clh899 发表于 2013-3-17 20:01:33

避孕的效果:不成功,便成“人”。

西大 发表于 2013-5-16 13:37:53

如果有一双眼睛陪我一同哭泣,就值得我为生命受苦。

spell 发表于 2013-5-19 02:31:55

生活***好玩,因为生活老***玩我!

天成1 发表于 2013-5-21 21:46:55

.其实我是一个天才,可惜天妒英才!

龍子 发表于 2013-5-25 14:11:19

我本非随便的人,但如果你想随便,那我就随你的便好啦!

2653885 发表于 2013-5-30 07:17:04

修养的艺术,其实就是说谎的艺术。
页: [1]
查看完整版本: CISCO路由器的基本初始配置