IT Training
支点培训
武汉数据库培训体系
武汉数据库培训
实验二 CDP命令操作
来源:支点信息   时间:2014-11-14 9:42:08

 

 实验要求:

1.       路由器名:CCNA1 CCNA2 CCNA3

2.       设置passwordcisco1,secretcisco2,vtycisco3,并要求所有密码都加密。

3.       配置各路由器

 

 

实验过程:

配置路由器1

en

conf t

host ccna1                                                   设置路由器名

enable password cisco1                               设置password

enable secret cisco2                                     设置secret

line vty 0 4                                                                                                               

login

pass cisco3                                                  设置vty密码

exit

service password-en                                     对密码加密

int s0

ip add 202.119.249.1 255.255.255.0           设置s0

clock rate 56000

no shut

exit

exit

 

配置路由器2

En

Conf t

host ccna2                                                   设置路由器名

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 202.119.248.1 255.255.255.0                              

clock rate 56000

no shut

exit

int s1                                                          设置s1

ip add 202.119.248.2 255.255.255.0

no shut

exit

exit

 

配置路由器3

en

conf t

host ccna3                                                  设置路由器名

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 202.119.248.2 255.255.255.0

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数据包调试模式



支点信息是一家以网络技术数据库技术为主导的高端IT技术培训公司,是Pearson VUE国际IT认证考试中心,支点信息为企业及广大学员提供全面、细致、专业的线上、线下服务,致力于为客户提升良好的职业竞争力。

咨询电话:027-87538988

分享到:
 
 
地址:武汉市武昌区华乐商务中心2401(鲁巷购物广场西侧,乘车至“鲁巷站”即到)       邮编:430073      
版权所有 2012 支点信息技术有限公司,Copyright © 20112 zd-lab.com All rights reserved       备案号:鄂ICP备07002426号

咨询电话027-87538988

咨询 QQ:200867967