Chinaunix

标题: 急求多线路捆绑方法 [打印本页]

作者: xinmencuoxue    时间: 2008-01-25 16:06
标题: 急求多线路捆绑方法
2条2M的光线,捆绑到一块使用
思科7206
封装 SDH
怎样配置?
谢谢
作者: ssffzz1    时间: 2008-01-25 20:23
这个需要两端同时配置的。可以配置MP
或者是用多出口来进行均衡。
作者: xinmencuoxue    时间: 2008-01-25 20:30
终于等到高人了
中心的路由七是cisco7206
有一个15模块
上边有40个接口
其中每两个接口通过两条2M线路与局端的两个接口对应,为了节省IP地址和提高传输速度,想实现每个局端的两条线路捆绑到一块,怎样实现?

中心:s1.0.0.1/1
         s1.0.0.1/0
        与一局端的s0,s1连接

        s2.0.0.1/1
           s2.0.0.1/0
     与另一局端的s0,s1连接

中心怎样配置?
谢谢
作者: puding    时间: 2008-01-25 20:38
interface multilink 1
ip address 1.1.1.1 255.255.255.252
ppp multilink
no ppp multilink fragmentation
multilink-group 1
exit

interface s 1/0
no ip address
encapsulation ppp
ppp multilink
multilink-group 1

interface s 1/1
no ip address
encapsulation ppp
ppp multilink
multilink-group 1
作者: ssffzz1    时间: 2008-01-25 20:53
呵呵,都给你配置命令了。
cisco的自己参考吧。
作者: xinmencuoxue    时间: 2008-01-25 21:22
局端是底版本的思科路由
不支持interface multilink 1这个命令
怎么办?
作者: ssffzz1    时间: 2008-01-25 21:33
唉,升级IOS。内存不够加内存。FLASH不够加FLASH.

如果实在不能配MP,就只有多网关负载均衡了。当然静态路由可以,动态的路由协议更没有问题。
作者: xinmencuoxue    时间: 2008-01-25 22:05
我记得好像有个virtual-template之类的配置
怎样配?
作者: ssffzz1    时间: 2008-01-25 22:16
H3C的有用VT配置的。

cisco不过用vt配置后好像也需要multilink接口的。

还是升级IOS吧。

[ 本帖最后由 ssffzz1 于 2008-1-25 22:17 编辑 ]
作者: xinmencuoxue    时间: 2008-01-25 22:23
好像不需要阿
升级iso怕有问题
影响业务正常使用
作者: ssffzz1    时间: 2008-01-25 22:29
如果有正常业务的话。最好先在实验室做好试验。即使支持mp命令也是有停机时间的。因此还要计划好停机时间。
作者: xinmencuoxue    时间: 2008-01-26 18:07

multilink virtual-template 1


!
interface Virtual-Template1
ip address 168.1.77.1 255.255.255.252
no ip mroute-cache
bandwidth 100000
ppp authentication chap
ppp multilink
!
interface Serial0
no ip address
encapsulation ppp
no fair-queue
ppp multilink
!
interface Serial1
no ip address
encapsulation ppp
no fair-queue
ppp multilink
!
这样的配置虽然网络是通的但实际上好像只有第一个串口s0通,如果断开s0整个网络就不通了
是不是哪里有问题?
作者: puding    时间: 2008-01-26 23:13
interface Virtual-Template1
ppp multilink fragment disable
作者: xinmencuoxue    时间: 2008-01-27 04:21
有40个川口
怎样每2个捆绑到一起?
作者: xinmencuoxue    时间: 2008-01-27 04:23
顺便问一下
multilink-group 1能用在interface Virtual-Template1这个里边么?
作者: xinmencuoxue    时间: 2008-01-27 14:49
靠,人都跑拿去了?
作者: ssffzz1    时间: 2008-01-27 17:18
呵呵,不是不想帮你。
而是方法都告诉你了你却不执行。
作者: xinmencuoxue    时间: 2008-01-27 20:26
ppp multilink fragment disable
我都执行了阿
不行啊
作者: ssffzz1    时间: 2008-01-27 21:03
你上面的那个方法不对头。

