Gồm các câu của đề JN0-351 cũ (đã bỏ câu trùng, chép lại output, vẽ lại sơ đồ, 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.
Trên Junos hold time mặc định 90 giây và keepalive bằng một phần ba, tức 30 giây. Xem bằng show bgp neighbor, dòng "Keepalive Interval: 30". Cisco và Huawei dùng 60/180 nên dễ nhầm.
Câu 2BGPChọn nhiều
Đề JN0-351, câu 7
You are a network operator troubleshooting BGP connectivity. Which two statements are correct about the output shown in the exhibit? (Choose two.)
user@R1> show bgp neighbor
Peer: 10.32.1.2+63645 AS 65401 Local: 10.32.1.1+179 AS 65400
Description: EBGP peering to 10.32.1.2
Group: IPCLOS_eBGP Routing-Instance: master
Forwarding routing-instance: master
Type: External State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: None
Export: [ IPCLOS_BGP_EXP ] Import: [ IPCLOS_BGP_IMP ]
Options: <Preference PeerAS Multipath LocalAS Refresh>
Options: <VpnApplyExport MtuDiscovery MultipathAs BfdEnabled>
Holdtime: 90 Preference: 170 Local AS: 65400 Local System AS: 0
Number of flaps: 0
Peer ID: 10.52.100.2 Local ID: 10.52.100.1 Active Holdtime: 90
Keepalive Interval: 30 Group index: 0 Peer index: 0
BFD: enabled, up
Local Interface: ge-0/0/1.0
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast
NLRI for this session: inet-unicast
Peer supports 4 byte AS extension (peer-as 65401)
Table inet.0 Bit: 20000
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 6
Received prefixes: 9
Accepted prefixes: 9
Suppressed due to damping: 0
Advertised prefixes: 22
Đáp án: C, D
Local AS là 65400. NLRI là inet-unicast, tức route IPv4, và có prefix nhận, gửi. 63645 chỉ là cổng TCP nguồn của peer (dạng địa chỉ+cổng), peer thuộc AS 65401. State Established nên session đã lên.
Câu 3BGPChọn nhiều
Đề JN0-351, câu 9
You are a network operator who wants to add a second ISP connection and remove the default route to the existing ISP. You decide to deploy the BGP protocol in the network. What two statements are correct in this scenario? (Choose two.)
Đáp án: B, D
Route học từ EBGP được gửi cho các peer IBGP, route học từ IBGP được gửi ra EBGP. IBGP không gửi lại route học từ IBGP (split horizon) và mặc định không đổi next hop, cần policy next-hop self.
Câu 4BGPChọn nhiều
Đề JN0-351, câu 10
You are troubleshooting a BGP routing issue between your network and a customer router and are reviewing the BGP routing policies. Which two statements are correct in this scenario? (Choose two.)
Đáp án: C, D
Luồng xử lý: route nhận về nằm ở Adj-RIB-In, đi qua import policy rồi mới vào RIB-Local (bảng định tuyến). Khi quảng bá, route active trong RIB-Local đi qua export policy rồi vào Adj-RIB-Out.
Câu 5BGPChọn một
Đề JN0-351, câu 14
Your ISP is announcing a default route to both R1 and R2. You want your network routers to forward all Internet traffic through the R1 device. Which BGP attribute would you use?
ISP gửi default route 0.0.0.0/0 cho cả R1 và R2. R1 đến R5 chạy IBGP trong AS 65535
Đáp án: C
Chọn đường ra khỏi AS dùng Local Preference: đặt Local Pref cao hơn cho default route nhận từ ISP qua R1, mọi router IBGP sẽ chọn R1. MED dùng để gợi ý cho AS bên cạnh đường đi vào, không phải đường ra.
Câu 6BGPChọn nhiều
Đề JN0-351, câu 16
Which two BGP attributes must be supported by all BGP implementations and must be included in every update? (Choose two.)
Đáp án: A, C
Đây là thuộc tính well-known mandatory: AS path, next hop (và origin). MED là optional non-transitive, community là optional transitive.
Câu 7BGPChọn một
Đề JN0-351, câu 24
You are receiving the BGP route shown in the exhibit from four different upstream ISPs. Referring to the exhibit, which ISP will be selected as the active path?
Route Next-hop AS-Path Origin Local Preference
172.27.0.0/24 ISP 1 65010 65520 65512 I 100
172.27.0.0/24 ISP 2 65112 E 100
172.27.0.0/24 ISP 3 64599 65532 65520 65512 ? 150
172.27.0.0/24 ISP 4 65000 65512 E 150
Đáp án: C
Local Pref so trước: ISP 3 và ISP 4 cùng 150, cao hơn hai đường còn lại. Tiếp theo so độ dài AS path: ISP 4 dài 2, ISP 3 dài 4, nên ISP 4 thắng. Origin chỉ so khi AS path bằng nhau.
Câu 8BGPChọn nhiều
Đề JN0-351, câu 33
Which two statements about BGP facilitate the prevention of routing loops between two autonomous systems? (Choose two.)
Đáp án: C, D
Khi gửi ra EBGP, router thêm AS của mình vào đầu (prepend) AS_PATH. Router nhận thấy AS của chính mình trong AS_PATH thì bỏ route. Hai cơ chế này chống loop giữa các AS.
Câu 9BGPChọn một
Đề JN0-351, câu 36
You are troubleshooting an issue where traffic to 192.168.10.0/24 is being sent to R1 instead of your desired path through R2. Referring to the exhibit, what is the reason for the problem?
R1 - 10.100.24.2
R2 - 10.100.25.2
user@router# run show route protocol bgp 192.168.10.0/24
inet.0: 18 destinations, 20 routes (18 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
192.168.10.0/24 *[BGP/170] 00:00:30, localpref 500
AS path: 64533 I, validation-state: unverified
> to 10.100.24.2 via ge-0/0/0.0
[BGP/170] 00:00:00, localpref 100
AS path: 64533 64533 64533 64533 64544 ?, validation-state: unverified
> to 10.100.25.2 via ge-0/0/1.0
Đáp án: C
Route qua R1 có localpref 500, route qua R2 chỉ 100. Local Pref được so trước AS path và origin, nên R1 thắng ngay ở bước này.
Câu 10BGPChọn nhiều
Đề JN0-351, câu 47
You want to verify prefix information being sent from 10.36.1.4. Which two statements are correct about the output shown in the exhibit? (Choose two.)
user@R1> show route receive-protocol bgp 10.36.1.4
inet.0: 33 destinations, 57 routes (33 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
* 10.30.100.8/32 10.36.1.4 65401 65520 I
* 10.30.100.9/32 10.36.1.4 65401 65521 I
* 10.30.189.0/30 10.36.1.4 65401 65521 I
10.32.1.0/30 10.36.1.4 65401 I
* 10.32.2.0/30 10.36.1.4 65401 I
* 10.32.12.0/30 10.36.1.4 65401 I
* 10.52.100.2/32 10.36.1.4 65401 I
Đáp án: A, B
receive-protocol bgp hiện route nhận từ peer trước khi qua import policy. AS path có ít nhất một AS (65401) nên route đã qua AS khác, và peer là EBGP (cột Lclpref trống, AS path bắt đầu bằng AS của peer).
Câu 11BGPChọn nhiều
Đề JN0-351, câu 55
You want to enable redundancy for the EBGP peering between the two routers shown in the exhibit. Which three actions will you perform in this scenario? (Choose three.)
R1 (AS 65500) và R2 (AS 65510) nối nhau bằng hai link ge-0/0/5.0 và ge-0/0/6.0R1AS 65500, lo0 172.22.1.1R2AS 65510, lo0 172.22.1.2ge-0/0/5.0ge-0/0/6.0
R1 (AS 65500) và R2 (AS 65510) nối nhau bằng hai link ge-0/0/5.0 và ge-0/0/6.0
Đáp án: B, D, E
Để một phiên EBGP sống qua cả hai link, peer bằng loopback, bật multihop (gói BGP EBGP mặc định TTL 1) và có route tới loopback bên kia qua cả hai link. MD5 là bảo mật, cluster ID dành cho route reflector.
Câu 12BGPChọn nhiều
Đề JN0-351, câu 63
After receiving a BGP route, which two conditions are verified by the receiving router to ensure that the received route is valid? (Choose two.)
Đáp án: B, C
Route chỉ được dùng khi next hop phân giải được qua bảng định tuyến và AS_PATH không chứa AS của chính router. Route nội bộ IBGP có AS path rỗng vẫn hợp lệ.
Câu 13BGPChọn một
Đề JN0-351, câu 75
Your network has two ISPs available. You want to ensure that all outbound traffic is routed out ISP-1. If the connection to ISP-1 fails, all outbound traffic is routed to the backup ISP, ISP-2. In this scenario, how should you configure BGP on your network?
Đáp án: B
Local Pref cao hơn được ưu tiên khi chọn đường ra. Đặt cho route từ ISP-1 cao hơn, ISP-1 mất thì route từ ISP-2 tự thành tốt nhất.
Câu 14BGPChọn nhiều
Đề JN0-351, câu 80
Which two statements about BGP facilitate the prevention of routing loops within an autonomous system? (Choose two.)
Đáp án: B, D
Trong AS không có AS_PATH mới để chống loop, nên route học từ IBGP không gửi lại cho IBGP, và vì thế các peer IBGP phải full mesh về mặt phiên (logic), không cần nối vật lý.
Câu 15BGPChọn một
Đề JN0-351, câu 83
You are receiving the BGP route shown in the exhibit from four different upstream ISPs. Referring to the exhibit, which ISP will be selected as the active path?
Route Next-hop AS-Path Origin Local Preference
172.27.0.0/24 ISP 1 65010 65520 65512 I 100
172.27.0.0/24 ISP 2 65112 E 100
172.27.0.0/24 ISP 3 64599 65532 65520 65512 ? 200
172.27.0.0/24 ISP 4 65000 65512 E 150
Đáp án: A
ISP 3 có Local Pref 200, cao nhất, nên thắng ngay dù AS path dài nhất và origin là incomplete. So với câu 24: chỉ đổi Local Pref là kết quả đổi theo.
Câu 16BGPChọn một
Đề JN0-351, câu 91
You are asked to explore adding BGP route reflectors to allow for increased scale in your core network. Which statement is correct in this scenario?
Đáp án: A
Trên Junos, khai cluster trong group là thứ biến router thành RR, và cluster ID được ghi vào CLUSTER_LIST để chống loop giữa các RR. RR không cần mạng vật lý full mesh và không bắt buộc khi IBGP nhỏ.
Câu 17BGPChọn một
Đề JN0-351, câu 97
R1 has a BGP session with a router that has a peer autonomous system number of 64501. It is exchanging routes, and is advertising those routes to IBGP peers. The downstream IBGP peers, however, cannot pass traffic to the advertised networks. Referring to the exhibit, which configuration change must occur to solve this problem?
[edit]
user@router# show policy-options
policy-statement next-hop-self {
term alter-next-hop {
then {
next-hop self;
}
}
}
[edit]
user@router# show protocols bgp
group int-64503 {
type internal;
local-address 192.168.100.1;
neighbor 192.168.100.2;
}
group ext-64501 {
type external;
peer-as 64501;
neighbor 172.30.1.2;
}
Đáp án: A
Route EBGP gửi vào IBGP giữ next hop 172.30.1.2, peer IBGP không có đường tới mạng đó. Áp policy next-hop-self làm export cho group IBGP để R1 thay next hop thành địa chỉ của mình.