R1 learns two IBGP routes to 192.168.0.0/16. Route A has LocalPref 200 and an ASPath length of 4. Route B has…

BGPChọn mộtH12-821 HCIP-Datacom-Core Technology

Câu bổ sung của RoutingBit

R1 learns two IBGP routes to 192.168.0.0/16. Route A has Local_Pref 200 and an AS_Path length of 4. Route B has Local_Pref 100 and an AS_Path length of 1. Both routes have PrefVal 0. Which route does R1 select?

  1. ARoute A, because Local_Pref is compared before AS_Path.
  2. BRoute B, because it has a shorter AS_Path.
  3. CBoth routes, because they are learned from IBGP peers.
  4. DNeither route, because the AS_Path lengths are different.

Đáp án: A

Thứ tự chọn đường của Huawei: PrefVal, Local_Pref, route tự sinh, AS_Path, Origin, MED, EBGP hơn IBGP, cost IGP tới next hop... PrefVal bằng nhau nên so Local_Pref, 200 lớn hơn 100, route A thắng luôn, không xét tới AS_Path.

Thi thử H12-821 60 câu

Gồm 230 câu mock HCIP-Datacom-Core (Part 1 đến 4, giữ nguyên tiếng Anh) và 84 câu bổ sung do RoutingBit viết, tất cả có giải thích tiếng Việt. Câu nào đáp án gốc còn tranh cãi thì RoutingBit chọn theo phân tích kỹ thuật và ghi chú lại. Thấy chỗ chưa đúng thì bấm Báo lỗi.