1、实验五:广域网协议所需设备1. Cisco 2611 三台,其中一台配置为 Frame-relay Switch。2. 装有终端模拟程序 PC1 台。3. RAD ASM-31 数字 modem 1 台。本实验所讨论的命令 encapsulation frame-relay实验五配置S0/0 S0/1S0/1S0/1S0/0 S0/0FrameSwitchRouterBRouterC实验内容:将 RouterA 按下命令配置成为 Frame Relay Switchframe-relay switching!interface serial0/0no ip addressencapsulati
2、on frame-relayclockrate 64000frame-relay lmi-type ansiframe-relay intf-type dceframe-relay route 200 interface Serial0/1 201frame-relay route 300 interface Serial0/1 301!interface serial0/1no ip addressencapsulation frame-relayclockrate 64000frame-relay lmi-type ansiframe-relay intf-type dceframe-re
3、lay route 201 interface Serial0/0 200frame-relay route 301 interface Serial0/0 300按下列命令配置 RouterB Frame Relayinterface serial0/0no ip addressencapsulation frame-relayframe-relay lmi-type ansi!interface serial0/0.200 point-to-pointip address 192.2.1.2 255.255.255.0frame-relay interface-dlci 200 !inte
4、rface Serial0/0.300 point-to-pointip address 192.1.1.2 255.255.255.0frame-relay interface-dlci 300 按下列命令配置 RouterC Frame Relayinterface Serial0/0no ip addressencapsulation frame-relayframe-relay lmi-type ansi!interface Serial0/0.201 point-to-pointip address 192.2.1.1 255.255.255.0frame-relay interfa
5、ce-dlci 201 !interface Serial0/0.301 point-to-pointip address 192.1.1.1 255.255.255.0frame-relay interface-dlci 301 从 RouterB 使用 ping 命令测试到 192.1.1.1 和 192.2.1.1 的连通性。按下列命令配置 RouterB 和 RouterCRouterB:interface Serial0/1ip address 192.168.1.2 255.255.255.0encapsulation pppppp lcp fast-startclockrate 64000RouterC:interface Serial0/1ip address 192.168.1.1 255.255.255.0encapsulation pppppp lcp fast-start从 RouterB 使用 ping 命令测试到 192.168.1.1 的连通性。注意:实际使用 ppp 协议是不需要设置 ppp lcp fast-start。将上面的封装类型换成 hdlc,重新测试连通性。将 RouterC 的 Serial 0/1 同 ASM-31 连接,按下 ASM-31 面板的 ANA 按钮。使用 show interface s0/1 命令观察环路状态。