View Full Version : Một số câu hỏi trắc nghiệm về output của debug ppp? Anyone?
Tôi gặp một câu hỏi về PPP như sau đây. Tôi không hiểu nhìn vào thông số nào để xác định có cấu hình compression. Mong các bạn giúp đỡ. Tôi xin cảm ơn.
QUESTION NO: 145
Study the Exhibit below carefully:
RtrB#show interface serial0/0
Serial0/0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 10.0.15.2/21
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Keepalive set (10 sec)
LCP Open
Closed: IPXCP
Listen: CCP
Open: IPCP, CDPCP
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 00:52:02
Input queue: 0/75/0/0 (size/max/drops/flushes): total output drops: 0
Queuing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
After considering the effects of the command output illustrated in the exhibit above, which of the
following are operational on the serial link? (Select two options.)
A. CDP
B. IP
C. Compression
D. IPX
E. Multilink
F. ATX
Answer: C, E
Explanation
kokichi81
26-04-2004, 01:26 PM
Theo mình đáp án là :A,B
Vì ppp sử dụng các Cotrol Protocol để điều khiển các giao thức hoạt động trên nó.
Ở đay ta thấy có hai giao thức được sử dụng là IPCP và CDPCP .Như vậy là hai giao thức IP vÀ CDP đang hoạt động trên serial link.
Mình nghĩ vậy không biết có đúng không.
Mình nghĩ rằng IP thì đúng rồi. Còn CDPCP có phải là CDP control Protocol không? Mình cũng chưa biết CDPCP là viết tắt của cái gì. CDP hoạt động ở lớp 2 mà???
admin
28-04-2004, 12:16 AM
Trong quá trình hoạt động của NCP, một trong hai đầu kết nối của PPP sẽ gửi yêu cầu thực hiện CCP ( Compression Control Protocol (CCP):
Mar 2 13:32:47.010: As1 CCP: I CONFREQ [Not negotiated] id 6 len 10
Mar 2 13:32:47.014: As1 CCP: MS-PPC supported bits 0x00000001 (0x120600000001)
Nếu đầu kia từ chối cho phép nén trên đường truyền, packet O PROTREJ sẽ được nhận. Khi đó hai thiết bị sẽ không cố gắng khởi tạo CCP:
Mar 2 13:32:47.014: As1 LCP: O PROTREJ [Open] id 34 len 16 protocol CCP (0x80FD0106000A120600000001)
Trong câu hỏi của bạn, CCP trong trạng thái listen. Đó là dấu hiệu compression của PPP.
LISTEN:CCP
Thân
bruno1812
28-04-2004, 06:10 PM
Vậy còn Multilink thì sao ?
dangquangminh
29-04-2004, 12:01 AM
Để xem cấu hình multilink PPP (MPPP), bruno có thể dùng lệnh
debug ppp negotiation
Hai thành phần quan trọng phải được thống nhất trong giai đoạn LCP là Maximum Receive Reconstructed Unit (MRRU) và the Endpoint Discriminator (EndpointDisc):
As1 LCP: O CONFREQ [Listen] id 1 len 26
As1 LCP: AuthProto CHAP (0x0305C22305)
As1 LCP: MagicNumber 0x10963BD1 (0x050610963BD1)
As1 LCP: MRRU 1524 (0x110405F4)
As1 LCP: EndpointDisc 1 Local (0x13070174657374)
As1 LCP: I CONFREQ [REQsent] id 3 Len 27
As1 LCP: MRU 1500 (0x010405DC)
As1 LCP: MagicNumber 0x2CBF9DAE (0x05062CBF9DAE)
As1 LCP: MRRU 1500 (0x110405DC)
As1 LCP: EndpointDisc 1 Local (0x1306011AC16D)
As1 LCP: I CONFACK [REQsent] id 1 Len 26
As1 LCP: AuthProto CHAP (0x0305C22305)
As1 LCP: MagicNumber 0x10963BD1 (0x050610963BD1)
As1 LCP: MRRU 1524 (0x110405F4)
As1 LCP: EndpointDisc 1 Local (0x13070174657374)
As1 LCP: O CONFACK [ACKrcvd] id 3 Len 24
As1 LCP: MRU 1500 (0x010405DC)
As1 LCP: MagicNumber 0x2CBF9DAE (0x05062CBF9DAE)
As1 LCP: MRRU 1500 (0x110405DC)
As1 LCP: EndpointDisc 1 Local (0x1306011AC16D)
As1 LCP: State is Open
Cũng giống như các thành phần LCP khác MRRU và EndPontDisc phải giống nhau cả hai đầu.
Sau khi MPPP đã được hoàn tất trong giai đoạn LCP, một interface ảo Virtual Access sẽ được tạo ra:
As1 PPP: Phase is VIRTUALIZED
Vi1 PPP: Treating connection as a dedicated line
Vi1 PPP: Phase is ESTABLISHING, Active Open
Vi1 LCP: O CONFREQ [Closed] id 1 Len 37
...
Vi1 PPP: Phase is UP
Vi1 IPCP: O CONFREQ [Closed] id 1 len 10
Vi1 IPCP: Address 192.168.10.1 (0x0306C0A80A01)
...
Dùng lệnh show ppp multilink để xem thông tin về PPP:
router#show ppp multilink
Virtual-Access1, bundle name is RemoteRouter
0 lost fragments, 0 reordered, 0 unassigned, sequence 0x29/0x17 rcvd/sent
0 discarded, 0 lost received, 1/255 load
Member links: 1 (max not set, min not set)
Async1
Thêm vào đó, có thể dùng lệnh show interface để xem các thông số của interface ảo vừa tạo ra:
router#show interface virtual-access 1
Virtual-Access1 is up, line protocol is up
Hardware is Virtual Access interface
Description: Multilink PPP to RemoteRouter
! -- This VAccess interface is conencted to "RemoteRouter"
Internet address is 192.168.10.1/24
MTU 1500 bytes, BW 7720 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Keepalive set (10 sec)
DTR is pulsed for 5 seconds on reset
LCP Open, multilink Open
! -- multilink state should be Open for a successful connection
Open: IPCP
Last input 00:00:01, output never, output hang never
Last clearing of "show interface" counters 04:25:13
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 12000 bits/sec, 2 packets/sec
5 minute output rate 12000 bits/sec, 2 packets/sec
2959 packets input, 2075644 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
2980 packets output, 2068142 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
Cám ơn đã đọc một bài viết dài.
cafekhongduong
10-05-2004, 04:13 PM
Các Bác làm ơn xem những câu trả lời của em đúng không nhé. Thanks
1.
4d20h: Se0/0 PPP: Treating connection as a dedicated line
4d20h: Se0/0 PPP: Phase is AUTHENTICATION, by both
4d20h: Se0/0 CHAP: O CHALLENGE id 2 len 28 from "left"
4d20h: Se0/0 CHAP: I CHALLENGE id 3 len 28 from "right"
4d20h: Se0/0 CHAP: O RESPONSE id 3 len 28 from "left"
4d20h: Se0/0 CHAP: I RESPONSE id 2 len 28 from "right"
4d20h: Se0/0 CHAP: O SUCCESS id 2 len 4
4d20h: Se0/0 CHAP: I SUCCESS id 3 len 4
What can be concluded from the output shown in the graphic? (Choose three.)
A. A two-way handshake is occuring.
B. The LCPs were already negotiated.
C. The router can begin NCP negotiations.
D. The debug ppp negotiation command was executed.
E. The debug ppp authentication command was executed.
ANS : B,C,E
2.
Se2/0:7 LCP: ICONFACK [ACKSent] id 76 len 30
Se2/0:7 LCP: AuthProto CHAP (0X0305C22305)
Se2/0:7 LCP: MagicNumber 0xCC96D7E6 (0x0506CC96D7E6)
Se2/0:7 LCP: MRRU 1524 (0x110405F4)
Se2/0:7 LCP: EndpointDisc 1 3640_PE1 (0x130B01333634305F504531)
Se2/0:7 LCP: State is Open
Which of the following items were negotiated during the PPP session shown in the debug output? (Choose two.)
A. Challenge Handshake Authentication Protocol
B. Password Authentication Protocol
C. Compression
D. link quality
E. error detection
ANS : A,E
3. Several tasks must occur before a link between two routers using PPP can become active. Which of the following are required to establish and maintain a PPP session between two routers? (Choose two.)
A. ensure that the interface used is a serial interface
B. send keepalives between the two links
C. test the link quality
D. assign PPP host addresses to both interfaces
E. send LCP and NCP frames to negotiate configuration parameters
ANS : A,D
admin
11-05-2004, 12:05 AM
1.
4d20h: Se0/0 PPP: Treating connection as a dedicated line
4d20h: Se0/0 PPP: Phase is AUTHENTICATION, by both
4d20h: Se0/0 CHAP: O CHALLENGE id 2 len 28 from "left"
4d20h: Se0/0 CHAP: I CHALLENGE id 3 len 28 from "right"
4d20h: Se0/0 CHAP: O RESPONSE id 3 len 28 from "left"
4d20h: Se0/0 CHAP: I RESPONSE id 2 len 28 from "right"
4d20h: Se0/0 CHAP: O SUCCESS id 2 len 4
4d20h: Se0/0 CHAP: I SUCCESS id 3 len 4
What can be concluded from the output shown in the graphic? (Choose three.)
A. A two-way handshake is occuring.
B. The LCPs were already negotiated.
C. The router can begin NCP negotiations.
D. The debug ppp negotiation command was executed.
E. The debug ppp authentication command was executed.
ANS : B,C,E
Do có dòng
4d20h: Se0/0 CHAP: O CHALLENGE id 2 len 28 from "left"
4d20h: Se0/0 CHAP: I CHALLENGE id 3 len 28 from "right"
nên có thể kết luận là lệnh debug ppp authentication đang được dùng. Quá trình authentication đã thành công, do đó giai đoạn NCP có thể bắt đầu. Admin cho rằng, admin cũng chọn lựa giống như bạn.
2.
Se2/0:7 LCP: ICONFACK [ACKSent] id 76 len 30
Se2/0:7 LCP: AuthProto CHAP (0X0305C22305)
Se2/0:7 LCP: MagicNumber 0xCC96D7E6 (0x0506CC96D7E6)
Se2/0:7 LCP: MRRU 1524 (0x110405F4)
Se2/0:7 LCP: EndpointDisc 1 3640_PE1 (0x130B01333634305F504531)
Se2/0:7 LCP: State is Open
Which of the following items were negotiated during the PPP session shown in the debug output? (Choose two.)
A. Challenge Handshake Authentication Protocol
B. Password Authentication Protocol
C. Compression
D. link quality
E. error detection
ANS : A,E
Do dòng này
Se2/0:7 LCP: AuthProto CHAP (0X0305C22305)
Se2/0:7 LCP: MagicNumber 0xCC96D7E6 (0x0506CC96D7E6)
nên có thể kết luận là CHAP đang được debug. Một bên đang gửi key để challenge bên kia (Magicnumber). Tuy nhiên chọn lựa cho option còn lại là một việc khó khăn.
3. Several tasks must occur before a link between two routers using PPP can become active. Which of the following are required to establish and maintain a PPP session between two routers? (Choose two.)
A. ensure that the interface used is a serial interface
B. send keepalives between the two links
C. test the link quality
D. assign PPP host addresses to both interfaces
E. send LCP and NCP frames to negotiate configuration parameters
ANS : A,D
PPP có thể hỗ trợ cả các interface sync/async. Do đó PPP không bắt buộc dùng trên serial interfaces (bỏ A). Hai đặc trưng của PPP là dùng LCP/NCP để negotiate thông số của hai bên. Thêm vào đó, chất lượng đường truyền cũng sẽ được kiểm tra trong quá trình trên.
Cám ơn nhiều
cafekhongduong
11-05-2004, 10:36 AM
Đối với câu thứ 2 mình chọn E vi mình thấy có dòng:
Se2/0:7 LCP: MagicNumber 0xCC96D7E6 (0x0506CC96D7E6).
Mình nghĩ rằng nó có quá trình error detection
Những phần còn lại mình đồng ý với Admin.
Cảm ơn nhiều nhé Admin
sinhvienngheo
11-05-2004, 11:08 AM
Đối với câu thứ 2 mình chọn E vi mình thấy có dòng:
Se2/0:7 LCP: MagicNumber 0xCC96D7E6 (0x0506CC96D7E6).
Mình nghĩ rằng nó có quá trình error detection
Cái MAgicNumber kia là một giá trị kết quả của thuật toán hash được dùng trong PPP. Giá trị này được trao đổi trong khi CHAP thực hiện. Không thể kết luận là đây là một đặc trưng của quá trình error detection.
cafekhongduong
12-05-2004, 03:07 PM
To sinhvienngheo
Bạn đọc đoạn này nhé, mình trích từ ebook :
Error detection mechanisms with PPP enable a process to identify fault conditions. The Quality and Magic Number options help ensure a reliable, loop-free data link.
Cảm ơn nhiều nhé
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.