PPP MP<多链路PPP>

H3C设备之 PPP MP_PPP MP

利用PPP MP捆绑多条链路,实现负载分担,增加带宽,链路备份:

[RTA]interface Mp-group 1 

[RTA-Mp-group1]ip add 10.1.1.1 24 

[RTA-Mp-group1]quit

[RTA]int s0/0

[RTA-Serial0/0]link-protocol ppp

[RTA-Serial0/0]ppp mp Mp-group 1 

[RTA-Serial0/0]int s0/0/1

[RTA-Serial0/1]link-protocol ppp

[RTA-Serial0/1]ppp mp Mp-group 1

[RTB]interface Mp-group 1

[RTB-Mp-group1]ip add 10.1.1.2 24

[RTB]int s0/0

[RTB-Serial0/0]ppp mp Mp-group 1 

[RTB-Serial0/0]link-protocol ppp

[RTB-Serial0/0]int s0/0/1

[RTB-Serial0/1]link-protocol ppp

[RTB-Serial0/1]ppp mp mp-group 1

此时两边已经互通:

[RTA]ping 10.1.1.2

  PING 10.1.1.2: 56  data bytes, press CTRL_C to break

    Request time out

    Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=1 ms

    Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=1 ms

    Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=40 ms

  --- 10.1.1.2 ping statistics ---

    5 packet(s) transmitted

    4 packet(s) received

    20.00% packet loss

round-trip min/avg/max = 1/15/40 ms

[RTB]ping 10.1.1.1

  PING 10.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=4 ms

    Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms

    Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=1 ms

    Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=10 ms

    Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=1 ms

  --- 10.1.1.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 1/3/10 ms

查看MP-GROUP信息:

[RTA]disp ppp mp 

Mp-group is Mp-group1

max-bind: 16, min-fragment: 128

 Bundle Multilink, 2 members, Master link is Mp-group1

  Peer's endPoint descriptor: 10193f69cf36

  Bundle Up Time: 2012/08/13  13:16:50:843

  0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved 

  Sequence: 0/0 rcvd/sent

  The member channels bundled are:

      Serial0/0/0               Up-Time:2012/08/13  13:16:50:843

      Serial0/0/1               Up-Time:2012/08/13  13:17:08:78