用VT来配置MP,好像H3C的支持,而CISCO的不支持。
都告诉过你了,你试试不什么都明白了吗?
升级IOS有风险,配置MP不是也需要中断吗?
作者: puding    时间: 2008-01-27 23:33
两端都要执行PPP MULTILINK FRAGMENT DISABLE


!
multilink virtual-template 1
!
!
interface Serial1/0
no ip address
encapsulation ppp
no fair-queue
serial restart-delay 0
no dce-terminal-timing-enable
ppp multilink
!
interface Serial1/1
no ip address
encapsulation ppp
serial restart-delay 0
no dce-terminal-timing-enable
ppp multilink
!
interface Virtual-Template1
ip address 192.168.111.1 255.255.255.252
ppp multilink
ppp multilink fragment disable
!

R1#show ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:10:40, total bandwidth 3088, load 1/255
  Receive buffer limit 24384 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    31 lost fragments, 151 reordered
    0/900 discarded fragments/bytes, 0 lost received
    0x163 received sequence, 0x110 sent sequence
  Member links: 2 (max not set, min not set)
    Se1/1, since 00:10:40
    Se1/0, since 00:01:02
No inactive multilink interfaces
R1#ping 192.168.111.2 re 50

Type escape sequence to abort.
Sending 50, 100-byte ICMP Echos to 192.168.111.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (50/50), round-trip min/avg/max = 4/65/1116 ms
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s 1/0
R1(config-if)#sh
R1(config-if)#e
*Jan 27 23:30:46.347: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down
R1(config-if)#end
R1#
*Jan 27 23:30:46.347: %ENTITY_ALARM-6-INFO: ASSERT INFO Se1/0 Physical Port Administrative State Down
R1#sh pp
*Jan 27 23:30:47.351: %SYS-5-CONFIG_I: Configured from console by console
*Jan 27 23:30:47.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down

R1#sh ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:11:08, total bandwidth 1544, load 1/255
  Receive buffer limit 12192 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    32 lost fragments, 152 reordered
    0/900 discarded fragments/bytes, 0 lost received
    0x196 received sequence, 0x142 sent sequence
  Member links: 1 (max not set, min not set)
    Se1/1, since 00:11:08

No inactive multilink interfaces
R1#ping 192.168.111.2 re 50

Type escape sequence to abort.
Sending 50, 100-byte ICMP Echos to 192.168.111.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (50/50), round-trip min/avg/max = 8/49/216 ms

R1#sh ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:11:48, total bandwidth 1544, load 1/255
  Receive buffer limit 12192 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    32 lost fragments, 152 reordered
    0/900 discarded fragments/bytes, 0 lost received
    0x196 received sequence, 0x142 sent sequence
  Member links: 1 (max not set, min not set)
    Se1/1, since 00:11:48
No inactive multilink interfaces
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int virtual-te 1
R1(config-if)#no ppp multilink fragment disable

R1(config-if)#
R1(config-if)#
R1(config-if)#int s 1/0
R1(config-if)#no sh
R1(config-if)#end
R1#sh pp
*Jan 27 23:32:34.919: %SYS-5-CONFIG_I: Configured from console by console
*Jan 27 23:32:35.711: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
R1#sh ppp
*Jan 27 23:32:35.711: %ENTITY_ALARM-6-INFO: CLEAR INFO Se1/0 Physical Port Administrative State Down
R1#sh ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:12:55, total bandwidth 3088, load 1/255
  Receive buffer limit 24384 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    32 lost fragments, 152 reordered
    0/900 discarded fragments/bytes, 0 lost received
    0x196 received sequence, 0x142 sent sequence
  Member links: 2 (max not set, min not set)
    Se1/1, since 00:12:55
    Se1/0, since 00:00:01
No inactive multilink interfaces
R1#
*Jan 27 23:32:36.935: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
R1#
R1#ping 192.168.111.2 re 50

Type escape sequence to abort.
Sending 50, 100-byte ICMP Echos to 192.168.111.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (50/50), round-trip min/avg/max = 4/60/180 ms
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s 1/0
R1(config-if)#sh
R1(config-if)#end
R1#sh
*Jan 27 23:33:00.195: %SYS-5-CONFIG_I: Configured from console by console
*Jan 27 23:33:00.727: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down
R1#sh ppp
*Jan 27 23:33:00.727: %ENTITY_ALARM-6-INFO: ASSERT INFO Se1/0 Physical Port Administrative State Down
*Jan 27 23:33:01.727: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down

