ccna涉及到的实验-合辑-全部28个实验及拓扑图(编辑修改稿)内容摘要:
4) Consol 口日志的同步启用 5) Consol 口日志的级别设定 6) 恢复端口的出厂配置 7) 取消命令行的配置 8) 缺省路由的使用 9) 不同路由器的切换 二. 实验 实验拓扑: 拓扑分析: 两个路由器相连的网络使用了子网掩码为 30 位的网络号。 因此该子网络只拥有 4 个 IP,分别为 . ,其中 络号, 为广播号,因此只有 和 两个 IP 可用。 注:在实验中,我们用 Loopback 口代替 4 台 PC。 R1 的 S0/0 口设为 DCE 端连接到 R2 的S0/1 口。 路由器 R1 配置如下: Router en 进入特权模式 Router conf t 进入全局配置模式 Router host R1 更改路由器名 R1 (config) int lo1 进入了 loopback1 口 R1 (configif) ip add 配置端口 IP R1 (configif) exit R1 (config) int lo2 R1 (configif) ip add R1 (configif) exit R1 (config) int lo3 R1 (configif) ip add R1 (configif) ^Z 直接退之特权模式 R1 config t R1 (config) int s0/0 配置 S0/0 口 R1 (configif) ip add 配置 IP R1 (configif) clock rate 56000 配置 DCE 端时钟 R1 (configif) no shut 启用端口 R1 (configif) exit R1 (config) router rip 启用 RIP 路由协议 R1 (configrouter) 加入直连的网络号 R1 (configrouter) R1 (configrouter) R1 (configrouter) ^Z R1 show ip router 察看路由表 路由器 R2配置如下 : Router en Router config t Router (config) host R2 R2 (configif) int s0/1 R2 (configif) ip add R2 (configif) no shut R2 (configif) exit R2 (config) int lo1 R2 (configif) ip add R2 (configif) exit R2 (config) router rip R2 (configrouter) R2 (configrouter) R2 (configrouter) ^Z R2 show ip route 三.实验结果: 由图可见, C 代表直连的两个网络。 R 代表由 RIP 协议从路由器 R1 上学习来的 3 个 IP。 在 R2 上能看到 A 类网络 10 的路由原因是因为 IOS 里缺省有一句话 ip classless,如果使用no ip classless,在 R2上将看不到 A类网络 10 的路由,原因是 RIP 是有类路由,会在边界也就 R2 的 s0/1 口做自动汇总,它会认为 A 类网络 10 是自己直连的网络,虽然从 R1 也能学到,但那有一跳,因没有直连路由好而被忽略。 四.实验总结: 在实验中,首先应该注意线路的连接,注意串行线 DCE 端的位置以便在端口配置中设置时钟的位置。 在给路由器接口配 IP 地址时,注意 IP 的选用,如本实验中。 在 实验中经常遇到一些问题,经切身实践我将其总结如下。 问题 1: 在输命令时,经常被 CONSOLE 口日志打断。 解决: CONSOLE 口日志的同步启用。 使用以下命令: R2 (config) line console 0 R2 (configline) no log 0(根据 0 到 7 值的不同,取消的日志消息级别也不同 ) 问题 2: 想清空端口的先前配置。 解决: 恢复端口的出厂配置,使用命令如下: R2 (config) default interface s0/1(s0/1 端口恢复成出厂设置 ) 问题 3: 设置静态路由是不知道另一端 IP。 解决: 使用缺省路由。 使用命令: R2 (config) ip route s0/1 本路由器的流出接口 实验七 通过 IGRP 路由协议实现非等值带宽的负载平衡 实验要求 : 通过在两台 路由器上配置 IGRP 路由协议实现 路由器之间 非等值带宽的负载平衡。 实验拓扑: 路由器 R1 配置如下: Router en 进入特权模式 Router conf t 进入全局配置模式 Router host R1 更改路由器名 R1 (config) int lo1 进入了 loopback1 口 R1 (configif) ip add R1 (configif) ^Z 直接退之特权模式 R1 config t R1 (config) int s0 配置 S0 口 R1 (configif) ip add 配置 IP R1 (configif) clock rate 56000 配置 DCE 端时钟 R1 (configif) no shut 启 用端口 R1 (configif) exit R1 (config) router igrp 100 启用 IGRP 路由协议 R1 (configrouter) 加入直连的网络号 R1 (configrouter) R1 (configrouter) R1 (configrouter)variance 6 设置 variance 值, 可以在路径间启用负载平衡 ,把值设成 6 的依据 是用低速带宽的 METRIC 值除高速带宽 的METRIC 值,如何看到低速带宽的 METRIC 值呢(因路由表缺省只显示最优路由)。 把高速带宽的端口禁用,就可看到低速带宽的 METRIC 值了 R1 debug ip icmp 路由器 R2配置如下 : Router en Router config t Router (config) host R2 R2 (configif) int s0 R2 (configif) ip add R2 (configif) no shut R2 (configif) exit R2 (config) int lo1 R2 (configif) ip add R2 (configif) exit R2 (config) router igrp 100 R2 (configrouter) R2 (configrouter) R2 (configrouter) R2 (configrouter) variance 6 Router debug ip icmp 三.实验结果: r1ping Protocol [ip]: Target IP address: Repeat count [5]: 14 Datagram size [100]: Timeout in seconds [2]: Extended mands [n]: Sweep range of sizes [n]: Type escape sequence to abort. Sending 14, 100byte ICMP Echos to , timeout is 2 seconds: !!!!!!!!!!!!!! Success rate is 100 percent (14/14), roundtrip min/avg/max = 8/14/40 ms r1 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst 00:21:18: ICMP: echo reply rcvd, src , dst R2ping Protocol [ip]: Target IP address: Repeat count [5]: 14 Datagram size [100]: Timeout in seconds [2]: Extended mands [n]: Sweep range of sizes [n]: Type escape sequence to abort. Sending 14, 100byte ICMP Echos to , timeout is 2 seconds: !!!!!!!!!!!!!! Success rate is 100 percent (14/14), roundtrip min/avg/max = 8/15/44 ms R2 00:30:26: ICMP: echo reply rcvd,。ccna涉及到的实验-合辑-全部28个实验及拓扑图(编辑修改稿)
相关推荐
add R1 (configif)ip accessgroup 101 out R1 (configif)no shut R1 (configif)exit R1 (config)accesslist 1 deny R1 (config)int s0 R1 (configif)ip add R1 (configif)clock rate 56000 R1 (configif)no shut R1
er Routeren Routerconf t Router(config)host r2 r2(config)int s1 r2(configif)ip add r2(configif)no shutdown r2(configif)exit r2(config)int s0 r2(configif)ip add r2(configif)ip add r2(configif)clock
//配置端口 e0 ip add no shut ip summaryaddress eigrp 200 //汇总的是 A类中 ,在路由表中变成了一条 int lo1 ip add //设置 5个环回口代替 pc机 int lo2 ip add int lo3 ip add int lo4 ip add int lo5 ip add
ig)interface s1 R2(configif)ip address R2(configif)no shutdown R2(configif)interface loopback 0 亚亚 威威 CCNA 实实 验验 手手 册册 11 R2(configif)ip address R2(configif)exit R2(config) 步骤 三、 指定静态路由 R1(config)
以大网交换机; 令牌环交换机; FDDI 交换机; ATM 交换机; 快速以太网交换机等。 如果按交换机应用领域来划分,可分为: 台式交换机; 工作组交换机; 主干交换机; 企业交换机; 分段交换机; 端口交换机; 网络交换机等。 域网交换机是组成网络系统的核心设备。 对用户而言,局域网交换机最主要的指标是端口的配置、数据交换能力、包交换速度等因素。 因 此,在选择交换机时要注意以下事项: (
rommontftp_server= ;指定 TFTP 服务器 IP rommontftp_file= ;所要下载的文件 rommontftpdnld ; ROM 监控状态升级 IOS ok! rommondir flash: ;查看闪存中的内容 rommonboot ;引导 IOS router 实验五 路由器接口 ip 设置 装入图文件: router1d 本实验两个计算机, 一个路由器