1、帧中继技术 ROUTER1-ATM-1-ATM2-ROUTER2 155M ATM接口 TRUNK 2M FR接口帧中继技术是一种在可靠介质上实现的快速分组交换的技术(也是当前主流的专线技术之一),它能为现今突发性业务流量(如LAN互连)提供显著的性能价格优势。同时帧中继也是一种广域网接口协议,工作在数据链路层上,它有以下几个特点:低时延、可靠性、低开销、可预测性、公平性。配置帧中继的工作的一般步骤:1、在一个端口上作帧中继打包,即封装帧中继协议2、定义动态或静态的地址映射3、定义LMI类型4、配置帧中继交换虚电路dis cur /显示当前路由器配置 Now create configurat
2、ion. Current configuration ! version 1.74 /VRP版本号1.74 sysname deepblue /路由器名称 firewall enable /防火墙功能开启 aaa-enable /认证、授权、计费功能开启 aaa accounting-scheme optional ! controller e1 0 /配置E1模块 生成逻辑接口 using E1 /非成帧E1 ! interface Aux0-protocol ppp /辅助接口默认链路协议为ppp ! interface Ethernet0 /内部网口 speed 100 /速率100M
3、duplex full /全双工 ip address 10.34.185.1 255.255.255.252 /接口ip地址 ! interface Serial0 /主机上自带的第一个同步串口 link-protocol ppp /接口默认链路协议为ppp ! interface Serial1 /主机上自带的第二个同步串口 link-protocol ppp /接口默认链路协议为ppp ! interface Serial2:0 /E1逻辑接口 link-protocol fr /链路协议为FRAME-RELAY ip address 10.34.40.6 255.255.255.252
4、 /接口ip地址 fr map ip 10.34.40.5 dlci 168 /映射对端ip地址和dlci号的对应关系 fr dlci 168 /帧中继数据链路表示符为168 quit ! quit ip route-static 0.0.0.0 0.0.0.0 10.34.40.5 preference 60 /配置默认路由 ! returndeepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0dis ip route Incorrect command /命令输入不正确deepblue-Serial2:0dis ip routingRo
5、uting Tables: Destination/Mask Proto Pref Metric Nexthop Interface 127.0.0.0/8 Direct 0 0 127.0.0.1 LoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 LoopBl2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0dis int s2:0 /显示接口状态Serial2:0 current state:up, line prot
6、ocol current state:down /链路协议未协商成功 The Maximum Transmit Unit is 1500 Internet Address is 10.34.40.6(30) physical layer is E1, baudrate is 2048000 bpsLink-protocol is FRAME-RELAY IETF /封装帧中继类型为IETF MI DLCI 0 LMI type MI status enq sent 1042, status received 11 LMI status sent 0, status enq received 0
7、 LMI status discarded 0, status enq discarded 0, status timeuts 1029 Input Data Queue :(size/max/drops): 0/75/0 Input queue : (size/max/drops) 0/50/0 FIFO queue: 0/1000/0 (size/max/drops)(Outbound quee:Size/Length/Discards) FIFO: 0/75/0 Last 5 minutes input rate 0.84 bytes/sec, 0.04 packets/sec Last
8、 5 minutes output rate 1.72 bytes/sec, 0.11 packets/sec Input: 14 packets, 254 bytes 0 errors, 0 runts, 0 giants 0 CRC,0 frame errors, 0 overrunners 0 aborted sequences 0 no buffers 0 paectedOutput:29447 packets, 524883 bytes 0 errors, 0 underruns, 0 collisions 0 packets deepblue-Serial2:0deepblue-S
9、erial2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0dis fr lmi /显示frame-relay的本地管理接口状态Serial2:0(Interface-type: DTE) 1043 status enquiry sent, 11 status received 0 status discarded, 1030 status timeoutsdeepblue-Serial2:0deepblue-Serial2:0int s2:0 /进入逻辑接口配置模式deepblue-Serial2:0fr lmi ansi /修
10、改本地管理接口类型为ansideepblue-Serial2:0%22:57:24: Line protocol ip on the interface Serial2:0 is UP /frame-relay与对端链路协商成功deepblue-Serial2:0deepblue-Serial2:0ping 10.34.40.5 /测试对方ip地址连通性 PING 10.34.40.6: 56 data bytes, press CTRL_C to break Reply from 10.34.40.6: bytes=56 Sequence=0 ttl=255 time = 1 ms Repl
11、y from 10.34.40.6: bytes=56 Sequence=1 ttl=255 time = 2 ms Reply from 10.34.40.6: bytes=56 Sequence=2 ttl=255 time = 2 ms Reply from 10.34.40.6: bytes=56 Sequence=3 ttl=255 time = 1 ms Reply from 10.34.40.6: bytes=56 Sequence=4 ttl=255 time = 1 ms - 10.34.40.6 ping statistics - 5 packets transmitted
12、 5 packets received 0.00% packet loss round-trip min/avg/max = 1/1/2 msdeepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0dis ip routing /显示当前路由表Routing Tables: Destination/Mask Proto Pref Metric Nexthop Interface0.0.0.0/0 Static 60 0 10.34.40.5 Serial2:0 10.34.40.4/30 Direct 0 0 10.34.40.6 Seria
13、l2:0 rect 0 0 127.0.0.1 LoopBack0 127.0.0.0/8 Direct 0 0 127.0.0.1 LoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 LoopBack0 deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0dis int s2:0Serial2:0 current state:up, line protocol current state:up The Maximum Transmit Unit is 1500 In
14、ternet Address is 10.34.40.6(30) physical layer is E1, baudrate is 2048000 bpsLink-protocol is FRAME-RELAY IETF LMI DLCI 0 LMI LMI status enq sent 1052, status received 18 LMI status sent 0, status enq received 0 LMI status discarded 0, status enq discarded 0, status timeouts 1032 Input Data Queue :
15、(size/max/drops): 0/75/0 Input queue : (size/max/drIFO Data Fragment queue: 0/1000/0 (size/max/drops)(Outbound queue:Size/Length/Discards) FIFO: 0/75/0 Last 5 minutes input rate 0.84 bytes/sec, 0.04 packets/sec Last 5 minutes output rate 1.72 bytes/sec, 0.11 packet362 bytes 0 broadcasts, 0 multicast
16、s 0 errors, 0 runts, 0 giants 0 CRC,0 frame errors, 0 overrunners 0 aborted sequences 0 no buffers 0 packets with dribble condition detected Output:29457 packets, 525020 bytes 0 broadcasts, 0 multicasts 0 errors, 0 underruns, 0 collisions 0 packets had been deferreddeepblue-Serial2:0deepblue-Serial2
17、:0dis lmi Serial2:0(Interface-type: DTE) 1054 status enquiry sent, 20 status received 0 status discarded, 1032 status timeoutsdeepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0dis fr pvc PVC Statistics for interface Serial2:0(Interface-type: DTE)DLCI = 168 PVC
18、 State = Active Input: BECN pkts: 0 FECN pkts: 0 pkts: 2 bytes: 60 Output: pkts: 2 bytes: 60deepblue-Serial2:0deepblue-Serial2:0deepblue-Serial2:0ping 10.34.40.5 PING 10.34.40.5: 56 data bytes, press CTRL_C to break Reply from 10.34.40.5: bytes=56 Sequence=0 ttl=255 time = 6 ms Reply from 10.34.40.5
19、: bytes=56 Sequence=1 ttl=255 time = 5 ms Reply from 10.34.40.5: bytes=56 Sequence=2 ttl=255 time = 5 ms Reply from 10.34.40.5: bytes=56 Sequence=3 ttl=255 time = 5 ms Reply from 10.34.40.5: bytes=56 Sequence=4 ttl=255 time = 5 ms - 10.34.40.5 ping statistics - 5 packets transmitted 5 packets received 0.00% packet loss round-trip min/avg/max = 5/5/6 msdeepblue-Serial2:0deepblue-Serial2:0
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1