实验一路由器的基本命令操作
实验要求:
NA
设置password为cisco1,secret为cisco2,vty为cisco3,并要求所有密码都加密。
设置登陆提示信息
对串行口进行描述(描述信息)
将上述信息保存到tftp server
将实验过程配置写在记事本中进行粘贴:
实验过程:
en
conft
na 设置路由器名
enable password cisco1 设置password
enable secret cisco2 设置secret
line vty 0 4
login
pass cisco3 设置vty密码
exit
service password-en 对密码加密
int fa 0/0
ip add 对以太网口fa0/0配置IP
no shut 开启端口
exit
banner motd &
e na lab!!!!!! 提示信息
& 以上几部是设置登陆提示信息
int s0/0
desc this is a serial port 描述端口信息
exit
exit
copy running-config tftp 把信息保存到tftp
实验总结:
通过对上述实验的操作,初步了解了路由器的几个基本命令的使用。为下一步的学习做好了准备工作。
实验二 CDP命令操作
实验要求:
NA3
设置password为cisco1,secret为cisco2,vty为cisco3,并要求所有密码都加密。
配置各路由器
实验过程:
配置路由器1
en
conf t
na1 设置路由器名
enable password cisco1 设置password
enable secret cisco2 设置secret
line vty 0 4
login
pass
cisco3 设置vty密码
exit
service password-en 对密码加密
int s0
ip add 设置s0
clock rate 56000
no shut
exit
exit
copy run start
配置路由器2
En
Conf t
na2 设置路由器名
enable password cisco1 设置password
enable secret cisco2 设置secret
line vty 0 4
login
pass cisco3 设置vty密码
exit
service password-en 对密码加密
int s0 设置s0
ip add
clock rate 56000
no shut
exit
int s1 设置s1
ip add
no shut
exit
exit
配置路由器3
en
conf t
na3 设置路由器名
enable password cisco1 设置password
enable secret cisco2 设置secret
line vty 0 4
login
pass cisco3 设置vty密码
exit
service password-en 对密码加密
int s1 设置s1
ip add
no shut
exit
exit
在路由器2上操作:
show cdp neighbors 显示相连的网络器件
show cdp 显示CDP信息
show cdp traffic 显示CDP所用的数据包的信息
show cdp entry * 显示所有相邻路由器的所有信息
show cdp entry WORD(路由器名) 显示该路由器的所有信息
un all 关闭所有DEBUG信息
(config)#cdp run 启动CDP协议
disconnect (端口号) 放弃该端口的连接
show cdp interface (端口) 显示该端口的CDP信息
clear cdp counter 清除CDP计数器
debug cdp packet 启动CDP数据包调试模式
实验三静态路由的配置
实验目的:了解为何要在路由器上增设静态路由以及静态路由的配置
Router>en
Router#conf t
Router(config
CCNA中文实验指导word文档 来自淘豆网m.daumloan.com转载请标明出处.