ccna实验手册1(编辑修改稿)内容摘要:
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) R1(config)ip route serial 0 指定 静态路由 R2(config) R2(config)ip route 指定 静态路由 步骤 四、 作 ping 测试 R1ping Protocol [ip]: Target IP address: 目的地址 Extended mands [n]: y 是否用扩展命令 Source address or interface: 源地址 !!!!! 显示 已通 步骤 五、 显示静态路由条目 R1show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, ia ISIS inter area * candidate default, U peruser static route, o ODR P periodic downloaded static route Gateway of last resort is not set , 1 subs S is directly connected, Serial0 静态路由条目 , 1 subs C is directly connected, Loopback0 , 1 subs C is directly connected, Serial0 步骤 六、 显示 当前配置 R1 的配置结果: R1show runningconfig ! hostname R1 亚亚 威威 CCNA 实实 验验 手手 册册 12 ! no ip domainlookup ! interface Loopback0 ip address ! interface Serial0 ip address clockrate 64000 ! ip route Serial0 ! line con 0 exectimeout 0 0 logging synchronous transport input none end R2 的配置结果: R2show runningconfig ! hostname R2 ! no ip domainlookup ! interface Loopback0 ip address ! interface Serial1 ip address ! ip route ! line con 0 exectimeout 0 0 logging synchronous ! end 亚亚 威威 CCNA 实实 验验 手手 册册 13 实验三、 RIP 路由协议 环境: 两台 2500 系列路由器 由串口相连。 要求: 如下图所示, 在 R1 和 R2 上运行 RIPv1,让两端能够学习到对端的路由以达到通信的目的。 步骤 一、 基本配置 Router Routerenable Routerconfig terminal Router(config)hostname R1 R1(config)no ip domainlookup 关闭域名查找 R1(config)line console 0 R1(configline) logging synchronous 命令输入达到同步 R1(configline)exectimeout 0 0 设置永不超时 R1(configline)exit 步骤 二、 接口 IP 配置 R1 的配置: R1(config)interface s0 R1(configif)ip address R1(configif)clock rate 64000 注意时钟速率端 R1(configif)no shutdown R1(configif)interface loopback 0 R1(configif)ip address R1(configif) R2 的配置: Router(config)hostname R2 亚亚 威威 CCNA 实实 验验 手手 册册 14 R2(config)interface s1 R2(configif)ip address R2(configif)no shutdown R2(configif)interface loopback 0 R2(configif)ip address R2(configif)exit R2(config) 步骤 三、 启用 RIP 路由选择协议 R1 的配置: R1(config)router rip 启用 RIP R1(configrouter)work 发布 直连网段 R1(configrouter)work R1(configrouter)exit R1(config) R2 的配置: R2(config)router rip 启用 RIP R2(configrouter)work 发布直连网段 R2(configrouter)work R2(configrouter)exit R2(config)end 步骤 四 、显示路由表,查看路由条目 R1show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, ia ISIS inter area * candidate default, U peruser static route, o ODR P periodic downloaded static route Gateway of last resort is not set R [120/1] via , 00:00:03, Serial0 学习来的路由条目 , 1 subs C is directly connected, Loopback0 , 1 subs C is directly connected, Serial0 亚亚 威威 CCNA 实实 验验 手手 册册 15 步骤 五 、用扩展 ping 命令测试连通性 R2ping Protocol [ip]: Target IP address: Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended mands [n]: y Source address or interface: !!!!! 步骤 六 、显示你当前路由协议 R2show ip protocols 显示你当前路由协议配置情况和运行状态 Routing Protocol is rip Sending updates every 30 seconds, next due in 24 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Ining update filter list for all interfaces is Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Keychain Loopback0 1 1 2 Serial1 1 1 2 Automatic work summarization is in effect Routing for Networks: Routing Information Sources: Gateway Distance Last Update 120 00:14:05 Distance: (default is 120) 步骤 七 、显示当前配置 r1 的当前配置: r1show runningconfig ! hostname R1 ! no ip domainlookup ! interface Loopback0 亚亚 威威 CCNA 实实 验验 手手 册册 16 ip address ! interface Serial0 ip address clockrate 64000 ! router rip work work ! line con 0 exectimeout 0 0 logging synchronous transport input none end r2 的当前配置: R2sh run ! hostname R2 ! no ip domainlookup ! interface Loopback0 ip address ! interface Serial1 ip address ! router rip work work ! line con 0 exectimeout 0 0 logging synchronous ! end 亚亚 威威 CCNA 实实 验验 手手 册册 17 实验 四 、 RIPv1 与 EIGRP 在不连续网络下的比较 环境:两台 2500 系列路由器,由串口相连。 要求:在 RIPv1 和 EIGRP 中将两个相同主类网络的不同子网由另一个主类网络 分割,如何能学到对端网 络。 RIP 配置: 步骤 一、 基本配置 Router Routerenable Routerconfig terminal Router(config)hostname R1 R1(config)no ip domainlookup R1(config)l。ccna实验手册1(编辑修改稿)
相关推荐
4) Consol 口日志的同步启用 5) Consol 口日志的级别设定 6) 恢复端口的出厂配置 7) 取消命令行的配置 8) 缺省路由的使用 9) 不同路由器的切换 二. 实验 实验拓扑: 拓扑分析: 两个路由器相连的网络使用了子网掩码为 30 位的网络号。 因此该子网络只拥有 4 个 IP,分别为 . ,其中 络号, 为广播号,因此只有 和 两个 IP 可用。 注:在实验中,我们用
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
以大网交换机; 令牌环交换机; FDDI 交换机; ATM 交换机; 快速以太网交换机等。 如果按交换机应用领域来划分,可分为: 台式交换机; 工作组交换机; 主干交换机; 企业交换机; 分段交换机; 端口交换机; 网络交换机等。 域网交换机是组成网络系统的核心设备。 对用户而言,局域网交换机最主要的指标是端口的配置、数据交换能力、包交换速度等因素。 因 此,在选择交换机时要注意以下事项: (
rommontftp_server= ;指定 TFTP 服务器 IP rommontftp_file= ;所要下载的文件 rommontftpdnld ; ROM 监控状态升级 IOS ok! rommondir flash: ;查看闪存中的内容 rommonboot ;引导 IOS router 实验五 路由器接口 ip 设置 装入图文件: router1d 本实验两个计算机, 一个路由器
换机来使不同 VLAN 间可以互相通信。 不同的 VLAN,我们可以把它们看成两个无论是逻辑上还是物理上都是相互独立的两个网段,对于这样两个网段之间,如果需要有流量通过,那么最好的解决办法就是通过第三层寻址方式来使他们互通。 在划分 VLAN 时注意的问题: 不同厂商设备划分的 VLAN 可能不兼容; 在定义好 VLAN 后,记得把相应的接口成员添加到 VLAN 中,否则 VLAN无效 在做同一