Gồm các câu của đề JN0-664 (giữ nguyên câu hỏi, chép lại output, vẽ lại sơ đồ, bỏ phần bình luận của trang nguồn, tự viết giải thích). Câu nào đáp án gốc chưa chuẩn thì RoutingBit chọn theo tài liệu Juniper và ghi chú lại. Thấy chỗ chưa đúng thì bấm Báo lỗi.
R2 is receiving the same route from R1 and R3. You must ensure that you can load balance traffic for that route. Referring to the exhibit, which configuration change will allow load balancing?
(65001) R1 ------ R2 ------ R3 (65003)
[edit]
user@R2# run show route 11.11.11.0/24
inet.0: 11 destinations, 12 routes (11 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
11.11.11.0/24 *[BGP/170] 00:00:50, localpref 100
AS path: 65001 I, validation-state: unverified
> to 172.16.1.1 via ge-0/0/0.0
[BGP/170] 00:00:50, localpref 100
AS path: 65003 I, validation-state: unverified
[edit]
user@R2# show protocols bgp
group R1 {
neighbor 172.16.1.1 {
peer-as 65001;
}
}
group R3 {
neighbor 172.16.2.1 {
peer-as 65003;
}
}
local-as 65002;
[edit]
user@R2# show policy-options
policy-statement lb {
then {
load-balance per-packet;
}
}
policy-statement prepend {
term 1 {
then as-path-prepend 65001;
}
}
[edit]
user@R2# show routing-options
forwarding-table {
export lb;
}
Đáp án: C
Hai đường có AS path cùng độ dài nhưng khác AS (65001 và 65003). multipath thường chỉ gộp các đường học từ cùng một AS láng giềng, nên phải thêm multiple-as. Policy lb ở forwarding-table đã có sẵn.
Câu 2BGPChọn nhiều
Đề JN0-664, câu 2
You are troubleshooting the connection between AS 64496 and AS 64497 and notice that only one of the paths is being used for traffic forwarding. Referring to the exhibit, which three actions will ensure that R1 is configured properly for load balancing BGP routes? (Choose three.)
R1 (AS 64496), giữa R5 và R8 là AS 64500. nối hai router R2, R3 của AS 64497. Phía xa là 203.0.113.128/25 ở AS 64501
user@R1> show route forwarding-table matching 203.0.113.128/25
Routing table: default.inet
Internet:
Destination Type RtRef Next hop Type Index NhRef Netif
203.0.113.128/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.144/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.160/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.176/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.192/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.208/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.224/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
203.0.113.240/28 user 0 10.1.1.1 ucst 576 11 ge-0/0/4.0
Đáp án: A, C, D
Muốn R1 chia tải: bật multipath trên R1 để BGP chọn nhiều next hop, kiểm tra bảng định tuyến đã có nhiều next hop, và có policy load-balance export vào forwarding-table để PFE cài cả hai. Cấu hình trên R2, R3 không liên quan tới việc R1 chia tải.
Ghi chú về đáp án: đề gốc chấm A, B, D. RoutingBit chọn A, C, D.
Câu 3BGPChọn nhiều
Đề JN0-664, câu 11
Referring to the exhibit, which two statements are true? (Choose two.)
user@R1> show route protocol bgp
inet.0: 8 destinations, 12 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
172.16.20.4/30 *[BGP/170] 00:49:55, localpref 100
AS path: 2 I, validation-state: unverified
> to 10.0.18.2 via ge-1/0/4.0
to 10.0.19.2 via ge-1/0/5.0
[BGP/170] 00:49:55, localpref 100
AS path: 2 I, validation-state: unverified
> to 10.0.19.2 via ge-1/0/5.0
Đáp án: B, D
Hai đường đều có AS path "2 I" nên học từ cùng AS 2. Route active có hai next hop là kết quả của multipath. Multihop chỉ cho phép peer không nối trực tiếp, không tạo chia tải.
Câu 4BGPChọn một
Đề JN0-664, câu 22
You want to use both links between R1 and R2. Because of the bandwidth difference between the two links, you must ensure that the links are used as much as possible. Which action will accomplish this goal?
R1 (AS 65511) và R2 (AS 65512) nối bằng link GE 192.168.10.0/31 và link 10GE 192.168.100.0/24R1AS 65511R2AS 65512ge-0/0/0 1Gxe-0/0/0 10G
R1 (AS 65511) và R2 (AS 65512) nối bằng link GE 192.168.10.0/31 và link 10GE 192.168.100.0/24
Đáp án: B
Chia tải không đều theo băng thông (unequal-cost) trên Junos dùng link-bandwidth extended community gắn vào route nhận qua từng link, kết hợp multipath. Như vậy link 10G mang phần lớn lưu lượng, link 1G vẫn được dùng.
Ghi chú về đáp án: đề gốc chấm C. RoutingBit chọn B.
Câu 5BGPChọn nhiều
Đề JN0-664, câu 27
Referring to the exhibit, which two statements are correct about BGP routes on R3 that are advertised to R1? (Choose two.)
R1 đến R4 full mesh IBGP trong AS 65512. R3 và R4 peer EBGP với ISP-A (AS 65511)AS 65512R1R3R2R4ISP-AAS 65511EBGPEBGP
R1 đến R4 full mesh IBGP trong AS 65512. R3 và R4 peer EBGP với ISP-A (AS 65511)
Đáp án: A, C
Gửi vào IBGP thì next hop giữ nguyên (địa chỉ ISP-A) và Local Preference đặt trên R3 được mang theo cho cả AS.
Câu 6BGPChọn nhiều
Đề JN0-664, câu 29
You are asked to exchange routes between R1 and R4 as shown in the exhibit. These two routers use the same AS number. Which two steps will accomplish this task? (Choose two.)
R1 (AS 64522, 172.17.10.0/24) peer với R2 qua 10.0.1.0, R3 peer với R4 (AS 64522, 172.17.20.0/24) qua 10.0.2.0. R2 và R3 thuộc AS 65411R1AS 64522R2AS 65411R3AS 65411R4AS 64522.1.2IBGP.1.2
R1 (AS 64522, 172.17.10.0/24) peer với R2 qua 10.0.1.0, R3 peer với R4 (AS 64522, 172.17.20.0/24) qua 10.0.2.0. R2 và R3 thuộc AS 65411
Đáp án: A, D
Mặc định Junos không gửi route ra một peer EBGP khi AS của peer đó có trong AS path, nên R3 phải bật advertise-peer-as. R4 lại sẽ bỏ route vì thấy AS của mình, nên R3 dùng as-override để thay AS 64522 bằng AS của nhà mạng. Làm tương tự trên R2 cho chiều ngược lại.
Ghi chú về đáp án: đề gốc chấm B, D. RoutingBit chọn A, D.
Câu 7BGPChọn nhiều
Đề JN0-664, câu 35
R1 and R8 are not receiving each other's routes. Referring to the exhibit, what are three configuration commands that would solve this problem? (Choose three.)
R1 và R8 cùng dùng một AS riêng (private). Đường đi qua AS 64497, 64498, 64499, 64500203.0.113.0/25R1AS 64512R2AS 64497R3AS 64497R4AS 64498R5AS 64499R6AS 64500R7AS 64500R8AS 64512
R1 và R8 cùng dùng một AS riêng (private). Đường đi qua AS 64497, 64498, 64499, 64500
RIB-OUT from R2 towards R1
Prefix Nexthop AS path
* 203.0.113.128/28 Self 64498 64499 64500 64512 I
* 203.0.113.144/28 Self 64498 64499 64500 64512 I
* 203.0.113.160/28 Self 64498 64499 64500 64512 I
...
RIB-OUT from R6 towards R8
Prefix Nexthop AS path
* 203.0.113.0/28 Self 64499 64498 64497 64512 I
* 203.0.113.16/28 Self 64499 64498 64497 64512 I
* 203.0.113.32/28 Self 64499 64498 64497 64512 I
...
Đáp án: A, B, C
R1 và R8 cùng AS 64512 nên mỗi bên thấy AS của mình trong AS path và bỏ route. Gỡ AS riêng khỏi AS path ở chỗ đi vào Internet (AS 64497 gửi sang 64498, AS 64500 gửi sang 64499), cộng as-override ở AS 64500 khi gửi về R8. D và E nhắc tới AS không có trong sơ đồ.
Ghi chú về đáp án: đề gốc chấm A, B, D. RoutingBit chọn A, B, C.
Câu 8BGPChọn nhiều
Đề JN0-664, câu 42
Which two statements are correct about reflecting inet-vpn unicast prefixes in BGP route reflection? (Choose two.)
Đáp án: C, D
Chỉ RR cần cấu hình cluster, client là peer IBGP bình thường. RR giữ nguyên các thuộc tính sẵn có (next hop, RT, local pref...), chỉ thêm ORIGINATOR_ID và CLUSTER_LIST, không đụng AS path.
Câu 9BGPChọn nhiều
Đề JN0-664, câu 50
Referring to the exhibit, which three statements are correct about route 10.0.0.0/16 when using the default BGP advertisement rules? (Choose three.)
AS 65531 gồm R1 (lo0 192.168.1.1, sinh 10.0.0.0/16), R2 (lo0 192.168.1.2), R3 chạy IBGP. R2 (172.16.1.1) peer EBGP với R4 (172.16.1.2) của AS 65532. R4 đến R7 chạy IBGPAS 65531AS 65532R1R2R3R4R5R6R7EBGP
AS 65531 gồm R1 (lo0 192.168.1.1, sinh 10.0.0.0/16), R2 (lo0 192.168.1.2), R3 chạy IBGP. R2 (172.16.1.1) peer EBGP với R4 (172.16.1.2) của AS 65532. R4 đến R7 chạy IBGP
Đáp án: A, C, E
R1 gửi cho R2 qua IBGP với next hop là chính nó. R2 gửi ra EBGP thì đổi next hop thành 172.16.1.1, R4 gửi vào IBGP thì giữ nguyên next hop đó. R2 không gửi lại route học từ IBGP cho R3, và AS chỉ được thêm khi gửi ra EBGP.
Ghi chú về đáp án: đề gốc chấm B, C, E. RoutingBit chọn A, C, E.
Câu 10BGPChọn một
Đề JN0-664, câu 53
Which origin code is preferred by BGP?
Đáp án: A
Thứ tự ưu tiên origin: IGP (i, ở đây ghi là Internal), rồi EGP (e), cuối cùng là incomplete (?).
Câu 11BGPChọn một
Đề JN0-664, câu 55
Your network is receiving the 203.0.113.0/24 network using EBGP from AS 64500 and AS 64501. Both of these advertisements have identical local-preference values, AS-path lengths, and BGP origin codes. You want to influence the way your AS sends traffic to the 203.0.113.0/24 network. In this scenario, which attribute would you consider next when selecting the best path?
Đáp án: B
Sau local preference, AS path và origin, bước tiếp theo trong quá trình chọn đường là MED. Lưu ý mặc định MED chỉ so giữa các đường từ cùng AS láng giềng, muốn so khác AS phải bật always-compare-med.
Câu 12BGPChọn nhiều
Đề JN0-664, câu 58
You want to implement the BGP Generalized TTL Security Mechanism (GTSM) on the network. Which three statements are correct in this scenario? (Choose three.)
R1 (ASN 64512) peer EBGP trực tiếp với R2 (ASN 64513). R2 peer IBGP với R3 và R4 qua một router ở giữaR1ASN 64512R2ASN 64513PR3R4EBGP
R1 (ASN 64512) peer EBGP trực tiếp với R2 (ASN 64513). R2 peer IBGP với R3 và R4 qua một router ở giữa
Đáp án: C, D, E
GTSM (RFC 5082) gửi gói BGP với TTL 255 và chỉ nhận gói còn TTL 255, nên chỉ áp được cho peer nối trực tiếp (R1-R2). Trên Junos đặt ttl 255 cho peer và dùng firewall filter trên lo0 để bỏ gói BGP có TTL nhỏ hơn.
Ghi chú về đáp án: đề gốc chấm B, C, E. RoutingBit chọn C, D, E.
Câu 13BGPChọn nhiều
Đề JN0-664, câu 60
Referring to the exhibit, which two statements are correct about the dual route reflectors within a cluster? (Choose two.)
RR1 và RR2 cùng một cluster trong AS 64530, phục vụ Client1, Client2, Client3. Cả hai peer EBGP với router của AS 64533EBGP peerAS 64533RR1RR2Client110.0.0.1Client210.0.0.2Client310.0.0.3
RR1 và RR2 cùng một cluster trong AS 64530, phục vụ Client1, Client2, Client3. Cả hai peer EBGP với router của AS 64533
Đáp án: B, C
RR thêm cluster ID vào CLUSTER_LIST khi phản xạ route. Gửi ra EBGP thì next hop đổi thành địa chỉ của chính RR. Hai RR cùng cluster ID sẽ bỏ route của nhau, và RR không đổi next hop khi gửi trong IBGP.
Ghi chú về đáp án: đề gốc chấm A, D. RoutingBit chọn B, C.
Câu 14BGPChọn một
Đề JN0-664, câu 64
You are troubleshooting an issue for a customer site that uses 10.10.0.0/24 in AS 65224, but you see another AS in the AS path. Referring to the exhibit, what is the cause of the problem?
user@router> show route receive-protocol bgp 10.16.40.1 extensive
inet.0: 233 destinations, 233 routes (233 active, 0 holddown, 0 hidden)
* 10.10.0.0/16 (1 entry, 1 announced)
Accepted
Nexthop: 10.16.40.1
AS path: 65000 {65137 65224} I
Aggregator: 65000 10.11.11.11
user@router> show route 10.10.0.0/24
inet.0: 233 destinations, 233 routes (233 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.0.0/24 *[BGP/170] 00:12:17, localpref 100
AS path: 65000 {65137 65224} I, validation-state: unverified
> to 10.16.40.1 via ge-0/0/2.0
Đáp án: C
AS 65000 tổng hợp route (có Aggregator) với as-set, nên AS của các route đóng góp hiện trong ngoặc nhọn {65137 65224}. Tức là route này cũng được AS 65137 quảng bá cho AS 65000, nên AS 65137 xuất hiện cạnh AS của khách.
Câu 15BGPChọn nhiều
Đề JN0-664, câu 65
You are attempting to summarize routes from the 203.0.113.128/25 IP block on R8 to AS 64500. You implement the export policy shown in the exhibit and all routes from the routing table stop being advertised. In this scenario, which two steps would you take to summarize the route in BGP? (Choose two.)
R8 routing table
203.0.113.128/28 *[BGP/170]
203.0.113.144/28 *[BGP/170]
203.0.113.160/28 *[BGP/170]
203.0.113.176/28 *[BGP/170]
203.0.113.192/28 *[BGP/170]
203.0.113.208/28 *[BGP/170]
203.0.113.224/28 *[BGP/170]
203.0.113.240/28 *[BGP/170]
user@R8> show configuration policy-options policy-statement adv-routes
term 10 {
from {
protocol bgp;
route-filter 203.0.113.128/25 exact;
}
then accept;
}
term last {
then reject;
}
Đáp án: B, D
Chưa có route /25 nào trong bảng nên term 10 không khớp gì. Tạo aggregate route 203.0.113.128/25 (active nhờ các /28), và bỏ điều kiện protocol bgp vì route tổng hợp có protocol là aggregate. Dùng orlonger sẽ quảng bá lại các /28 chứ không tổng hợp.
Ghi chú về đáp án: đề gốc chấm A, D. RoutingBit chọn B, D.
Câu 16BGPChọn một
Đề JN0-664, câu 67
The environment is using BGP. All devices are in the same AS with reachability redundancy. Referring to the exhibit, which statement is correct?
RR1 (172.16.1.1) và RR2 (172.16.1.2) cùng peer với Client1 (10.10.0.1), Client2 (10.10.0.2), Client3 (10.10.0.3)RR1172.16.1.1RR2172.16.1.2Client110.10.0.1Client210.10.0.2Client310.10.0.3
RR1 (172.16.1.1) và RR2 (172.16.1.2) cùng peer với Client1 (10.10.0.1), Client2 (10.10.0.2), Client3 (10.10.0.3)
Đáp án: C
Mỗi client peer với cả hai RR để dự phòng, và các RR luôn peer với nhau. Client không peer trực tiếp với nhau, BGP không tự phát hiện peer, và RR2 không chờ ở OpenConfirm.
Câu 17BGPChọn nhiều
Đề JN0-664, câu 69
Referring to the exhibit, which two statements are correct about BGP routes on R3 that are learned from the ISP-A neighbor? (Choose two.)
R1 đến R4 full mesh IBGP trong AS 65512. R3 và R4 peer EBGP với ISP-A (AS 65511)AS 65512R1R3R2R4ISP-AAS 65511EBGPEBGP
R1 đến R4 full mesh IBGP trong AS 65512. R3 và R4 peer EBGP với ISP-A (AS 65511)
Đáp án: A, C
Qua EBGP, ISP-A đặt next hop là địa chỉ của chính nó và không gửi local preference (thuộc tính chỉ dùng trong một AS).
Ghi chú về đáp án: đề gốc chấm C, D. RoutingBit chọn A, C.
Câu 18BGPChọn một
Đề JN0-664, câu 71
Referring to the exhibit, you are receiving the 192.168.0.0/16 route on both R3 and R4 from your EBGP neighbor. You must ensure that R1 and R2 receive both BGP routes from the route reflector. In this scenario, which BGP feature should you configure to accomplish this behavior?
Trong AS 65512 (khung trái) có RR, R1, R2, R3, R4. R3 và R4 cùng nhận 192.168.0.0/16 từ AS 65511RRR1R3R2R4EBGP peerAS 65511
Trong AS 65512 (khung trái) có RR, R1, R2, R3, R4. R3 và R4 cùng nhận 192.168.0.0/16 từ AS 65511
Đáp án: A
RR mặc định chỉ gửi đường tốt nhất. BGP add-path cho phép gửi nhiều đường cho cùng một prefix tới client.
Câu 19BGPChọn một
Đề JN0-664, câu 84
Referring to the exhibit, what do the brackets [ ] in the AS path identify?
user@router> show route advertising-protocol bgp 10.0.0.43 extensive 10.0.0.188
inet.0: 23 destinations, 41 routes (23 active, 0 holddown, 0 hidden)
* 10.0.0.188/32 (2 entries, 1 announced)
BGP group underlay type External
AS path: [65189] 65170 65188 I
Đáp án: D
Trong output của Junos, số trong ngoặc vuông là AS local sẽ được thêm vào khi gửi đi. AS set hiển thị trong ngoặc nhọn {}, confederation trong ngoặc tròn ().
Ghi chú về đáp án: đề gốc chấm C. RoutingBit chọn D.
Câu 20BGPChọn nhiều
Đề JN0-664, câu 89
Referring to the exhibit, the 10.0.0.0/24 EBGP route is received on R5; however, the route is being hidden. What are two solutions that will solve this problem? (Choose two.)
AS 64513 (R1 có 10.0.0.0/24, R2, R3 chạy IBGP). R2 (172.16.1.1) peer EBGP với R4 (172.16.1.2) của AS 64514. R4, R5, R6, R7 chạy IBGPAS 64513AS 64514R1R2R3R4R5R6R7EBGP
AS 64513 (R1 có 10.0.0.0/24, R2, R3 chạy IBGP). R2 (172.16.1.1) peer EBGP với R4 (172.16.1.2) của AS 64514. R4, R5, R6, R7 chạy IBGP
Đáp án: B, D
Route tới R5 với next hop 172.16.1.1, R5 không có đường tới mạng 172.16.1.0 nên route bị hidden. Sửa bằng next-hop self trên R4 khi gửi vào IBGP, hoặc đưa mạng liên kết EBGP vào IGP (thường bằng passive interface).