R1#sh ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:13:20, total bandwidth 1544, load 1/255
  Receive buffer limit 12192 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    32 lost fragments, 202 reordered
    0/900 discarded fragments/bytes, 0 lost received
    0x1FA received sequence, 0x1A6 sent sequence
  Member links: 1 (max not set, min not set)
    Se1/1, since 00:13:20
No inactive multilink interfaces
R1#ping 192.168.111.2 re 50

Type escape sequence to abort.
Sending 50, 100-byte ICMP Echos to 192.168.111.2, timeout is 2 seconds:
...........

Success rate is 0 percent (0/11)
R1#sh ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:13:53, total bandwidth 1544, load 1/255
  Receive buffer limit 12192 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    42 lost fragments, 212 reordered
    0/1400 discarded fragments/bytes, 0 lost received
    0x20F received sequence, 0x1A6 sent sequence
  Member links: 1 (max not set, min not set)
    Se1/1, since 00:13:53
No inactive multilink interfaces
R1#sh run int virtual-te 1
Building configuration...

Current configuration : 93 bytes
!
interface Virtual-Template1
ip address 192.168.111.1 255.255.255.252
ppp multilink
end

R1#

[ 本帖最后由 puding 于 2008-1-27 23:36 编辑 ]
作者: xinmencuoxue    时间: 2008-01-27 23:44
谢谢
我怎样对40个串口分组
每两个串口加到一个Virtual-Template1 里边
上述的如果有四十条线路,作20个Virtual-Template怎样识别每两个用的是哪个Virtual-Template?
谢谢
作者: xinmencuoxue    时间: 2008-01-27 23:45
原帖由 ssffzz1 于 2008-1-27 21:03 发表
你上面的那个方法不对头。

用VT来配置MP,好像H3C的支持,而CISCO的不支持。
都告诉过你了,你试试不什么都明白了吗?
升级IOS有风险,配置MP不是也需要中断吗?

cisco支持巴?
命令都能用啊?
作者: puding    时间: 2008-01-28 00:04
应该可以用 PPP MULTILINK GROUP 区分吧。
我没有做过。
作者: xinmencuoxue    时间: 2008-01-28 00:27
谢谢
明天我试试
作者: puding    时间: 2008-01-28 00:41
我试了一下,应该是不可以的。
multilink virtual-template指定在MP中用这个模板创建virtual-access端口。
这样的话只能引用一个虚模板。
作者: puding    时间: 2008-01-28 00:42
R1#  sh ppp mu

Virtual-Access2, bundle name is Router
  Endpoint discriminator is Router
  Bundle up for 00:12:06, total bandwidth 6176, load 1/255
  Receive buffer limit 48768 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    0 lost fragments, 199 reordered
    163/3260 discarded fragments/bytes, 163 lost received
    0xBB received sequence, 0xF2 sent sequence
  Member links: 4 (max not set, min not set)
    Se1/1, since 00:12:06
    Se1/0, since 00:12:03
    Se1/3, since 00:09:40
    Se1/2, since 00:09:39
No inactive multilink interfaces
R1#
作者: xinmencuoxue    时间: 2008-01-28 00:55
原帖由 puding 于 2008-1-28 00:41 发表
我试了一下,应该是不可以的。
multilink virtual-template指定在MP中用这个模板创建virtual-access端口。
这样的话只能引用一个虚模板。

multilink virtual-template 1

multilink virtual-template 2

有啥用?????

没有任何意义啊?
作者: xinmencuoxue    时间: 2008-01-28 01:08
还有 multilink Virtual-Template1
milink Virtual-Template2
如果不行这上述的配置做什么用啊?
作者: xinmencuoxue    时间: 2008-01-28 01:16
Member links: 4 (max not set, min not set)
    Se1/1, since 00:12:06
    Se1/0, since 00:12:03
    Se1/3, since 00:09:40
    Se1/2, since 00:09:39
是不是没有分组s串口,默认把所有的MULTILINK川口都划分到multilink virtual-template1中了?
作者: puding    时间: 2008-01-28 01:23
multilink Virtual-Template 1 指定在PPP MP中用虚模板1来创建virtual-access接口。

