实验一修改cisco 路由器的名称及路由器密码命令操作
实验要求:
1. 路由器名:
2. ,,,
3. 并要求所有密码都加密。
实验过程:
> enable
# configure terminal
(config)#hostname 设置路由器名
(config)# enable password 设置password
(config)# enable secret 设置secret
(config)# line vty 0 4
(config-line)#login 要求密码验证
(config-line)#password 设置vty密码
(config-line)#exit 退出线路配置模式
(config)#service password-encryption 对密码加密
实验二配置路由器端口ip地址/标识及保存当前的配置操作
实验要求:
1:在路由器的端口下配置ip地址
掩码
2:配置路由器提示信息 e to lab
3:配置路由器接口提示信息 this is a serial port
4:保存当前的配置
>enable
# configure terminal
(config)# interface 0/0
(config-if)# ip address
对以太网口fa0/0配置IP
keji(config-if)# no shutdown 开启端口
(config-if)exit
(config)#banner motd “
(config)#e to lab” 提示信息
以上几部是设置登陆提示信息
(config)# interface serial 0
(config-if)# description this is a serial port 端口描述信息
(config-if)#end
#copy running-config startup-config 对配置进行保存
实验三 CDP命令操作
实验要求:
1. 路由器名:1、 2、 3.
2. ,,,,并要求所有密码都加密.
3. 配置各路由器.
实验过程:
配置路由器1
router(config)#hostname 1 设置路由器名
1(config)enable password 设置password
1(config)enable secret 设置secret
1(config)line vty 0 4
1(config-line)#login 要求密码验证
1(config-line)#password 设置vty密码
1(config-line)end
1(config)#service password-encryption 对密码加密
1(config)#interface serial 0
1(config-if)#ip address 设置s0的IP地址和子网掩码
1(config-if)#clock rate 56000
思科路由的26个基本实验 来自淘豆网m.daumloan.com转载请标明出处.