ccna实验指导手册内容摘要:

0 0 R1resume 2 [Resuming connection 2 to ... ] R2 按< Ctrl+Shift6> +x 把界面切换到 R1 R1disconnect 1 Closing connceting to [ confim] 在 R2 上实验: R2show user Line User Host(s) Idle Location * 0 con 0 idle 00:00:00 67 vty 0 idle 00:05:43 Interface User Mode Idle Peer Address R2clear line 67 [ confirm] [OK] R2show user Line User Host(s) Idle Location * 0 con 0 idle 00:00:00 Interface User Mode Idle Peer Address 六、注意事项 利用 tel 来管理的几条命令的区别。 Show session :查看路由器或交换机主动打开了多少个 tel 会话。 Show users :查看路由器或交换机有谁 tel 进来,可以显示它的 IP Disconnect :在本路由器上主动断开本路由器所打开的 tel 会话 精华科技 CCNA 实验指导手册 16 Clear line :清除远端连接,发现有 tel 的会话,把它清除 Ctrl+shift+6 x : tel 会话的切换 Resume +会话 ID :重新再次连接,先 show session 查看会话的 ID 七、参考配置 R1sh run Building configuration... Current configuration : 603 bytes ! version no service passwordencryption ! hostname R1 ! ! ! ! ! ip ssh version 1 ! ! interface FastEther0/0 ip address duplex auto speed auto ! interface FastEther0/1 no ip address duplex auto speed auto shutdown ! interface Serial1/0 ip address clock rate 64000 ! interface Serial1/1 no ip address shutdown ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 精华科技 CCNA 实验指导手册 17 no ip address shutdown ! interface Vlan1 no ip address shutdown ! ip classless ! ! ! ! ! line con 0 line vty 0 4 password jinghua login ! ! End R2sh run Building configuration... Current configuration : 620 bytes ! version no service passwordencryption ! hostname R2 ! ! ! ! ! ip ssh version 1 ! ! interface FastEther0/0 no ip address duplex auto speed auto shutdown ! interface FastEther0/1 精华科技 CCNA 实验指导手册 18 no ip address duplex auto speed auto shutdown ! interface Serial1/0 ip address ! interface Serial1/1 no ip address shutdown ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 no ip address shutdown ! interface Vlan1 no ip address shutdown ! ip classless ip route ! ! ! ! ! line con 0 line vty 0 4 password jinghua login ! ! End Switchsh run Building configuration... Current configuration : 989 bytes ! version 精华科技 CCNA 实验指导手册 19 no service passwordencryption ! hostname Switch ! ! ! interface FastEther0/1 ! interface FastEther0/2 ! interface FastEther0/3 ! interface FastEther0/4 ! interface FastEther0/5 ! interface FastEther0/6 ! interface FastEther0/7 ! interface FastEther0/8 ! interface FastEther0/9 ! interface FastEther0/10 ! interface FastEther0/11 ! interface FastEther0/12 ! interface FastEther0/13 ! interface FastEther0/14 ! interface FastEther0/15 ! interface FastEther0/16 ! interface FastEther0/17 ! interface FastEther0/18 ! interface FastEther0/19 ! 精华科技 CCNA 实验指导手册 20 interface FastEther0/20 ! interface FastEther0/21 ! interface FastEther0/22 ! interface FastEther0/23 ! interface FastEther0/24 ! interface GigabitEther1/1 ! interface GigabitEther1/2 ! interface Vlan1 ip address ! ip defaultgateway ! line con 0 ! line vty 0 4 password jinghua login line vty 5 15 login ! ! End 实验 六 : CDP 命令操作 一、实验目的 通过实验掌握 CDP 命令的使用 二、实验描述 CISCO 发现协议( cisco discovery protocol)是由 cisco 设计的专用协议,能够帮助管理员收集关于本地连接和远程连接设备的相关信息。 通过使用 CDP 可以收集相邻设备的硬件和协议信息,此信息对于故障诊断和网络文件归档非常有用。 主要配置内容如下: 1. 路由器名: CCNA1 CCNA2 CCNA3 password 为 cisco1,secret 为 cisco2,vty 为 cisco3,并要求所有密 码都加密。 三、实验拓扑 精华科技 CCNA 实验指导手册 21 四、所需设备 3 台 2 根 五、实验步骤 第 1 步:配置路由器的三个密码,并加密。 Routerconf t Router(config)hostname CCNA1 CCNA1(config)enable password cisco1 CCNA1(config)enable secret cisco2 CCNA1(config)line vty 0 4 CCNA1(configline)password cisco3 CCNA1(configline)login CCNA1(configline)exit CCNA1(config)service passwordencryption 路由器 3 的配置同上。 第 2 步:配置接口 ip 地址 CCNA1(config)int s1/0 CCNA1(configif)ip add CCNA1(configif)no sh CCNA2(config)int s1/0 CCNA2(configif)ip add CCNA2(configif)clock rate 64000 CCNA2(configif)no sh CCNA2(config)int s1/1 精华科技 CCNA 实验指导手册 22 CCNA2(configif)ip add CCNA2(configif)clock rate 64000 CCNA2(configif)no sh CCNA3(config)int s1/1 CCNA3(configif)ip add CCNA3(configif)no sh 第 3 步:在 R2 上查看 CDP 信息 CCNA2sh cdp neighbors Capability Codes: R Router, T Trans Bridge, B Source Route Bridge S Switch, H Host, I IGMP, r Repeater, P Phone Device ID Local Intrfce Holdtme Capability Platform Port ID CCNA1 Ser 1/0 138 R C2800 Ser 1/0 CCNA3 Ser 1/1 138 R C2800 Ser 1/1 CCNA2sh cdp entry * Device ID: CCNA1 Entry address(es): IP address : Platform: cisco C2800, Capabilities: Router Interface: Serial1/0, Port ID (outgoing port): Serial1/0 Holdtime: 176 Version : Cisco IOS Software, 2800 Software (C2800NMADVIPSERVICESK9M), Version (15)T1, RELEASE S。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。