ImageVerifierCode 换一换
格式:DOCX , 页数:59 ,大小:144.64KB ,
资源ID:6488045      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/6488045.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(CCNA实验汇总.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

CCNA实验汇总.docx

1、CCNA实验汇总一 路由器的基本操作1. 实验拓扑:用到R1、R2和R3实验要求:(1) 10.1.1.0/24最基本配置: 重命名路由器分别为:R1、R2和R3 10.2.2.0/24关闭域名查找(解释) 设置输入同步 设置执行会话时间为20分钟(2) 设置路由器的时区、日期和时钟(3) 设置路由器接口的IP地址(4) 设置路由器的描述信息 设置登陆描述信息 设置接口描述信息(5) 设置密码 设置访问路由器的端口(AUX、Console和VTY密码) 使用明文方式对特权模式进行加密设置 使用service password-encryption命令把明文密码隐藏起来 使用MD5算法对特权模式

2、进行加密设置 实现对直连的路由器进行telnet访问设置(6) 创建静态hostname表,然后使用该表对直连的路由器进行telnet访问设置2. 实验步骤:(1) 使用show version查看路由器IOS版本、IOS映像文件、存储器大小、接口类型及配置登记值等相关信息,可以使我们对设备有初步的了解Routershow versionR1:Routerenable /进入特权模式Router#configure terminal /进入全局配置模式Router(config)#hostname r1 /重命名为r1r1(config)#no ip domain-lookback /关闭域名

3、查找r1(config)#line console 0 /进入线路配置模式r1(config-line)#exec-timeout 20 00 /设置会话时间为20分钟r1(config-line)#logging synchronous /设置输入同步r1(config-line)#endR2:RouterenRouter#conf tRouter(config)#ho r2r2(config)#no ip domain-loor2(config)#line con 0r2(config-line)#logg sr2(config-line)#exec-timeout 20 00r2(con

4、fig-line)#endR3:RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#ho r3r3(config)#no ip domain-loor3(config)#line con 0r3(config-line)#logg sr3(config-line)#exec-timeout 20 00r3(config-line)#end(2) 设置路由器的时区、日期和时钟R1:r1#show clock /查看时区、日期和时钟*17:28:05.643

5、UTC Tue Oct 21 2008r1#conf tr1(config)#clock timezone Beijing +8 /设置时区r1(config)#endr1#clock set 17:28:48 Oct 21 2008 /设置时钟和日期r1#show clock17:28:52.403 Beijing Tue Oct 21 2008R2和R3同上(3) 设置路由器接口的IP地址R1:r1#conf tr1(config)#int fa0/0 /进入接口r1(config-if)#ip address 10.1.1.1 255.255.255.0 /配置IP地址r1(config

6、-if)#no shutdown /激活该接口r1(config-if)#endr1#show running-config interface fastethernet 0/0 /查看该接口当前运行的所有信息r1#show interfaces fastethernet 0/0 /查看该接口的完整信息r1#show ip interface brief /查看接口状态的摘要信息R2:r2#conf tr2(config)#int fa 0/0r2(config-if)#ip add 10.1.1.2 255.255.255.0r2(config-if)#no shr2(config-if)#

7、exitr2(config)#intr2(config)#int s1/1r2(config-if)#ip add 10.2.2.2 255.255.255.0r2(config-if)#clock rate 64000 /设置DCE时钟频率r2(config-if)#no shr2(config-if)#endr2#show running-conf int fa0/0r2#show int fa0/0r2#show int s1/1r2#show ip int br2#ping 10.1.1.1 /测试连通性R3:r3#conf tr3(config)#int s1/0r3(config-

8、if)#ip add 10.2.2.3 255.255.255.0r3(config-if)#no shr3(config-if)#endr3#show running-conf int s1/0r3#show int s1/0r3#how ip int br3#ping 10.2.2.2R2:(测试连通性)r2#ping 10.1.1.1r2#ping 10.2.2.3(4) 设置路由器的描述信息R1:r1#conf tr1(config)#banner motd# /设置登陆描述信息Welcome to Guangzh CCNA club # /输入描述内容后以#结束r1(config)#

9、int fa0/0r1(config-if)#description link to Beijing CCNA club /description后面内容为接口描述信息r1(config-if)#no shr1(config-if)#endr1#exitR2:r2#conf tr2(config)#banner motd #Welcome to Beijing CCNA club #r2(config)#int fa0/0r2(config-if)#desc link to Guangzhou CCNA clubr2(config-if)#no shr2(config-if)#exitr2(c

10、onfig)#int s1/1r2(config-if)#desc link to Shanghai CCNA clubr2(config-if)#no shr2(config)#endR3:r3#conf tr3(config)#banner motd#Welcome to Shanghai CCNA club#r3(config)#int s1/0r3(config-if)#desc link to Beijing CCNA clubr3(config-if)#no shr3(config-if)#end(5) 设置密码R1:r1#conf tr1(config)#line aux 0 /

