下载此文档

CCNA实验大全.docx


文档分类:资格/认证考试 | 页数:约53页 举报非法文档有奖
1/53
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/53 下载此文档
文档列表 文档介绍
CCNA实验大全
一、CDP 的配置。

1
2
3
S1/1
S1/0
S1/1
S1/0



要求:a、配置接口的信息。
b 、R1能ping通R2,R2能ping通R3;
c、在R2 S1/0关闭cdp,使R1不能发现R2,但R3可以发现R2;
d、 R2在全局的模式下关闭cdp,让所有的路由器间不能相互发现对方。
注:如果路由器之间连接帧中继,需要封装encapsulation frame-relay
步骤:1、配置基本信息
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#line con 0
R1(config-line)#logging syn
R1(config-line)#exec-timeout 0
R1(config)#interface s1/1
R1(config-if)#no shutdown
R1(config-if)#ip address
Router(config)#hostname R2
R2(config)#no ip domain-lookup
R2(config)#line con 0
R2(config-line)#logging syn
R2(config-line)#exec-timeout 0
R2(config)#interface s1/0
R2(config-if)#no shutdown
R2(config-if)#ip address
R2(config-if)#exit
Router(config)#interface s1/1
R2(config-if)#no shutdown
R2(config-if)#ip address
Router(config)#hostname R3
R3(config)#no ip domain-lookup
R3(config)#line con 0
R3(config-line)#logging syn
R3(config-line)#exec-timeout 0
R3(config)#interface s1/0
R3(config-if)#no shutdown
R3(config-if)#ip address
2、R1能ping通R2,R2能ping通R3;
r1#ping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:
!!!!!
ess rate is 100 percent (5/5), round-trip min/avg/max = 48/56/88 ms
R2#ping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:
!!!!!
ess rate is 100 percent (5/5), round-trip min/avg/max = 48/56/88 ms
3在R2 S1/0关闭cdp,使R1不能发现R2,但R3可以发现R2;
r1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
R2 Ser 1/1 147 R 7206VXR Ser 1/0
在R2s1/0关闭cdp:(直关闭接口的CDP)
R2(config)#interface s1/0
R2(config-if)#no cdp enable
在R1查询cdp的邻居(60s):
r1#show cdp neighbors
Capability Codes: R

CCNA实验大全 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数53
  • 收藏数0 收藏
  • 顶次数0
  • 上传人xunlai783
  • 文件大小515 KB
  • 时间2018-06-08