




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、配置特权模式执行口令:Router1/Switch (config)# enable secret cisco2、配置路由器/交换机控制台口令 Router1/Switch(config)# line console 0 Router1/Switch (config-line)# password class Router1/Switch (config-line)# login3、配置路由器/交换机虚拟线路口令Router1/Switch1(config-line)# line vty 0 4/0 15 Router1/Switch1(config-line)# password class Router1/Switch1(config-line)# login4、配置交换机的第 3 层地址。(实验2,任务3,步骤4)在内部虚拟接口 VLAN 99 上将交换机的 IP 地址设置为 172.17.99.11,子网掩码为 255.255.255.0。首先必须在交换机上创建 VLAN,然后才能分配地址。S1(config)#vlan 99S1(config-vlan)#exitS1(config)#interface vlan99S1(config-if)#ip address 172.17.99.11 255.255.255.0S1(config-if)#no shutdownS1(config-if)#exit5、为交换机 S1 VLAN 分配端口。(实验2,任务3,步骤5)将 Fastethernet 0/1、0/8 和 0/18 端口分配给 VLAN 99。S1(config)#interface fa0/1S1(config-if)#switchport access vlan 99S1(config-if)#exit6、修改交换机名称为S1,配置交换机网关为172.17.99.1(实验2,任务3,步骤 6),禁用 DNS 查找。S1(config)#hostname S1S1(config)#ip default-gateway 172.17.99.1S1(config)#no ip domain-lookup7、配置 FastEthernet 0/18 端口为全双工,速率为100。(实验2,任务3,步骤 10)S1(config)#interface fa 0/18S1(config-if)#speed 100 S1(config-if)#duplex full8、配置交换机端口 FastEthernet 0/18 仅接受两台设备,动态学习这些设备的 MAC 地址,并在发生安全违规事件时关闭端口。(实验2,任务5,步骤4、5)S1# configure terminalS1(config)#interface fa0/18S1(config-if)#switchport mode accessS1(config-if)#switchport port-security maximum 2S1(config-if)#switchport port-security mac-address stickyS1(config-if)#switchport port-security violation shutdown9、 配置 VTP工作模式/域名/口令。(实验3,任务3,步骤2)(选择其中一个配置)S1(config)#vtp mode serverS1(config)#vtp domain Lab6S1(config)#vtp password cisco10、将 Fa0/1为配置中继端口,并指定中继端口的本征 VLAN 99. (实验3,任务3,步骤3)S1(config)#interface fa0/1S1(config-if)#switchport mode trunkS1(config-if)#switchport trunk native vlan 99S1(config-if)#no shutdown11、在VTP服务器上配置VLAN并修改名字(实验3,任务3,步骤4),配置VLAN 99管理接口地址S1:ip address 172.17.99.11 255.255.255.0S2:ip address 172.17.99.12 255.255.255.0S3:ip address 172.17.99.13 255.255.255.0S1(config)#vlan 99S1(config-vlan)#name managementS1(config)#interface vlan99S1(config-if)#ip address 172.17.99.11 255.255.255.012、为 S2 上的 VLAN 分配交换机端口(打开端口并分配VLAN) 。(实验3,任务3,步骤7)S2(config)#interface fa0/6S2(config-if)#switchport mode accessS2(config-if)#switchport access vlan 3013、配置RIP。使用network命令输入每个直连网络的有类网络地址(实验四RIP(01)场景A,任务4)R1(config)#routerripR1(config-router)#R1(config-router)#network192.168.1.0R1(config-router)#network192.168.2.014、在路由器R1和R2上使用bandwidth命令将串行接口的带宽更改为实际带宽64kbps。在路由器R3上使用ipospfcost命令配置OSPF串行接口开销更改为1562。R1与R2之间S0/0/0配置时钟速率为64000路由器R1:R1(config)#interfaceserial0/0/0R1(config-if)#bandwidth64R1(config-if)#clock rate 64000R3(config)#interfaceserial0/0/0R3(config-if)#ipospfcost1562R3(config-if)#interfaceserial0/0/1R3(config-if)#ipospfcost1562 15、使用下一跳地址配置静态路由(实验5,任务7,步骤1)在 R3 路由器上,配置到达 172.16.1.0 网络的静态路由(使用 R2 的 Serial 0/0/1 接口作为下一跳地址)。R3(config)#ip route 172.16.1.0 255.255.255.0 192.168.1.2在R3路由器上,配置通往172.16.2.0网络的静态路由(使用R3路由器的Serial0/0/1接口作为送出接口)。R3(config)#iproute172.16.2.0255.255.255.0Serial0/0/1在R2路由器上,配置通往172.16.3.0网络的静态路由(使用R2路由器的Serial0/0/0接口作为送出接口)。R2(config)#iproute172.16.3.0255.255.255.0Serial0/0/0以R1的Serial0/0/0作为下一跳接口,使用interface参数为R1路由器配置一条默认路由。R1(config)#iproute0.0.0.00.0.0.0172.16.2.2在R3路由器上配置总结静态路由。总结路由中将使用网络172.16.0.0/22。R3(config)#iproute172.16.0.0255.255.252.0192.168.1.216、配置 OSPF 路由器 ID(实验6)步骤 1在 R1 上使用地址10.1.1.1 255.255.255.255配置 Loopback0 接口步骤 2在 R2 上使用地址10.2.2.2 255.255.255.255配置 Loopback0 接口步骤 3在 R3 上使用地址10.3.3.3 255.255.255.255配置 Loopback0 接口R1(config)#interfaceloopback0R1(config-if)#ipaddress10.1.1.1255.255.255.255R2(config)#interfaceloopback0R2(config-if)#ipaddress10.2.2.2255.255.255.255R3(config)#interfaceloopback0R3(config-if)#ipaddress10.3.3.3255.255.255.25517、在路由器R1上配置OSPF步骤1:在路由器R1上,在全局配置配配下使用routerospf命令启用OSPF。对于process-ID参数,输入进程ID1。R1(config)#routerospf1步骤2:配置LAN的network当句。R1(config-router)#network172.16.1.160.0.0.15area0步骤3:配置路由器,使其通告Serial0/0/0接口所连接的网络192.168.10.0/30。R1(config-router)#network192.168.10.00.0.0.3area0步骤4:配置路由器,使其通告Serial0/0/1接口所连接的网络192.168.10.4/30。R1(config-router)#network192.168.10.40.0.0.3area018、Cisco 路由器上的默认串行封装是 HDLC。将串行接口的封装由 HDLC 改为 PPP。步骤 1. 在 R1 和 R2 间的串行链路上配置 PPP PAP 身份验证。R1(config)#username R1 password ciscoR1(config)#int s0/0/0R1(config-if)#ppp authentication papR2(config)#username R2 password ciscoR2(config)#interface Serial0/0/0R2(config-if)#ppp authentication papR2(config-if)#ppp pap sent-username R1 password cisco步骤 2
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 宜宾公积金管理制度
- 实验室工作管理制度
- 客运车队长管理制度
- 家具厂库存管理制度
- 家族管理会管理制度
- 应急抢险队管理制度
- 形体舞蹈室管理制度
- 征地办工作管理制度
- 心电图卫生管理制度
- 心里减压室管理制度
- GA/T 833-2016机动车号牌图像自动识别技术规范
- 山西省卫生院社区卫生服务中心信息名单目录
- 全民经纪人协议书
- 护理学课件-铺床法
- GB∕T 31062-2014 聚合物多元醇
- 氧、氩、二氧化碳气体充装企业风险点分级管控资料
- 公路水运工程施工安全标准化指南(42页)
- 人教版 2021-2022学年 五年级下册数学期末测试试卷(一)含答案
- 西门子SAMA图DEH逻辑讲解
- 国家开放大学《土木工程力学(本)》形考作业1-5参考答案
- 公司尽职调查提纲
评论
0/150
提交评论