免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: xinmencuoxue
打印 上一主题 下一主题

急求多线路捆绑方法 [复制链接]

论坛徽章:
0
1 [报告]
发表于 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

论坛徽章:
0
2 [报告]
发表于 2008-01-26 23:13 |显示全部楼层
interface Virtual-Template1
ppp multilink fragment disable

论坛徽章:
0
3 [报告]
发表于 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 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-01-28 00:04 |显示全部楼层
应该可以用 PPP MULTILINK GROUP 区分吧。
我没有做过。

论坛徽章:
0
5 [报告]
发表于 2008-01-28 00:41 |显示全部楼层
我试了一下,应该是不可以的。
multilink virtual-template指定在MP中用这个模板创建virtual-access端口。
这样的话只能引用一个虚模板。

论坛徽章:
0
6 [报告]
发表于 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#

论坛徽章:
0
7 [报告]
发表于 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卡,可以很方便的回退。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP