Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 冲浪技巧 > 实验桢中继的点到点子接口配置
【标  题】:实验桢中继的点到点子接口配置
【关键字】:
【来  源】:http://www.cublog.cn/u/22662/showart.php?id=176663

实验桢中继的点到点子接口配置

Your Ad Here
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Press Enter to Start

Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host router1
router1(config)#int s0
router1(config-if)#encapsulation frame-relay
router1(config-if)#encapsulation frame-relay ?
ietf                    Use RFC1490/RFC2427 encapsulation
<cr>                   
router1(config-if)#encapsulation frame-relay
router1(config-if)#frame-relay lmi-type ?
cisco                  
ansi                   
q933a                  
router1(config-if)#frame-relay lmi-type ansi
router1(config-if)#no sh
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
router1(config-if)#int s0.1 point-to-point
router1(config-subif)#ip add 192.168.1.1 255.255.255.0
router1(config-subif)#frame-relay interface-dlci 102
router1(config-subif)#no sh
router1(config-subif)#int s0.2 point-to-point
router1(config-subif)#ip add 192.168.2.1 255.255.255.0
router1(config-subif)#frame-relay interface-dlci 103
router1(config-subif)#no sh
router1(config-subif)#end
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
21:49:39: %FR-5-DLCICHANGE: Interface Serial0.1 - DLCI 102 state changed to ACTIVE
21:49:39: %FR-5-DLCICHANGE: Interface Serial0.2 - DLCI 103 state changed to ACTIVE
router1#show frame-relay map
Serial0.1 (up): point-to-point dlci, dlci 102(0x66,0x1860), broadcast
        status defined, active
Serial0.2 (up): point-to-point dlci, dlci 103(0x66,0x1860), broadcast
        status defined, active
router1#show frame-relay lmi
show frame-relay lmi
LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE = ansi
Invalid Unnumbered info 0             Invalid Prot Disc 0
Invalid dummy Call Ref 0              Invalid Msg Type 0
Invalid Status Message 0              Invalid Lock Shift 0
Invalid Information ID 0              Invalid Report IE Len 0
Invalid Report Request 0              Invalid Keep IE Len 0
Num Status Enq. Sent 160              Num Status msgs Rcvd 137
Num Update Status Rcvd 0              Num Status Timeouts 13

router1#show frame-relay pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1
input pkts 64                output pkts 7               in bytes 281 
out bytes 4881               dropped pkts 19              in FECN pkts 25  
in BECN pkts 6              out FECN pkts 63             out BECN pkts 11  
in DE pkts 81                out DE pkts 76  
out bcast pkts 35            out bcast bytes 718 
pvc create time 00:32:04, last time pvc status changed 00:32:05
PVC Statistics for interface Serial0 (Frame Relay DTE)
DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.2
input pkts 56                output pkts 34               in bytes 1194
out bytes 5160               dropped pkts 68              in FECN pkts 29  
in BECN pkts 28              out FECN pkts 117            out BECN pkts 117 
in DE pkts 61                out DE pkts 80  
out bcast pkts 109           out bcast bytes 6467
pvc create time 00:32:04, last time pvc status changed 00:32:05
 
router1#
router1#
router1#
router1#show frame-relay svc
%Incomplete command.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Press Enter to Start

Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host router2
router2(config)#int s0
router2(config-if)#encapsulation frame-relay
router2(config-if)#ip add 192.168.1.2 255.255.255.0
router2(config-if)#no sh
%LINK-3-UPDOWN: Interface Serial0, changed state to up
router2(config-if)#end
router2#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Press Enter to Start

Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host router3
router3(config)#int s0
router3(config-if)#encapsulation frame-relay
router3(config-if)#ip add 192.168.2.2 255.255.255.0
router3(config-if)#no sh
%LINK-3-UPDOWN: Interface Serial0, changed state to up
router3(config-if)#end
router3#ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
三分钟傻瓜设置!ADSL网速翻倍涨:【上一篇】
电子阅览室简介:【下一篇】
【相关文章】
没有相关文章
【随机文章】
  • C# 语言规范--1.14 属性
  • 基于光栅传感器位移测量的软、硬件设计
  • oracle 权限与角色
  • JSP由浅入深(10)—— Beans and Forms处理
  • PHOTOSHOP抽出滤镜抠发法
  • PhotoShop学习方法论简单总结
  • 组织管理体系推广经验之二-软件项目为什么有了PM和PMO还需要SQA?
  • Freebsd中拿无线网卡当AP用
  • Apache服务器配置全攻略(二)
  • 局域网用户的限制和反限制技巧
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.