




已阅读5页,还剩36页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
网络设备配置实训报告 班 级:网络331301班组 别:第七组 小组成员:刘 闯 陈 泽 蔡 轩 毛晨飞 李慧敏 李晓芃 宋钰 40 / 41网络设备配置课程实训任务书计算机信息 系计算机网络 专业 网络331302 班课程实训评审标准(1) 考勤与学习态度(20分):(2) 理论理解与实训报告内容(40分):(3) 实训步骤规范程度(20分):(4) 实训结果考核(20分):小组成员成绩:组员姓名(学号)成绩王 超 13王 裴 61李 圆 01李萌萌 24 刘朵朵 41刘小艳 48宋如星 36乔雅倩 17指导教师评语:评阅人: 评阅时间: 一、实习的任务按照计算机网络专业教学培养计划要求,学生在学完专业课网络设备配置课程后,应进行网络设备配置技术实训,其主要的任务是使学生深入理解并实践在本课程中所学的有关网络设备配置方面的基本概念、基本原理以及一些具体的实操配置应用实践,培养学生实际管理网络的能力,为学生毕业后的实际工作打好基础。二、实习的主要内容根据网络设备配置课程教学大纲,本实训的主要内容可分为如下三部分。1 路由器配置实训2 交换机配置实训 3 广域网配置实训三、实习时间分配阶段日 期实习(设计)内容摘要指导教师班级第一周星期一PPP基本配置与认证李立峰肖文占网络331302星期二帧中继配置实训星期三交换机配置实训路由器配置实训星期四 ACL配置实训 NAT配置实训星期五整理实训报告 考核四、实习内容实验一 PPP基本配置与认证实验目的l 实验目的 串行链路上的封装概念。 PPP封装。 掌握PAP认证特点和配置方法。 掌握CHAP认证特点和配置方法。l 实验过程和主要步骤步骤一:路由器基本配置 路由器A: A(config)#interface F0/0 A(config-if)#ip address 192.168.1.1 255.255.255.0 A(config-if)#no shutdown A(config)#interface Serial2/0 A(config-if)#ip address 10.10.10.2 255.255.255.252 A(config-if)#no shutdown 路由器B: B(config)#interface Serial2/0 B(config-if)#ip address 10.10.10.1 255.255.255.252 B(config-if)#clock rate 64000 B(config)#interface Serial3/0 B(config-if)#ip address 20.20.20.21 255.255.255.252 B(config-if)#clock rate 64000 B(config-if)#no shutdown 路由器C: C(config)#interface Serial3/0 C(config-if)#ip address 20.20.20.22 255.255.255.252 C(config-if)#no shutdown C(config)#interface FastEthernet0/0 C(config-if)#ip address 192.168.2.1 255.255.255.0 C(config-if)#no shutdown步骤二:配置登录用户名和密码 路由器A: A(config)#username B password 123456 路由器B: B(config)#username A password 123456 B(config)#username C password 123456 路由器C: C(config)#username B password 123456 步骤三: PPP封装 路由器A: A(config)#interface serial 2/0 A(config-if)#encapsulation ppp 路由器B: B(config)#interface s2/0 B(config-if)#encapsulation ppp B(config)#interface s3/0 B(config-if)#encapsulation ppp 路由器C: C(config)#interface s3/0 C(config-if)#encapsulation ppp步骤四:配置PAP和CHAP认证 路由器A与B之间的PAP配置: A(config)#int s2/0 A(config-if)#encapsulation ppp A(config-if)#ppp authentication pap A(config-if)#ppp pap sent-username A password 123456 B(config)#int s2/0 B(config-if)#encapsulation ppp B(config-if)#ppp authentication pap B(config-if)#ppp pap sent-username B password 123456 路由器B与C之间的CHAP配置: B(config)#int s3/0 B(config-if)#encapsulation ppp B(config-if)#ppp authentication chap C(config)#int s3/0 C(config-if)#encapsulation ppp C(config-if)#ppp authentication chap步骤五:配置路由协议 这里以rip version 2为例 以路由器A为例: A(config)#router rip A(config-router)#version 2 A(config-router)#network 192.168.1.0 A(config-router)#network 10.10.10.0 A(config-router)#no auto-summary步骤六:查看并验证配置 在A上show interface s2/0:在B上show interface s2/0:在B上show interface s3/0:在C上show interface s3/0:l 实验拓扑 l 心得体会 我学会了PPP封装,以及CHAP的认证方法依赖于只有认证者和对端共享的密钥,密钥不是通过该链路发送的。 实验二 帧中继配置l 实验目的 掌握帧中继基本概念、DLCI含义、LMI作用、静态和动态映射区别 掌握帧中继基本配置:如接口封装、DLCI配置、LMI配置等 能够对帧中继进行基本故障排除l 实验过程和主要步骤1.绘制网络拓扑和地址规划情况网络拓扑,各个路由器接口的IP配置以及DLCI配置信息见上图。2.单个路由器的基本配置清单 以路由器A为例: Routerenable Router#configure terminal Router(config)#hostname A A(config)#interface Serial2/0 A(config-if)#ip address 192.168.1.1 255.255.255.0 A(config-if)#no shutdown3.单个路由器帧中继基本配置清单:如封装、ip、dlci、lmi 以路由器A为例: 其中 A-C的DLCI为103 A-B的DLCI为 102 接口的LMI类型为CISCO A(config)#int s2/0 A(config-if)#encapsulation frame-relay A(config-if)#bandwidth 64 A(config-if)#frame-relay map ip 192.168.1.2 102 broadcast A(config-if)#frame-relay map ip 192.168.1.3 103 broadcast A(config-if)#frame-relay lmi-type cisco4.网云交换表配置以网云Serial0为例:网云交换表的配置如下:5.验证三个路由器通信情况以在路由器A上ping B和C为例6.在各个路由器上配置ospf以路由器A为例 A(config)#router ospf 1A(config-router)#network 192.168.1.0 0.0.0.255 area 07.验证配置情况S2(config-if)# interface vlan 99 S2(config-if)# ip addrS2(config-if)# ip address 172.17.99.32 255.255.255.0S2(config-if)# no shuS2(config-if)# no shutdownS2(config)# ip default-gateway 172.17.99.1S2(config)# vtp mode clientSetting device to VTP CLIENT mode.S2(config)# vtp d%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4 (1), with S1 FastEthernet0/4 (99).omain CCNADomain name already set to CCNA.S2(config)# vtp passwS2(config)# vtp password CISCOSetting device VLAN database password to CISCOS2(config)# vtp password ciscoS2(config-if)# switchport trunk native vlan 99S2(config-if)# no shutdown S2(config-if)# interface fa0/11S2(config-if)# switchport mode trunkS2(config-if)# switchport trunk native vlan 99S2(config-if)# no shutdown S2(config-if)# interface fa0/18S2(config-if)# switchport mode trunkS2(config-if)# switchport trunk native vlan 99S2(config-if)# no shutdown S2(config-if)# exitS2(config)# interface fa0/11S2(config-if)# switS2(config-if)# switchport modeS2(config-if)# switchport mode accessS2(config-if)# switchS2(config-if)# switchport access vlan 10S2(config-if)# no shuS2(config-if)# no shutdown S2(config-if)# swiS2(config-if)# switchport mode accessS2(config-if)# switchS2(config-if)# switchport accessS2(config-if)# switchport access vlan 20S2(config-if)# no shuS2(config-if)# no shutdown S2(config-if)# SwitchSwitch en Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# hostSwitch(config)# hostname S3S3(config)# vlan 99S3(config-if-range)# switchport modeS3(config-if-range)# switchport mode trunkS3(config-if-range)# swS3(config-if-range)# switchport truS3(config-if-range)# switchport trunk natiS3(config-if-range)# switchport trunk native vlan 99S3(config-if)# switchport trunk native vlan 99S3(config-if)# no shutdown S3(config-if)# exitS3(config)# vtp mode clientSetting device to VTP CLIENT mode.S3(config)# vtp domain CCNADomain name already set to CCNA.S3(config)# vtp passwS3(config)# vtp password % Incomplete command.S3(config)# vtp password ciscoSetting device VLAN database password to ciscoS3(config)# interface fa0/7S3(config-if)# switchS3(config-if)# switchport mode accessS3(config-if)# swiS3(config-if)# switchport accessS3(config-if)# switchport access vlan 88S3(config-if)# no shuS3(config-if)# no shutdown S3(config-if)#R1 enPassword: Password: R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)# interfaR1(config)# interface fa0/0R1(config-if)# ip addrR1(config-if)# interface fa0/0R1(config-if)# 172.17.50.1 255.255.255.0 % Invalid input detected at marker.R1(config-if)# ip addr 172.17.50.1 255.255.255.0R1(config-if)# ip address 172.17.50.1 255.255.255.0R1(config-if)# no shuR1(config-if)# no shutdown R1(config-if)# encR1(config-if)# enR1(config-if)# eR1(config-if)# exit R1(config-if)# exR1(config)# encapsulR1(config)# encapsulR1(config)# encR1(config)# encR1(config)# encR1(config)# R1(config)# interfR1(config)# interface fa0/1R1(config-if)# no shuR1(config-if)# no shutdown R1(config-if)# encapR1(config-if)# interfaceR1(config-if)# interface fa0/1.10R1(config-subif)# encaR1(config-subif)# encapsulation dot1q 10R1(config-subif)#ip addrR1(config-subif)# encapsulation dot1q 10R1(config-subif)# ip addrR1(config-subif)# ip address 172.17.10.1 255.255.255.0R1(config-subif)# interface fa0/1.20R1(config-subif)# ip addrR1(config-subif)# ip address 172.17.20.1 255.255.255.0% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.R1(config-subif)# interface fa0/1.88R1(config-subif)# encapsR1(config-subif)# encapsulation dot1q 88R1(config-subif)# ip addrR1(config-subif)# ip address 172.17.88.1 255.255.255.0R1(config-subif)# interface fa0/1.99R1(config-subif)# encapsulation dot1q 99R1(config-subif)# ip address 172.17.99.1 255.255.255.0R1(config-subif)# interface fa0/1.20R1(config-subif)# encapsulation dot1q 20R1(config-subif)# ip address 172.17.20.1 255.255.255.0R1(config-subif)#exitl 实验拓扑l 心得体会我学会了,帧中继传输数据,Cisco路由器需要知道哪个本地DLCL映射到远程目的地的第3层地址,这种地址到DLCL的映射可通过静态映射或动态映射指定。实验三 交换机配置实训l 实验目标 配置并检验基本设备配置。 配置 VTP 配置中继 配置 VLAN 为端口分配 VLAN 配置 STP 配置 VLAN 间单臂路由 配置无线连接 检验端到端连通性l 实验拓扑 l 实验过程和主要步骤S1(config)#vtp mode server Setting device to VTP SERVER mode.S1(config)#vtp domain Lab4Changing VTP domain name from NULL to Lab4S1(config)#vtp password ciscoSetting device VLAN database password to ciscoS1(config)#endS1#%SYS-5-CONFIG_I: Configured from console by consoleS2(config)#vtp mode client Setting device to VTP CLIENT mode. S2(config)#vtp domain Lab4Changing VTP domain name from NULL to Lab4S2(config)#vtp password ciscoSetting device VLAN database password to ciscoS2(config)#endS2#%SYS-5-CONFIG_I: Configured from console by consoleS3(config)#vtp mode client Setting device to VTP CLIENT mode.S3(config)#vtp domain Lab4Domain name already set to Lab4.S3(config)#vtp password ciscoPassword already set to ciscoS3(config)#endS3#%SYS-5-CONFIG_I: Configured from console by consoleS1(config)#interface range fa0/1-5S1(config-if-range)#switchport mode trunk S1(config-if-range)#switchport trunk native vlan 99S1(config-if-range)#no shS1(config-if-range)#no shutdown S1(config-if-range)#endS1#%SYS-5-CONFIG_I: Configured from console by consoleS2(config)# interface range fa0/1-5S2(config-if-range)#switchport mode trunkS2(config-if-range)#switchport trunk native vlan 99S2(config-if-range)#no shutdownS2(config-if-range)#endS3(config)# interface range fa0/1-5S3(config-if-range)#switchport mode trunkS3(config-if-range)#switchport trunk native vlan 99S3(config-if-range)#no shutdownS3(config-if-range)#endS1(config)#vlan 99S1(config-vlan)#name S1(config-vlan)#name mangementS1(config-vlan)#exitS1(config)#vlan 10S1(config-vlan)#name Faculty/StaffS1(config-vlan)#exit S1(config)#vlan 88S1(config-vlan)#name WirelessS1(config-vlan)#exit S1(config)#vlan 20S1(config-vlan)#name StudentsS1(config-vlan)#exitS2(config)#interface fa0/11S2(config-if)#switchport access vlan 10S2(config-if)#exitS2(config)#interface fa0/18S2(config-if)#switchport access vlan 20S2(config-if)#exitR1(config)#interface fa0/1.10R1(config-subif)#ip address 172.17.10.1 255.255.255.0R1(config)#interface fa0/1.20R1(config-subif)#ip address 172.17.20.1 255.255.255.0R1(config)#interface fa0/1.88R1(config-subif)#ip address 172.17.88.1 255.255.255.0R1(config)#interface fa0/1.99R1(config-subif)#ip address 172.17.99.1 255.255.255.0S1(config)#ip default-gateway 172.17.99.1S2(config)#ip default-gateway 172.17.99.1S3(config)#ip default-gateway 172.17.99.1l 心得体会 在配置过程中,经常粗心敲错命令,导致最后ping不通,要仔细。实验四 路由器配置实训l 实验目的 设计一个编址方案并记录下来。 在设备上应用基本配置。 配置路由器优先级和路由器 ID。 配置 OSPF 路由。 在适当的接口上禁用路由更新。 检验拓扑中所有设备间的完全连通性l 实验拓扑l 实验过程和主要步骤S1S1 ENS1# conf tEnter configuration commands, one per line. End with CNTL/Z.S1(config)# spanS1(config)# spanning-tree prioS1(config)# spanning-tree prS1(config)# spanning-tree pS1(config)# spanning-tree ? mode Spanning tree operating mode portfast Spanning tree portfast options vlan VLAN Switch Spanning TreeS1(config)# spanning-tree S2(config-if)# interface vlan 99 S2(config-if)# ip addrS2(config-if)# ip address 172.17.99.32 255.255.255.0S2(config-if)# no shuS2(config-if)# no shutdownS2(config)# ip default-gateway 172.17.99.1S2(config)# vtp mode clientSetting device to VTP CLIENT mode.S2(config)# vtp d%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4 (1), with S1 FastEthernet0/4 (99).omain CCNADomain name already set to CCNA.S2(config)# vtp passwS2(config)# vtp password CISCOSetting device VLAN database password to CISCOS2(config)# vtp password ciscoS2(config-if)# switchport trunk native vlan 99S2(config-if)# no shutdown S2(config-if)# interface fa0/11S2(config-if)# switchport mode trunkS2(config-if)# switchport trunk native vlan 99S2(config-if)# no shutdown S2(config-if)# interface fa0/18S2(config-if)# switchport mode trunkS2(config-if)# switchport trunk native vlan 99S2(config-if)# no shutdown S2(config-if)# exitS2(config)# interface fa0/11S2(config-if)# switS2(config-if)# switchport modeS2(config-if)# switchport mode accessS2(config-if)# switchS2(config-if)# switchport access vlan 10S2(config-if)# no shuS2(config-if)# no shutdown S2(config-if)# swiS2(config-if)# switchport mode accessS2(config-if)# switchS2(config-if)# switchport accessS2(config-if)# switchport access vlan 20S2(config-if)# no shuS2(config-if)# no shutdown S2(config-if)# SwitchSwitch en Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# hostSwitch(config)# hostname S3S3(config)# vlan 99S3(config-if-range)# switchport modeS3(config-if-range)# switchport mode trunkS3(config-if-range)# swS3(config-if-range)# switchport truS3(config-if-range)# switchport trunk natiS3(config-if-range)# switchport trunk native vlan 99S3(config-if)# switchport trunk native vlan 99S3(config-if)# no shutdown S3(config-if)# exitS3(config)# vtp mode clientSetting device to VTP CLIENT mode.S3(config)# vtp domain CCNADomain name already set to CCNA.S3(config)# vtp passwS3(config)# vtp password % Incomplete command.S3(config)# vtp password ciscoSetting device VLAN database password to ciscoS3(config)# interface fa0/7S3(config-if)# switchS3(config-if)# switchport mode accessS3(config-if)# swiS3(config-if)# switchport accessS3(config-if)# switchport access vlan 88S3(config-if)# no shuS3(config-if)# no shutdown S3(config-if)#R1 enPassword: Password: R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)# interfaR1(config)# interface fa0/0R1(config-if)# ip addrR1(config-if)# interface fa0/0R1(config-if)# 172.17.50.1 255.255.255.0 % Invalid input detected at marker.R1(config-if)# ip addr 172.17.50.1 255.255.255.0R1(config-if)# ip address 172.17.50.1 255.255.255.0R1(config-if)# no shuR1(config-if)# no shutdown R1(config-if)# encR1(config-if)# enR1(config-if)# eR1(config-if)# exit R1(config-if)# exR1(config)# encapsulR1(config)# encapsulR1(config)# encR1(config)# encR1(config)# encR1(config)# R1(config)# interfR1(config)# interface fa0/1R1(config-if)# no shuR1(config-if)# no shutdown R1(config-if)# encapR1(config-if)# interfaceR1(config-if)# interface fa0/1.10R1(config-subif)# encaR1(config-subif)# encapsulation dot1q 10R1(config-subif)#ip addrR1(config-subif)# encapsulation dot1q 10R1(config-subif)# ip addrR1(config-subif)# ip address 172.17.10.1 255.255.255.0R1(config-subif)# interface fa0/1.20R1(config-subif)# ip addrR1(config-subif)# ip address 172.17.20.1 255.255.255.0% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.R1(config-subif)# interface fa0/1.88R1(config-subif)# encapsR1(config-subif)# encapsulation dot1q 88R1(config-subif)# ip addrR1(config-subif)# ip address 172.17.88.1 255.255.255.0R1(config-subif)# interface fa0/1.99R1(config-subif)# encapsulation dot1q 99R1(config-subif)# ip address 172.17.99.1 255.255.255.0R1(config-subif)# interface fa0/1.20R1(config-subif)# encapsulation dot1q 20R1(config-subif)# ip address 172.17.20.1 255.255.255.0l 心得体会在配置过程中,搞错端口连接错误。实验五 ACL配置实训l 实验目标 设计命名标准 ACL 和命名扩展 ACL 应用命名标准 ACL 和命名扩展 ACL 测试命名标准 ACL 和命名扩展 ACL 排查命名标准 ACL 和命名扩展 ACL 的问题l 实验拓扑l 实验过程和主要步骤RouterenRouter# conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)# hostRouter(config)# hostname R1R1(config)# interfR1(config)# interface fa0/0R1(config-if)# ip addrR1(config-if)# ip address 192.168.10.1 255.255.255.0R1(config-if)# no shuR1(config-if)# no shutdownR1(config-if)# exitR1(config)# interfaR1(config)# interface fa0/1R1(config-if)# ip addrR1(config-if)# ip address 192.168.11.1 255.255.255.0R1(config-if)# no shuR1(config-if)# no shutdownR1R1 enR1# conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)# rouR1(config)# router psR1(config)# router osR1(config)# router ospf 1R1(config-router)#R1(config-router)#exitR1(config)# enabR1(config)# enable secR1(config)# enable secret ciscoR1(config)#line consR1(config)#line console 0R1(config-line)# passwR1(config-line)# password ciscoR1(config-line)# loginR1(config-line)#exitR1(config)# enaR1(config)# enable secretR1(config)# enable secret classR1(config)# line vty 0 15R1(config-line)# paSSWR1(config-line)# paSSWord CISCO R1(config-line)#LOGINR1(config-line)# exitR1(config)# no ip domain-lookR1(config)# no ip domain-lookup R1(config)# clockR1(config)# clock R1(config)# clock timezone R1(config)# clock
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 钢木门合同(标准版)
- (2025年标准)工厂工价合同协议书
- (2025年标准)耕地招商协议书
- (2025年标准)个人简单运输协议书
- (2025年标准)高校离职解约协议书
- (2025年标准)杠杆交易协议书
- (2025年标准)岗位安全培训协议书
- (2025年标准)富豪签名协议书
- 大理石加工工艺流程优化
- 2025年新长兴居民搬迁协议书
- GB/T 30790.6-2014色漆和清漆防护涂料体系对钢结构的防腐蚀保护第6部分:实验室性能测试方法
- 信息互联互通标准化成熟度测评-医科总医院
- 《氧化还原反应》完整版课件
- 人工智能导论课件
- 做一名新时代的优秀教师课件
- 中国古代的美育思想课件
- 日周月安全检查记录表
- 风力发电项目报价清单 (风机基础等)
- 重庆物业服务收费管理办法-重庆物价局
- GA∕T 1046-2013 居民身份证指纹采集基本规程
- (高清正版)SL 310-2019 村镇供水工程技术规范(完整版)
评论
0/150
提交评论