在此例中我们使用debug这个调试工具结合扩展ping进行MLPPP的测试,在上海路由器上执行debug ppp multilink fragments 这个命令,在北京路由器上执行扩展ping,包的数量为1000个,大小为2000字节。例2-7为ping的使用,例2-8为debug测试结果。
例2-7 ping命令执行
beijing#ping
Protocol [ip]:
Target IP address: 1.1.1.1
Repeat count [5]: 1000
Datagram size [100]: 2000
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 1000, 2000-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!略!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 4/119/376
例2-8 debug 测试结果
01:04:45: Se1/1 MLP: I frag 40001EF7 size 760 direct
01:04:45: Se1/1 MLP: I frag 40001EF9 size 270 direct
01:04:45: Se1/0 MLP: O frag 80001EF6 size 758
01:04:45: Se1/1 MLP: O frag 40001EF7 size 760
01:04:45: Se1/0 MLP: O frag 80001EF8 size 268
01:04:45: Se1/1 MLP: O frag 40001EF9 size 270
01:04:45: Se1/0 MLP: I frag 80001EFA size 758 direct
01:04:45: Se1/0 MLP: I frag 80001EFC size 268 direct
01:04:45: Se1/1 MLP: I frag 40001EFB size 760 direct
01:04:45: Se1/1 MLP: I frag 40001EFD size 270 direct
01:04:45: Se1/0 MLP: O frag 80001EFA size 758
LAPB和LQM的“big show”和“big D”
两种方法加强PPP链路质量:
LQM发送链路质量报告(LQR)代替keepalive,只监视链路质量。
LAPB提供重传纠错功能,可以使用压缩,但不能使用MPPP。
LQM配置命令:
Ppp multilink percentage_of_successful_traffic
例2-9 debug ppp negotiation命令结果
shanghai(config-if)# debug ppp negotiation
00:14:45: Se1/0 LCP: I CONFREQ [Closed] id 5 len 15
00:14:45: Se1/0 LCP: AuthProto CHAP (0x0305C22305)
00:14:45: Se1/0 LCP: MagicNumber 0x011842CD (0x0506011842CD)
00:14:45: Se1/0 LCP: Lower layer not up, Fast Starting
00:14:45: Se1/0 PPP: Treating connection as a dedicated line
00:14:45: Se1/0 PPP: Phase is ESTABLISHING, Active Open <-ppp negotiation begins
00:14:45: Se1/0 LCP: O CONFREQ [Closed] id 49 len 15
00:14:45: Se1/0 LCP: AuthProto CHAP (0x0305C22305)
00:14:45: Se1/0 LCP: MagicNumber 0x001866BC (0x0506001866BC)
00:14:45: Se1/0 LCP: O CONFACK [REQsent] id 5 len 15
00:14:45: Se1/0 LCP: AuthProto CHAP (0x0305C22305)
00:14:45: Se1/0 LCP: MagicNumber 0x011842CD (0x0506011842CD)
00:14:45: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
00:14:45: Se1/0 LCP: I CONFACK [ACKsent] id 49 len 15
00:14:45: Se1/0 LCP: AuthProto CHAP (0x0305C22305)
00:14:45: Se1/0 LCP: MagicNumber 0x001866BC (0x0506001866BC)
00:14:45: Se1/0 LCP: State is Open
00:14:45: Se1/0 PPP: Phase is AUTHENTICATING, by both <-CHAP begins
00:14:45: Se1/0 CHAP: O CHALLENGE id 3 len 29 from "shanghai" <-CHAP challenge
00:14:45: Se1/0 CHAP: I CHALLENGE id 2 len 28 from "beijing"
00:14:45: Se1/0 CHAP: Using hostname from configured hostname
00:14:45: Se1/0 CHAP: Using password from AAA
00:14:45: Se1/0 CHAP: O RESPONSE id 2 len 29 from "shanghai"
00:14:45: Se1/0 CHAP: I RESPONSE id 3 len 28 from "beijing"
00:14:45: Se1/0 PPP: Phase is FORWARDING, Attempting Forward
00:14:45: Se1/0 PPP: Phase is AUTHENTICATING, Unauthenticated User
00:14:45: Se1/0 CHAP: I SUCCESS id 2 len 4 <-CHAP OK
00:14:45: Se1/0 PPP: Phase is FORWARDING, Attempting Forward
00:14:45: Se1/0 PPP: Phase is AUTHENTICATING, Authenticated User
00:14:45: Se1/0 CHAP: O SUCCESS id 3 len 4 <-CHAP OK
00:14:45: Se1/0 PPP: Phase is UP
00:14:45: Se1/0 IPCP: O CONFREQ [Closed] id 5 len 10 <-IP Parameters
00:14:45: Se1/0 IPCP: Address 1.1.1.1 (0x030601010101)
00:14:45: Se1/0 CDPCP: O CONFREQ [Closed] id 5 len 4
00:14:45: Se1/0 IPCP: I CONFREQ [REQsent] id 3 len 10
00:14:45: Se1/0 IPCP: Address 1.1.1.2 (0x030601010102)
00:14:45: Se1/0 IPCP: O CONFACK [REQsent] id 3 len 10
00:14:45: Se1/0 IPCP: Address 1.1.1.2 (0x030601010102)
00:14:45: Se1/0 IPCP: I CONFACK [ACKsent] id 5 len 10
00:14:45: Se1/0 IPCP: Address 1.1.1.1 (0x030601010101)
00:14:45: Se1/0 IPCP: State is Open <-IP OK
00:14:45: Se1/0 CDPCP: I CONFREQ [REQsent] id 3 len 4
00:14:45: Se1/0 CDPCP: O CONFACK [REQsent] id 3 len 4
00:14:45: Se1/0 CDPCP: I CONFACK [ACKsent] id 5 len 4
00:14:45: Se1/0 CDPCP: State is Open
00:14:45: Se1/0 IPCP: Install route to 1.1.1.2
00:14:45: Se1/0 IPCP: Add link info for cef entry 1.1.1.2
00:14:46: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up