11、设置aux 0的密码r1(config-line)#password cisco /密码为ciscor1(config-line)#login /设置登陆提示密码r1(config-line)#exitr1(config)#line con 0 /设置console的密码r1(config-line)#password ciscor1(config-line)#loginr1(config-line)#exitr1(config)#line vty 0 4 /设置vty的密码r1(config-line)#password ciscor1(config-line)#loginr1(config

12、-line)#exitr1(config)#enable password cisco /设置特权模式密码(明文方式)r1(config)#service password-encryption /对所有明文密码进行加密r1(config)#enable secret cisco 使用MD5算法对特权模式进行加密r1(config)#exitr1#show running-config /查看所配置的密码显示R2和R3配置同上R2:r2#telnet 10.1.1.1 /从r2向r1发起telnetTrying 10.1.1.1 . OpenPassword: /密码不会显示出来,输完后直接按

13、回车r1enablePassword: /同上r1#show running-config fa0/0 /已经显示登陆到r1其他同上。满足telnet的最低3个条件:1 必须确保telnet与被telnet设备能够通信;2 必须配置vty密码;3 必须配置enable密码(6) 创建静态hostname表,然后使用该表对直连的路由器进行telnet访问设置R1:r1#conf tr1(config)#ip host Beijing 10.1.1.2r1(config)#endR2:r2#conf tr2(config)#ip host Guangzhou 10.1.1.1r2(config)#

14、ip host Shanghai 10.2.2.3r2(config)#endR3:r3#conf tr3(config)#ip host Beijing 10.2.2.2r3(config)#end分别运行show host命令可以查看到各自的hostname表测试:r1#telnet Beijing /r1 telnet r2Trying Beijing (10.1.1.2). OpenPassword: r2enPassword:r2#r2#telnet Guangzhou /r2 telnet r1Trying Guangzhou (10.1.1.1). OpenPassword: r

15、1enPassword: r1#r2#telnet Shanghai /r2 telnet r3Trying Shanghai (10.2.2.3). OpenPassword: r3enPassword: r3#r3#telnet Beijing /r3 telnet r2Trying Beijing (10.2.2.2). OpenPassword: r2enPassword: r2#二 交换机的基本配置1. 实验拓扑:用到SW1和SW22. 实验要求(1) 最基本要求 分别重命名两台交换机为:sw1和sw2 关闭域名查找(解释) 设置输入同步 设置执行会话时间为20分30秒(2) 设置交

16、换机的时区、日期和时钟(3) 设置交换机的接口 把fa1/7接口设置为:速率10M;半双工模式;access模式 把fa1/8接口设置为:速率100M;全双工模式;access模式;portfast 把fa1/1和fa1/2接口设置为:速率100M;全双工模式;trunk模式;trunk封装dot1q(4) 配置静态MAC地址 在sw1上把MAC地址:0010.65c9.2568与0012.2b30.1234分别以静态方式分配给接口fa1/9和fa1/10 在sw2上把MAC地址:1111.1111.1111与2222.2222.2222分别以静态方式分配给接口fa1/9和fa1/10(5)

17、设置交换机管理vlan IP地址和默认网关(6) 设置交换机的描述信息 设置登陆描述信息 设置fa1/1和fa1/2接口的描述信息(7) 设置密码 设置访问配置交换机的端口(Console和VTY)密码 使用service password-encryption命令把明文密码隐藏起来 使用MD5算法对特权模式进行加密设置 实现对同一网段的交换机进行telnet访问设置(8) 创建静态hostname表,然后使用该表对直连的交换机进行telnet访问设置3. 实验步骤(1) 基本要求SW1:Routershow versionRouterenableRouter#configure termin

18、alRouter(config)#hostname sw1sw1(config)#no ip domain-lookupsw1(config)#line console 0sw1(config-line)#logging synchronous sw1(config-line)#exec-timeout 20 30sw1(config-line)#endSW2:Routershow versionRouterenRouter#conf tRouter(config)#ho sw2sw2(config)#no ip domain-loosw2(config)#line con 0sw2(conf

19、ig-line)#logg ssw2(config-line)#exec-ti 20 30sw2(config-line)#end(2) 设置交换机的时区、日期和时钟SW1:sw1#show clock*00:05:58.767 UTC Fri Mar 1 2002sw1#conf tsw1(config)#clock timezone Beijing +8sw1(config)#exitsw1#clock set 8:22:50 oct 22 2008sw1#show clock08:22:53.815 Beijing Wed Oct 22 2008SW2设置同上(3) 设置交换机的接口SW

