文档详情

帧中继试验.doc

发布:2018-01-17约3.34千字共7页下载文档
文本预览下载声明
实验题目 将一台CISCO路由器配置为帧中继交换机 班级 网工08101班 指导老师 马旭明 姓名 郭振东 实验地点 实验日期 2011-9-26 实验目的 理解帧中继交换机的工作原理 理解PVC的概念 用路由器充当帧中继交换机的配置 帧中继的动态映射 帧中继的静态映射 在帧中继网络上运行RIP协议实验环境及器材(软件、硬件环境及所需实验材料) 安装GN3的PC一台 实验内容及步骤 实验拓扑图如下所示: (1) 对R2的配置 R2(config)# frame-relay switching R2(config)# interface s0/0 R2(config-if)# encapsulation frame-relay R2(config-if)# clock rate 64000 R2(config-if)# frame-relay lmi-type cisco R2(config-if)# frame-relay intf-type dce R2(config-if)# frame-relay route 103 interface s0/1 301 R2(config-if)# frame-relay route 104 interface s0/1 401 R2(config-if)# no shutdown R2(config)# interface s0/1 R2(config-if)# encapsulation frame-relay R2(config-if)# clock rate 64000 R2(config-if)# frame-relay lmi-type cisco R2(config-if)# frame-relay intf-type dce R2(config-if)# frame-relay route 301 interface s0/1 103 R2(config-if)# no shutdown R2(config)# interface s0/2 R2(config-if)# encapsulation frame-relay R2(config-if)# clock rate 64000 R2(config-if)# frame-relay lmi-type cisco R2(config-if)# frame-relay intf-type dce R2(config-if)# frame-relay route 401 interface s0/1 104 R2(config-if)# no shutdown (2) show frame-relay route 由上图可以看出R2帧中继映射表已经形成,Serial0/0的DLCI103对应Serial0/1的DLCI301,Serial0/0的DLCI104对应Serial0/1的DLCI401。两条虚电路尚处于未激活状态。 (3) show frame pvc 以上显示R2上各个接口的PVC状态,在Serial0/0接口共连接有两条PVC但是都处于Inactive状态。 (4) show frame lmi 该命令显示R2上LMI的类型及相关参数,上图显示尚无数据包活动。 (5) 利用反向ARP动态获取帧中继映射表实现 对R1的配置 R1(config)# interface s0/0 R1(config-if)# encapsulation frame-relay R1(config-if)# frame-relay lmi-type cisco R1(config-if)# frame-relay inverse-arp ip 103 R1(config-if)# frame-relay inverse-arp ip 104 R1(config-if)# ip address 192.168.123.1 255.255.255.0 R1(config-if)# no shutdown R1(config)# interface loopback 0 R1(config-if)# ip address 1.1.1.1 255.255.255.0 对R3的配置 R3(config)# interface s0/0 R3(config-if)# encapsulation frame-relay R3(config-if)# frame-relay lmi-type cisco R3(config-if)# frame-relay inverse-arp ip 301 R3(config-if)# ip address 192.168.123.3 255.255.255.0 R3(co
显示全部
相似文档