Câu hỏi lấy từ 4 đề mock HCIP Advanced R&S, giữ nguyên tiếng Anh, giải thích tiếng Việt. Chỗ đáp án gốc của mock còn tranh cãi được ghi chú trong phần giải thích. Thấy đáp án chưa đúng thì bấm Báo lỗi.
Type 7 LSAs, used to describe imported external routes, were introduced to support NSSAs. They are generated by autonomous system boundary routers (ASBRs) in NSSAs. The flooding scope of Type 7 LSAs is similar to that of Type 5 LSAs. That is, besides being flooded to common areas and stub areas, Type 7 LSAs are also flooded to all NSSAs on the OSPF network.
Đáp án: False
LSA Type 7 chỉ được flood trong nội bộ NSSA nơi nó được sinh ra. Muốn ra ngoài, ABR (translator) phải chuyển Type 7 thành Type 5. Type 7 không bao giờ vào area thường hay stub area, nên mệnh đề sai.
Câu 2OSPFĐúng hay sai
Mock 1, câu 3
OSPF neighbors periodically exchange Hello packets to establish and maintain adjacencies. The intervals of Hello timers on the two ends must be the same. Otherwise, adjacencies cannot be established. To speed up OSPF convergence, network engineers can set the interval for sending Hello packets to 1 ms.
Đáp án: False
Hello interval của OSPF tính bằng giây, giá trị nhỏ nhất là 1 s, không đặt được 1 ms. Muốn phát hiện lỗi ở mức mili-giây thì dùng BFD for OSPF.
Câu 3OSPFĐúng hay sai
Mock 1, câu 6
BFD for OSPF refers to the association of BFD with OSPF to speed up OSPF's response to network topology changes. The OSPF neighbor relationship can enter the Full state only after the BFD session goes up. The OSPF neighbor relationship can go down only after the BFD session goes down.
Đáp án: False
Thứ tự thực tế ngược lại: OSPF lên Full trước, rồi mới kích hoạt tạo BFD session. OSPF neighbor cũng có thể down do nguyên nhân khác (Dead timer, thay đổi cấu hình) mà không cần BFD down.
Câu 4OSPFĐúng hay sai
Mock 1, câu 14
OSPF supports equal-cost load balancing. When the number of equal-cost routes on the network is greater than the number specified in the maximum load-balancing command, and the interface priorities and interface indexes are the same, the routes with smaller next-hop IP addresses are selected for load balancing.
Đáp án: False
Khi số route ECMP vượt maximum load-balancing, Huawei chọn theo thứ tự: priority/weight của next hop, rồi interface index lớn hơn, rồi next-hop IP LỚN hơn. Chọn IP nhỏ hơn là sai. Câu 26 và 42 dùng đúng quy tắc này.
Câu 5OSPFĐúng hay sai
Mock 1, câu 16
To advertise the external routes imported by an NSSA to other areas, a translator must translate Type 7 LSAs into Type 5 LSAs so that the external routes can be advertised on the entire OSPF network. By default, the translator is the area border router (ABR) with the largest router ID in the NSSA.
Đáp án: True
Khi NSSA có nhiều ABR, mặc định ABR có Router ID lớn nhất làm translator (Type 7 → Type 5). Có thể ép bằng tham số translator-always.
Câu 6OSPFChọn một
Mock 1, câu 17
On the OSPF network shown in the figure, the cost values of links are marked. OSPF IP FRR is enabled on R1, and the maximum load-balancing 1 command is configured in the OSPF process. Which of the following is the backup outbound interface from R1 to 10.0.3.3/32?
Đáp án: D
Có hai đường cost 20 (qua R5 bằng GE0/0/1, qua R4 bằng GE0/0/3) và một đường cost 30 (qua R2). Với maximum load-balancing 1, chỉ một đường được làm primary, theo đáp án là GE0/0/3 (do quy tắc tie-break của Huawei, xem câu 14). Đường cost 20 còn lại qua R5 thỏa LFA (10 < 10 + 20) và tốt hơn đường qua R2, nên backup là GE0/0/1. Lưu ý: đáp án phụ thuộc vào việc GE0/0/3 thắng tie-break. Nếu GE0/0/1 làm primary thì backup sẽ là GE0/0/3.
Câu 7OSPFChọn một
Mock 1, câu 18
On the OSPF network shown in the figure, area 1 is a stub area, area 2 is a totally stub area, and area 3 is an NSSA. Which of the following LSAs does not exist in areas 1, 2, and 3?
Đáp án: D
Type 4 (ASBR-summary) chỉ cần khi có Type 5. Stub, totally stub và NSSA đều chặn Type 5, nên ABR không sinh Type 4 vào các area này. Type 1 luôn có. Type 3 có ít nhất là route default (kể cả totally stub). Type 2 có khi có DR.
Câu 8OSPFChọn một
Mock 1, câu 19
On the OSPF network shown in the figure, the cost values of links are marked. OSPF IP FRR is enabled on R1, and the maximum load-balancing 8 command is configured in the OSPF process. If a service passes through the path R1 -> R5 -> R3 to reach 10.0.3.3/32, which of the following is the backup outbound interface for the service?
Đáp án: C
Ba đường R1→R5→R3, R1→R2→R3 và R1→R4→R3 đều có tổng cost 20. Với maximum load-balancing 8, cả ba next hop (GE0/0/1, GE0/0/2, GE0/0/3) đều được cài vào bảng định tuyến làm đường chính và cân bằng tải (ECMP). OSPF IP FRR chỉ tính backup next hop cho route có một next hop duy nhất. Khi đã có ECMP, các đường cân bằng tải tự bảo vệ lẫn nhau: một link hỏng thì traffic chuyển sang các link còn lại, nên không có backup outbound interface riêng. Nếu đề cấu hình maximum load-balancing 1 thì chỉ một đường được cài làm route chính, khi đó FRR mới chọn một interface còn lại làm backup.
Ghi chú về đáp án: Trong mock là D.
Câu 9OSPFChọn một
Mock 1, câu 26
On the OSPF network shown in the figure, R1 and R2 are connected through four links. OSPF is enabled on Loopback0 of R2, and the maximum load-balancing 1 command is run in the OSPF process of R1. Which of the following is the outbound interface from R1 to Loopback0 of R2?
Đáp án: D
Có 4 đường ECMP nhưng chỉ chọn 1. Theo quy tắc ở câu 14, Huawei ưu tiên next-hop IP lớn hơn. Các next hop là 10.0.12.2, 10.0.21.2, 10.2.21.2 và 10.1.21.2. Lớn nhất là 10.2.21.2, tức GE0/0/2.10.
Câu 10OSPFChọn một
Mock 1, câu 27
On the OSPF network shown in the figure, area 1 is a stub area, area 2 is a totally stub area, and area 3 is an NSSA. By default, which of the following routers does not have default routes in its routing table?
Đáp án: B
R6 (stub) nhận default Type 3 từ ABR. R4 (totally stub) cũng nhận default Type 3. R5 (NSSA) nhận default Type 7 mà ABR NSSA của Huawei tự sinh. R3 là ABR nằm trong backbone, không nhận default từ đâu cả, nên R3 không có default.
Câu 11OSPFChọn một
Mock 1, câu 28
On the OSPF network shown in the figure, the cost values of links are marked. OSPF IP FRR is enabled on R1, and the maximum load-balancing 8 command is configured in the OSPF process. Which of the following is the cost value of the route 10.0.35.0/24 in the routing table of R1?
Đáp án: B
10.0.35.0/24 là link R5-R3. Từ R1 đi qua R5: 10 (R1-R5) + 10 (cost interface R5 trên link đó) = 20. Đi qua R4-R3 thì 10 + 10 + 10 = 30. Chọn 20.
Câu 12OSPFChọn một
Mock 1, câu 29
On the OSPF network shown in the figure, the cost values of links are marked, and OSPF IP FRR is enabled on R1. Which of the following statements is false?
Đáp án: B
Link R4-R2 có cost 50: Dist(R4,R3) = 25, bằng Dist(R4,R1) + Dist(R1,R3) = 10 + 15 = 25, không nhỏ hơn hẳn, nên không có LFA. Dù bật FRR cũng không có backup path, nên B sai. Khi link R1-S1 đứt, interface R1 down nên neighbor down ngay và R1 tính lại SPF (A, C đúng). So sánh với câu 37, nơi cost R4-R2 = 10.
Câu 13OSPFChọn nhiều
Mock 1, câu 37
On the OSPF network shown in the figure, the cost values of links are marked, and OSPF IP FRR is enabled on R1. Which of the following statements are true?
Đáp án: A, C, D
Ở đây R4-R2 có cost 10: Dist(R4,R3) = 15 < Dist(R4,R1) + Dist(R1,R3) = 10 + 15 = 25, nên R4 là LFA và có backup path (B sai). Đứt link R1-S1 hoặc S1 mất điện thì R1 chuyển ngay sang backup (A, D đúng). Đứt link R2-S1 thì interface R1 vẫn up, nhưng BFD phát hiện nhanh (C đúng).
Câu 14OSPFChọn nhiều
Mock 1, câu 38
As shown in the figure, OSPF is deployed on a campus network to implement network communication. An engineer wants to reduce the number of LSAs received by R4. Which of the following configurations can meet this requirement?
Đáp án: C, D
Đáp án CD tương ứng với cấu hình A và C trong hình. Cấu hình A (area 0, filter export) lọc các Type 3 do R2 sinh từ route area 0 gửi sang area khác, trong đó có area 1, nên R4 nhận ít LSA hơn. Cấu hình C (area 1, filter import) lọc Type 3 đi vào area 1, nên cũng giảm LSA tới R4. Cấu hình B (area 0 import) chỉ tác động LSA đi vào area 0. Cấu hình D (area 1 export) tác động LSA từ area 1 đi ra.
Câu 15OSPFChọn nhiều
Mock 1, câu 39
On the OSPF network shown in the figure, area 1 is a stub area, area 2 is a totally stub area, and area 3 is an NSSA. Which of the following routers are unable to import external routes?
Đáp án: B, C
Router chỉ nằm trong stub hoặc totally stub area thì không làm ASBR được (không có Type 5/7): đó là R6 (area 1) và R4 (area 2). R5 trong NSSA import được qua Type 7. R3 có interface trong area 0 nên import được.
Câu 16OSPFChọn nhiều
Mock 1, câu 42
On the OSPF network shown in the figure, R1 and R2 are connected through four links. OSPF is enabled on Loopback0 of R2, and the maximum load-balancing 3 command is run in the OSPF process of R1. Which of the following are the outbound interfaces from R1 to Loopback0 of R2?
Đáp án: A, B, D
Chọn 3 trong 4 đường theo next-hop IP lớn hơn: 10.2.21.2 (GE0/0/2.10), 10.1.21.2 (GE0/0/2.20), 10.0.21.2 (GE0/0/1). Bỏ 10.0.12.2 (GE0/0/0).
Ghi chú về đáp án: Thầy bảo chọn theo interface index luôn.
Câu 17OSPFChọn nhiều
Mock 1, câu 49
On the OSPF network shown in the figure, area 1 is an NSSA, and areas 2 and 3 are common areas. The default-route-advertise always command is configured in the OSPF process of R5. Which of the following routers have the default route in their routing tables?
Đáp án: A, B, C, D
R5 sinh default Type 5, flood tới area 0, 2 và 3, nên R2, R3, R4 có default. R6 nằm trong NSSA không nhận Type 5, nhưng ABR R2 tự sinh default Type 7 vào NSSA (hành vi của Huawei), nên R6 cũng có default.
Câu 18OSPFChọn nhiều
Mock 1, câu 54
On the OSPF network shown in the figure, area 1 is a stub area, area 2 is a totally NSSA, and area 3 is an NSSA. R5 imports an external route 10.0.5.5/32. Given this, which of the following routers do not have the route 10.0.5.5/32 in their routing tables?
Đáp án: A, D
R5 sinh Type 7, R1 (ABR) dịch thành Type 5 và flood vào area 0, nên R2 và R3 có route. Type 5 không vào stub area (R6) và totally NSSA (R4), và hai router này chỉ có default. Vậy R6 và R4 không có 10.0.5.5/32.
Câu 19OSPFChọn một
Mock 4, câu 18
When handling a fault on the live network, a network engineer draws a topology shown in the figure, where all routers run OSPF. Which of the following shows the correct access paths between PC1 and PC2?
Đáp án: B
Cost OSPF tính theo interface ra ở mỗi chiều. Chiều R1 → R2: đi thẳng 50, qua R3 là 30 + 10 = 40, nên đi qua R3. Chiều R2 → R1: đi thẳng 30, qua R3 là 10 + 10 = 20, nên cũng đi qua R3.
Câu 20OSPFChọn một
Mock 4, câu 19
When handling a fault on the live network, a network engineer draws a topology shown in the figure, where all routers run OSPF. Which of the following shows the correct access paths between PC1 and PC2?
Đáp án: A
Chiều R1 → R2: đi thẳng 10, qua R3 là 30 + 30 = 60, nên đi thẳng. Chiều R2 → R1: đi thẳng 30, qua R3 là 10 + 10 = 20, nên đi qua R3. Hai chiều đi khác đường (định tuyến bất đối xứng).
Câu 21OSPFChọn một
Mock 4, câu 21
When which of the following faults occurs on a network device will the network device report an alarm with the OID of 1.3.6.1.4.1.2011.5.25.155.31.3 (object name: hwOspfv2IntraAreaRouteridConflict) to the NMS through SNMP?
Đáp án: C
Tên object đã nói lên ý nghĩa: IntraAreaRouteridConflict là trùng router ID trong cùng một area.
Câu 22OSPFChọn một
Mock 4, câu 25
The figure shows the debugging information on an OSPF router. Which of the following is the router ID of this router?
Đáp án: C
Đây là gói Hello mà router GỬI (SEND Packet). Trường Router trong header OSPF là router ID của người gửi: 10.0.2.2.
Câu 23OSPFChọn một
Mock 4, câu 27
The figure shows the debugging information on an OSPF router. Which of the following is the router ID of this router?
Đáp án: B
Đây là gói Hello mà router NHẬN (RECV Packet) từ 10.0.1.1. Danh sách Attached Neighbors trong Hello của 10.0.1.1 chứa router ID của bên nhận, tức chính router này: 10.0.2.2.
Câu 24OSPFChọn một
Mock 4, câu 37
A network engineer provides a troubleshooting report after rectifying a fault. The actual network is simplified into the one shown in the figure, where R1 and R2 both have OSPF enabled, and function as the gateways of PC1 and PC2, respectively. Given this, which of the following statements is false?
Đáp án: B
Hai bên LAN dùng trùng 192.168.1.0/24. Mỗi router quảng bá 192.168.1.0/24 là stub link trong Router-LSA của mình (C đúng). Nhưng R1 đã có prefix này là direct route, nên route OSPF học từ R2 cho cùng prefix không được chọn, và R1 không có route OSPF tới 192.168.1.0/24 (B sai). R1 ping 192.168.1.2 thì gói đi ra LAN local và không tới R2 (A đúng). PC1 và PC2 cùng tưởng đối phương ở LAN local, nên không ping được nhau (D đúng).
Câu 25OSPFChọn nhiều
Mock 4, câu 45
A network engineer provides a troubleshooting report after rectifying a fault. The actual network is simplified into the one shown in the figure, where R1 and R2 both have OSPF enabled, and function as the gateways of PC1 and PC2, respectively. Given this, which of the following statements are true?
Đáp án: A, B, C, D
R1 có direct route 192.168.1.0/24 và học route OSPF 192.168.1.20/30 từ R2. Theo longest match, R1 đi tới .21/.22 qua R2, nên A và D đúng. R2 học 192.168.1.0/24 từ R1, nên ping được .11 (C). PC1 dùng /24 nên coi .22 là địa chỉ local và ARP trực tiếp, không có phản hồi, vì vậy PC1 và PC2 không ping được nhau (B).
Câu 26OSPFChọn nhiều
Mock 4, câu 54
A network engineer provides a troubleshooting report after rectifying a fault. The actual network is simplified into the one shown in the figure, where R1 and R2 both have OSPF enabled, and function as the gateways of PC1 and PC2, respectively. Given this, which of the following statements are true?
Đáp án: B, C, D
Topology giống câu 37: hai LAN trùng 192.168.1.0/24. R1 coi 192.168.1.12 và 192.168.1.2 là địa chỉ trên LAN local, nên không tới được R2/PC2 (C, D). PC1 và PC2 không ping được nhau (B). Link 10.0.12.0/24 vẫn bình thường nên R2 ping được 10.0.12.1 (A sai).
Câu 27OSPFChọn nhiều
Mock 4, câu 56
A network engineer provides a troubleshooting report after rectifying a fault. The actual network is simplified into the one shown in the figure, where R1 and R2 both have OSPF enabled, and function as the gateways of PC1 and PC2, respectively. Given this, which of the following statements are true?
Đáp án: A, B, D
Hai LAN dùng hai /30 khác nhau (192.168.1.0/30 và 192.168.1.20/30), không chồng lấn. OSPF quảng bá đầy đủ nên mọi địa chỉ đều thông. A, B, D đúng. PC1 và PC2 ping được nhau, nên C sai.