如果你再执行multilink Virtual-Template 2,就不再引用VT1的参数,改为用VT2来创建Virtual-Access借口了,不能同时创建两个。

还是建议你升级IOS吧,40个串口,应该用的是STM-4模块了,不管是3系列还是7系列,都是有PCMCIA槽的,觉得不放心,可以多用一块FLASH卡,可以很方便的回退。
作者: xinmencuoxue    时间: 2008-01-28 08:46
sh ppp multilink

Virtual-Access3, bundle name is router1
  Bundle up for 2d13h, 8/255 load
  Receive buffer limit 24384 bytes, frag timeout 1000 ms
    0/0 fragments/bytes in reassembly list
    98 lost fragments, 3095 reordered
    19/14585 discarded fragments/bytes, 0 lost received
    0x3A4B4 received sequence, 0x4CAAC sent sequence
  Member links: 2 (max not set, min not set)
    Se2/0.1/2/4/1:0, since 2d13h
    Se2/0.1/1/6/2:0, since 00:08:44


since 2d13h 是不是有什么问题?
作者: cnadl    时间: 2008-01-28 23:14
承载协议支持的话,起个tunnel看一下
作者: 找工作ing    时间: 2008-01-29 16:46
interface Multilink1
ip address 10.10.134.1 255.255.255.252
ppp multilink
multilink-group 1
!
interface Ethernet0/0
ip address 222.222.222.175 255.255.255.0
full-duplex
!
interface Serial0/0
bandwidth 2048
no ip address
encapsulation ppp
ppp multilink
multilink-group 1
!
interface Serial0/1
bandwidth 2048
no ip address
encapsulation ppp
ppp multilink
multilink-group 1
!
interface Serial0/2
bandwidth 2048
no ip address
encapsulation ppp
ppp multilink
multilink-group 1
!
ip classless
ip route 0.0.0.0 0.0.0.0 222.222.222.254
作者: 找工作ing    时间: 2008-01-29 16:49
Serial0/0 is up, line protocol is up
  Hardware is PowerQUICC Serial
  MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec,
     reliability 255/255, txload 3/255, rxload 1/255
  Encapsulation PPP, loopback not set
  Keepalive set (10 sec)
  LCP Open, multilink Open
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 7w0d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair  [suspended, using FIFO]
  FIFO output queue 0/40, 0 drops
5 minute input rate 10000 bits/sec, 14 packets/sec
  5 minute output rate 25000 bits/sec, 17 packets/sec
     
216791177 packets input, 3105420276 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     13 input errors, 3 CRC, 6 frame, 0 overrun, 0 ignored, 4 abort
     252296247 packets output, 1099446561 bytes, 0 underruns
     0 output errors, 0 collisions, 5879 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

Serial0/1 is up, line protocol is up
  Hardware is PowerQUICC Serial
  MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec,
     reliability 255/255, txload 3/255, rxload 1/255
  Encapsulation PPP, loopback not set
  Keepalive set (10 sec)
  LCP Open, multilink Open
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 7w0d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair  [suspended, using FIFO]
  FIFO output queue 0/40, 0 drops
  5 minute input rate 11000 bits/sec, 16 packets/sec
  5 minute output rate 27000 bits/sec, 18 packets/sec
     
216896496 packets input, 3125134857 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     866000 input errors, 70405 CRC, 359078 frame, 0 overrun, 0 ignored, 436517 abort
     251766261 packets output, 926154424 bytes, 0 underruns
     0 output errors, 0 collisions, 5884 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

Serial0/2 is up, line protocol is up
  Hardware is PowerQUICC Serial
  MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec,
     reliability 255/255, txload 3/255, rxload 1/255
  Encapsulation PPP, loopback not set
  Keepalive set (10 sec)
  LCP Open, multilink Open
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 7w0d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: weighted fair  [suspended, using FIFO]
  FIFO output queue 0/40, 0 drops
  5 minute input rate 11000 bits/sec, 15 packets/sec
  5 minute output rate 28000 bits/sec, 18 packets/sec
     
216690063 packets input, 3080093812 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     13 input errors, 1 CRC, 7 frame, 0 overrun, 0 ignored, 5 abort
     251992010 packets output, 1011655093 bytes, 0 underruns
     0 output errors, 0 collisions, 5875 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2