Gồm các câu của đề JN0-649 cũ (giữ nguyên câu hỏi, 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.
You are troubleshooting a BGP connection. Referring to the exhibit, which two statements are correct? (Choose two.)
user@router> show log messages | match notification
Dec 22 19:22:29 router rpd[7394]: bgp_process_open:4185: NOTIFICATION sent to
192.168.1.4 (Internal AS 65000): code 2 (Open Message Error) subcode 2 (bad peer AS
number), Reason: peer 192.168.1.4 (Internal AS 65000) claims 65100, 65000 configured
Dec 22 19:22:33 router rpd[7394]: bgp_pp_recv:4798: NOTIFICATION sent to 192.168.1.4+
56774 (proto): code 2 (Open Message Error) subcode 2 (bad peer AS number), Reason: no
group for 192.168.1.4+56774 (proto) from AS 65100 found (peer as mismatch) in master
(ge-0/0/1.0), dropping him
Dec 22 19:23:29 router kernel: tcp_auth_ok: Packet from 192.168.1.5:64047 missing MD5
digest
Dec 22 19:23:30 router kernel: tcp_auth_ok: Packet from 192.168.1.6:56201 missing MD5
digest
---(more)---
Đáp án: B, D
192.168.1.4 khai AS 65100 trong khi router chờ AS 65000 nên bị từ chối với lỗi bad peer AS. Gói TCP từ 192.168.1.5 không có chữ ký MD5 mà router đang yêu cầu, tức cấu hình xác thực hai bên không khớp. Interface vẫn nhận gói nên không phải bị tắt.
Câu 2BGPChọn nhiều
Đề JN0-649, câu 7
Your enterprise network is running BGP VPNs to support multitenancy. Some of the devices with which you peer BGP do not support the VPN NLRI. You must ensure that you do not send BGP VPN routes to the remote peer. Which two configuration steps will satisfy this requirement? (Choose two.)
Đáp án: B, D
Mặc định export policy của BGP không áp lên route VPN (route VPN đi theo vrf-export). Bật vpn-apply-export để export policy của group áp cả cho route VPN, rồi viết export policy từ chối các route đó. Lọc ở đầu kia không ngăn được việc gửi đi.
Câu 3BGPChọn nhiều
Đề JN0-649, câu 12
Your enterprise network uses routing instances to support multitenancy. Your Junos devices use BGP to peer to multiple BGP devices. You must ensure that load balancing is achieved within the routing instance. Which two statements would accomplish this task? (Choose two.)
Đáp án: C, D
Trong VRF, routing-options multipath của instance cho phép cài nhiều đường (kể cả từ các PE khác nhau). Policy load-balance export vào forwarding-table để PFE thật sự dùng nhiều next hop.
Ghi chú về đáp án: tài liệu gốc chỉ tô C. RoutingBit thêm D theo ví dụ cấu hình multipath trong routing instance của Juniper.
Câu 4BGPChọn nhiều
Đề JN0-649, câu 14
A BGP network has been designed to provide resiliency and redundancy to a multihomed customer network. Which two statements are correct in this scenario? (Choose two.)
R1 (AS 64511, lo0 192.168.0.1) nối R2 (AS 64522, lo0 172.16.255.2) bằng hai link 10.10.1.0/24 và 10.10.2.0/24
user@R1# show protocols bgp group ext-peers
type external;
local-address 192.168.0.1;
peer-as 64522;
neighbor 172.16.255.2 {
multihop {
ttl 1;
}
}
user@R1# show routing-options
autonomous-system 65411;
static {
route 172.16.255.2/32 next-hop [ 10.10.1.2 10.10.2.2 ];
}
user@R1> show route 172.16.255.2/32 terse
inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
A V Destination P Prf Metric 1 Metric 2 Next hop AS path
* ? 172.16.255.2/32 S 5 >10.10.1.2
10.10.2.2
user@R1> show route forwarding-table matching 172.16.255.2/32
Routing table: default.inet
Internet:
Destination Type RtRef Next hop Type Index NhRef Netif
172.16.255.2/32 user 1 10.10.1.2 ucst 590 5 ge-0/0/0.0
Đáp án: B, C
Bảng định tuyến có hai next hop nhưng forwarding table chỉ cài một, phải có policy load-balance export vào forwarding-table mới dùng được cả hai. multihop cho phép peer bằng loopback, còn ttl 1 giới hạn gói BGP chỉ đi một chặng (peer nối trực tiếp).
Câu 5BGPChọn một
Đề JN0-649, câu 18
You must ensure that all routes in the 10.0.0.0/8 address range are not advertised outside of your AS. Which well-known BGP community should be assigned to these addresses to accomplish this task?
Đáp án: A
no-export cho phép route đi trong AS nhưng không quảng bá ra peer EBGP. no-advertise chặn gửi cho mọi peer, kể cả IBGP.
Câu 6BGPChọn một
Đề JN0-649, câu 21
BGP multipath or multihop are not configured in your network. In this scenario, what is the correct sequence for BGP active route selection?
Đáp án: B
Thứ tự trên Junos: local preference, AS path, origin, MED, EBGP hơn IBGP, metric IGP, rồi router ID thấp hơn, cuối cùng là địa chỉ peer thấp hơn.
Câu 7BGPChọn một
Đề JN0-649, câu 31
Which BGP message type contains NLRI information?
Đáp án: C
Update mang NLRI kèm thuộc tính đường đi, và cả danh sách route rút lại.
Câu 8BGPChọn nhiều
Đề JN0-649, câu 35
What are three well-known mandatory BGP attributes? (Choose three.)
Đáp án: B, C, D
AS path, origin, next hop phải có trong mọi update mang route. MED và community là thuộc tính tùy chọn.
Câu 9BGPChọn một
Đề JN0-649, câu 56
There are two BGP routes to 10.200.200.0/24 received from two external peers. Route 1 comes from a neighbor with a router ID of 10.10.100.1 and a peer IP address of 10.10.30.1, and route 2 comes from a neighbor with a router ID of 10.10.200.1 and a peer IP address of 10.10.50.1. Both routes have the same MED value, origin value, AS path length, and local preference number. In this scenario, which statement is correct?
Đáp án: C
Khi các tiêu chí trước bằng nhau, Junos chọn router ID thấp hơn trước rồi mới tới địa chỉ peer. 10.10.100.1 thấp hơn 10.10.200.1 nên route 1 thắng.
Câu 10BGPChọn nhiều
Đề JN0-649, câu 59
You are asked to establish full connectivity between all devices in the BGP network. Referring to the exhibit, which two configuration changes will allow BGP route advertisements? (Choose two.)
R1 (AS 64512, 192.168.0.1) EBGP với R2 (AS 64511, 192.168.0.2) qua 10.0.0.0/24. R2 EBGP với R3 (AS 64512, 192.168.0.3) qua 10.1.0.0/24R1AS 64512R2AS 64511R3AS 6451210.0.0.0/24.1.210.1.0.0/24.1.2
R1 (AS 64512, 192.168.0.1) EBGP với R2 (AS 64511, 192.168.0.2) qua 10.0.0.0/24. R2 EBGP với R3 (AS 64512, 192.168.0.3) qua 10.1.0.0/24
Đáp án: B, D
R1 và R3 cùng AS 64512. R2 mặc định không gửi route cho peer khi AS của peer có trong AS path, nên cần advertise-peer-as trên R2. R1, R3 lại bỏ route có AS của mình, nên cần loops để chấp nhận.
Câu 11BGPChọn nhiều
Đề JN0-649, câu 60
Referring to the exhibit, which two statements are correct? (Choose two.)
user@router> show bgp neighbor 192.168.100.2
Peer: 192.168.100.2+179 AS 65000 Local: 192.168.100.1+58355 AS 65000
Group: overlay Routing-Instance: master
Type: Internal State: Established (route reflector client) Flags: <Sync>
Options: <LocalAddress Cluster AddressFamily Multipath Rib-group Refresh>
Address families configured: evpn
...
NLRI for restart configured on peer: evpn
NLRI advertised by peer: evpn
NLRI for this session: evpn
...
Table bgp.evpn.0 Bit: 20000
RIB State: BGP restart is complete
RIB State: VPN restart is complete
Send state: in sync
Active prefixes: 0
Received prefixes: 0
Accepted prefixes: 0
Suppressed due to damping: 0
Advertised prefixes: 15
Đáp án: C, D
Phiên chỉ thương lượng NLRI evpn, nên chỉ trao đổi route EVPN. Muốn mang route L3VPN phải thêm family inet-vpn.
Câu 12BGPChọn một
Đề JN0-649, câu 65
Referring to the exhibit, which statement is correct?
user@router> show route protocol bgp
inet.0: 562 destinations, 565 routes (558 active, 0 holddown, 5 hidden)
+ = Active Route, - = Last Active, * = Both
203.0.113.0/24 *[BGP/170] 1w3d 05:14:15, localpref 100, from 192.168.10.36
AS path: I, validation-state: unverified
> to 10.23.23.2 via ae8.0
to 10.1.23.2 via ae7.0
[BGP/170] 1w3d 05:14:15, localpref 100, from 192.168.10.36
AS path: I, validation-state: unverified
> to 10.23.23.2 via ae8.0
...
Đáp án: C
Route active có hai next hop (ae8.0 và ae7.0), dấu hiệu của multipath: BGP gộp các đường bằng nhau thành một route nhiều next hop.
Câu 13BGPChọn nhiều
Đề JN0-649, câu 69
Your network is multihomed to two ISPs. The BGP sessions are established; however, the ISP peers are not receiving any routes. Which two statements are correct about troubleshooting your configuration? (Choose two.)
Đáp án: B, C
BGP chỉ gửi route active, và route không phải BGP cần export policy mới được quảng bá. Phiên đã lên nên không liên quan multihop, import policy chỉ ảnh hưởng route nhận vào.