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?
- ARoute A, because Local_Pref is compared before AS_Path.
- BRoute B, because it has a shorter AS_Path.
- CBoth routes, because they are learned from IBGP peers.
- 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.