20、1:Sw1#show interfaces status /查看交换机所有接口默认状态信息sw1#conf tsw1(config)#int fa1/7 /进入fa1/7接口sw1(config-if)#speed 10 /设置速度为10M;speed ?可查看可选参数sw1(config-if)#duplex half /设置为半双工模式;duplex ?可查看可选参数 sw1(config-if)#switchport mode access /设置为访问模式;switchport mode ?查看参数sw1(config-if)#no shutdownsw1(config-if)#exi

21、tsw1(config)#int fa1/8 /进入fa1/8sw1(config-if)#speed 100 /设置速度为100Msw1(config-if)#duplex full /设置为全双工模式sw1(config-if)#switchport mode access /设置为访问模式sw1(config-if)#spanning-tree portfast /设置接口为portfast模式(前提端口为访问模式)sw1(config-if)#no shsw1(config-if)#exitsw1(config)#int range fa1/1 , fa1/2 /同时配置fa1/1和f

22、a1/2接口sw1(config-if-range)#speed 100sw1(config-if-range)#duplex fullsw1(config-if-range)#switchport mode trunk /封装trunk模式sw1(config-if-range)#switchport trunk encapsulation dot1q /trunk封装dot1qsw1(config-if-range)#no shsw1(config-if-range)#end检查命令(每配置完一个接口检查一次):sw1#show running-config interface fa1/7

23、 /查看接口当前运行的配置sw1#show interfaces fa1/7 /查看接口的完整信息sw1#show interfaces statussw1#show interfaces fa1/1 switchport sw1#show interfaces trunksw1#show vlan brief /实验时未能使用改命令sw1#show ip interface brief /查看所有接口状态的概要信息SW2的配置同上(4) 配置静态MAC地址SW1:sw1#conf tsw1(config)#mac-address-table static 0010.65c9.2568 int

24、erface fa1/9 vlan 1sw1(config)#mac-address-table static 0012.2b30.1234 interface fa1/10 vlan 1sw1(config)#interface range fa1/9 , fa1/10sw1(config-if-range)#no shsw1(config-if-range)#endsw1#show mac-address-table /查看MAC地址表中所有MAC地址sw1#show mac-address-table static /查看静态MAC地址表sw1#show mac-address-tabl

25、e dynamic /查看动态MAC地址表sw1#show mac-address-table interface fa1/1 /查看指定接口的MAC地址SW2:sw2#conf tsw2(config)#mac-address-table static 1111.1111.1111 int fa1/9 vlan 1sw2(config)#mac-address-table static 2222.2222.2222 int fa1/10 vlan 1sw2(config)#int ran fa1/9 , fa1/10sw2(config-if-range)#no shsw2(config-i

26、f-range)#end(5) 设置交换机管理vlan IP和默认网关SW1:sw1#conf tsw1(config)#interface vlan 1sw1(config-if)#ip add 10.1.1.1 255.255.255.0sw1(config-if)#no shsw1(config-if)#ip default-gateway 10.1.1.254sw1(config)#endsw1#show int vlan 1sw1#show ip int vlan 1sw1#show ip default-gatewaySW2:sw2#conf tsw2(config)#int vl

27、an 1sw2(config-if)#ip add 10.1.1.2 255.255.255.0sw2(config-if)#no shsw2(config-if)#exitsw2(config)#ip default-ga 10.1.1.254sw2(config)#endsw2#ping 10.1.1.1(6) 设置交换机的描述信息SW1:sw1(config)#banner motd # Enter TEXT message. End with the character m. /输入完文本后以m结束,有的以#结束This is CCNA club sw1 m /文本内容sw1(conf

28、ig)#int range fa1/1 , fa1/2sw1(config-if-range)#desc link to office switchsw1(config-if-range)#no shsw1(config-if-range)#endSW2配置同上(7) 设置密码sw1#conf tsw1(config)#line con 0sw1(config-line)#pass ciscosw1(config-line)#loginsw1(config-line)#exitsw1(config)#line vty ? /查看vty接口数 First Line numbersw1(confi

29、g)#line vty 0 871sw1(config-line)#pass ciscosw1(config-line)#loginsw1(config-line)#exitsw1(config)#service password-encryptionsw1(config)#enable secret ciscosw1(config)#endSW2配置同上sw2#telnet 10.1.1.1 /从r2 telnet r1Trying 10.1.1.1 . OpenUser Access VerificationPassword: sw1enPassword: sw1#(8) 创建静态host

30、name表,然后用该表对直连的交换机进行telnet访问设置SW1:sw1#conf tsw1(config)#ip host sw2 10.1.1.2 /邻居的hostname和IP地址sw1(config)#endSW2:sw1#conf tsw1(config)#ip host sw1 10.1.1.1sw1(config)#endsw2#telnet sw1Trying sw1 (10.1.1.1). Openord #This is CCNA club sw1 User Access VerificationPassword: sw1enPassword: sw1# /telnet成功三 配置简单CDP1. 实验拓扑:用到R1、R2、R3和Frame-Relay2. 实验要求(1) 基本配置(2) 在每台设备上把物理接口

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1