








































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































































Question 1. Which TCP port does BGP use for establishing peer sessions? A) 22 B) 80 C) 179 D) 443 Answer: C Explanation: BGP runs over TCP and uses port 179 for both inbound and outbound sessions. Question 2. In the BGP finite state machine, which state follows the OpenSent state after a successful OPEN exchange? A) Idle B) Connect C) OpenConfirm D) Established Answer: C Explanation: After sending an OPEN message (OpenSent), the router waits for a KEEPALIVE; once received it moves to OpenConfirm, then to Established after sending its own KEEPALIVE. Question 3. What is the primary purpose of the Local Preference attribute in BGP? A) Influence inbound traffic from external ASes B) Influence outbound traffic within the local AS C) Indicate the origin of a route (IGP/EGP) D) Prevent routing loops in iBGP Answer: B Explanation: LOCAL_PREF is propagated only within an AS and is used to select the preferred exit point for outbound traffic. Question 4. Which BGP attribute is considered the most deterministic when two routes have identical weight, local preference, and AS-PATH length?
B) Origin C) Next-Hop IGP metric D) Router ID Answer: D Explanation: If all higher-order criteria tie, BGP selects the route with the lowest router ID. Question 5. In Alcatel-Lucent SR OS, which command sets the router’s BGP identifier? A) router-id B) bgp router-id C) set router-id D) bgp set-id Answer: B Explanation: The SR OS syntax for configuring the BGP router ID is bgp router-id. Question 6. Which statement correctly describes the split-horizon rule for iBGP? A) An iBGP router must not advertise a route learned from one iBGP peer to another iBGP peer. B) An iBGP router must always advertise routes to all eBGP peers. C) An iBGP router must prepend its own AS number before advertising. D) An iBGP router must use the same next-hop as the originating eBGP peer. Answer: A Explanation: The split-horizon rule prevents iBGP peers from re-advertising routes learned from other iBGP peers, avoiding loops. Question 7. Which BGP message type is used solely to keep the session alive when no routing updates are being exchanged? A) OPEN
Answer: D Explanation: The command show bgp neighbor state reports the current FSM state for that neighbor. Question 11. Which attribute is local to a router and not advertised to any BGP peer? A) Weight B) LOCAL_PREF C) MED D) Origin Answer: A Explanation: Weight is a Cisco-specific attribute that exists only on the local router and is never sent to peers. Question 12. When configuring an eBGP session between two routers that are not directly connected, which SR OS feature must be enabled? A) Route-reflector client B) Multi-hop C) Confederation member D) Loopback interface Answer: B Explanation: The multi-hop option allows BGP peers to establish sessions over multiple hops when they are not directly connected. Question 13. Which BGP community value is used to prevent a route from being advertised to any eBGP peers? A) 0: B) 65535:65281 (no-export) C) 65535:65282 (no-advertise) D) 65535:65283 (no-peer) Answer: C
Explanation: The well-known community no-advertise (65535:65282) tells a router not to advertise the route to any BGP peer. Question 14. In a large AS, why is a route reflector (RR) preferred over a full iBGP mesh? A) It reduces the number of required BGP sessions. B) It eliminates the need for a router ID. C) It removes the need for an AS number. D) It makes MED comparisons unnecessary. Answer: A Explanation: An RR allows many iBGP peers to connect to a single point, dramatically reducing the O(N²) sessions required in a full mesh. Question 15. Which attribute is added by a route reflector to prevent routing loops? A) Originator-ID B) AS-PATH C) MED D) LOCAL_PREF Answer: A Explanation: The Originator-ID attribute records the router ID of the route’s original iBGP originator, enabling loop detection in RR environments. Question 16. What is the purpose of the Cluster-List attribute in route-reflector operation? A) To list all AS numbers traversed. B) To identify the RR cluster that has processed the route. C) To set the MED value for the route. D) To indicate the origin type of the route. Answer: B Explanation: Cluster-List contains the cluster IDs of all route reflectors that have reflected the route, preventing loops.
Question 20. When a BGP router receives an UPDATE with an AS-PATH loop, what is the correct action? A) Accept the route but set LOCAL_PREF to 0. B) Reject the route and send a NOTIFICATION. C) Strip the looped AS number and accept. D) Advertise the route to iBGP peers only. Answer: B Explanation: BGP performs loop detection using AS-PATH; if a router finds its own AS number in the path, it discards the route and sends a NOTIFICATION to the peer. Question 21. Which of the following statements about BGP Confederations is true? A) Confederations eliminate the need for a router ID. B) Routes inside a confederation are advertised with the same AS number externally. C) The CONFED-SET attribute is mandatory for all UPDATE messages. D) Confederations require each member AS to have a unique 32-bit ASN. Answer: B Explanation: Inside a confederation, member ASes use private AS numbers, but when routes exit the confederation they appear with the parent (public) AS number. Question 22. In SR OS, which command clears a BGP session softly for inbound routes only? A) clear bgp neighbor soft in B) reset bgp neighbor inbound C) clear bgp session inbound D) bgp reset soft inbound Answer: A Explanation: The clear bgp neighbor soft in command triggers a soft reset for inbound routes, preserving the session.
Question 23. Which BGP attribute is not transmitted across eBGP sessions by default? A) LOCAL_PREF B) AS_PATH C) ORIGIN D) MED Answer: A Explanation: LOCAL_PREF is a well-known discretionary attribute that is only advertised within an AS (iBGP). eBGP peers do not receive it unless explicitly sent. Question 24. What is the effect of configuring MED on a route advertised to a single eBGP neighbor? A) It influences outbound traffic from the local AS. B) It influences inbound traffic from the neighbor’s AS. C) It forces the neighbor to prepend its AS number. D) It sets the router’s weight for the route. Answer: B Explanation: MED (Multi-Exit Discriminator) is a hint to the receiving AS about the preferred entry point; it is only considered when multiple paths exist from the same neighboring AS. Question 25. Which command on a PE router creates a Route Distinguisher (RD) of type 0:65001? A) bgp rd 0:65001 B) rd 0:65001 C) router-id 0:65001 D) bgp route-distinguisher 0:65001 Answer: D Explanation: In SR OS, the syntax to configure an RD is bgp route-distinguisher :.
A) Store routes that the router will advertise to peers. B) Store the best routes selected for the forwarding table. C) Store routes received from BGP peers before policy processing. D) Store routes that have been filtered out by import policies. Answer: C Explanation: Adj-RIB-In holds all routes received from a neighbor before they are processed by import policies and before best-path selection. Question 30. Which BGP attribute is mandatory but discretionary? A) NEXT_HOP B) LOCAL_PREF C) ORIGIN D) AS_PATH Answer: B Explanation: LOCAL_PREF must be present in iBGP updates (mandatory for iBGP), but it is not required in eBGP updates, making it discretionary. Question 31. In SR OS, which command assigns a loopback interface as the source address for all BGP sessions? A) bgp source-loopback B) bgp source-address C) bgp local-address D) bgp router-id Answer: B Explanation: bgp source-address configures the IP address (often a loopback) that BGP uses as its source for TCP connections. Question 32. When using AS-PATH prepending, what is the intended effect on inbound traffic? A) Decrease the likelihood of the path being selected by external ASes. B) Increase the local preference of the path.
C) Force the path to be advertised with a higher MED. D) Remove the route from the Adj-RIB-Out. Answer: A Explanation: Prepending adds extra AS numbers to the AS-PATH, making the path appear longer and less attractive to external ASes, thus influencing inbound traffic. Question 33. Which BGP attribute indicates that the route was originated by the router itself (i.e., via the network command)? A) Origin = IGP B) Origin = EGP C) Origin = Incomplete D) Origin = Local Answer: A Explanation: Routes originated by the router are marked with Origin code IGP (0), indicating they are internal. Question 34. Which of the following is a well-known discretionary BGP attribute? A) Atomic Aggregate B) Community C) LOCAL_PREF D) ORIGIN Answer: C Explanation: LOCAL_PREF is well-known because all BGP implementations understand it, but it is discretionary because it may be omitted in eBGP updates. Question 35. In a BGP confederation, which attribute is stripped when a route exits the confederation? A) AS_PATH B) CONFED-SET C) ORIGIN
Answer: D Explanation: show bgp local-rib lists the routes that have been selected as best and installed in the forwarding table. Question 39. In the context of MP-BGP, what does SAFI 70 represent? A) L2VPN EVPN B) IPv6 multicast C) MPLS-VPN (VPN-IPv6) D) IPv4 unicast Answer: A Explanation: SAFI 70 is defined for L2VPN EVPN routes. Question 40. Which BGP attribute is used by MPLS L3VPN to distinguish between customers who may have overlapping address spaces? A) Route Distinguisher (RD) B) Route Target (RT) C) Community D) MED Answer: A Explanation: The RD makes each VPN-IPv4 prefix globally unique, allowing overlapping customer prefixes. Question 41. What does the no-export community (65535:65281) instruct a BGP router to do? A) Never advertise the route to any iBGP peer. B) Never advertise the route to any eBGP peer. C) Never advertise the route to any peer, internal or external. D) Never advertise the route to peers in the same AS. Answer: B Explanation: no-export prevents the route from being sent to eBGP peers while still allowing iBGP propagation.
Question 42. In SR OS, which command creates a BGP policy statement named PS-OUT that sets LOCAL_PREF to 200 for prefixes matching PL-OUT? A) policy-statement PS-OUT from prefix PL-OUT then set local-preference 200 B) policy statement PS-OUT match prefix PL-OUT action set local-preference 200 C) policy-statement PS-OUT then set local-preference 200 from PL-OUT D) policy statement PS-OUT from PL-OUT then local-preference 200 Answer: A Explanation: SR OS syntax: policy-statement from prefix then set local-preference. Question 43. Which of the following best describes the BGP weight attribute? A) It is exchanged between all BGP peers. B) It is only considered after the router ID comparison. C) It is a Cisco-specific attribute used before any other selection criteria. D) It is mandatory for all BGP updates. Answer: C Explanation: Weight is Cisco proprietary, local to the router, and evaluated first in the best-path algorithm. Question 44. What is the impact of configuring bgp next-hop-self on an iBGP session? A) The router will advertise its own IP as the next-hop for all routes sent to the iBGP peer. B) The router will ignore the next-hop attribute received from eBGP peers. C) The router will prepend its AS number to the AS-PATH. D) The router will set the MED to zero for all advertised routes. Answer: A Explanation: next-hop-self forces the router to use its own address as the next-hop when advertising routes to iBGP peers, simplifying reachability.
Question 48. Which SR OS command displays the BGP neighbor’s advertised routes (Adj-RIB-Out)? A) show bgp neighbor advertised-routes B) show bgp rib out C) show bgp neighbor out D) show bgp adj-rib-out Answer: A Explanation: The command show bgp neighbor advertised-routes lists the routes the router is sending to that neighbor. Question 49. When configuring MP-BGP for IPv6 unicast on a router, which command enables the address family? A) bgp address-family ipv6 unicast B) bgp ipv6 unicast C) bgp family ipv6 D) bgp afi ipv6 safi unicast Answer: A Explanation: SR OS uses bgp address-family ipv6 unicast to activate the IPv unicast AFI/SAFI. Question 50. What is the effect of applying a reject-all default policy on a BGP neighbor group? A) All routes received from the neighbor are accepted. B) Only routes matching explicit permit statements are accepted. C) Routes are accepted but not advertised to other peers. D) The neighbor session is automatically terminated. Answer: B Explanation: A reject-all default means any route not explicitly permitted by a subsequent rule is discarded. Question 51. Which attribute is automatically set to the router’s own AS number when a route is originated with the network command?
Answer: D Explanation: The Aggregator attribute records the AS number and router ID of the router that originated the route. Question 52. In BGP, what does the origin code incomplete indicate? A) The route was learned via IGP. B) The route was learned via EGP. C) The route was learned via an unknown or redistributed source. D) The route was originated by the local router. Answer: C Explanation: incomplete (code 2) is used for routes learned by redistribution or other non-IGP/EGP means. Question 53. Which of the following is a mandatory BGP attribute for all UPDATE messages? A) MED B) LOCAL_PREF C) NEXT_HOP D) COMMUNITY Answer: C Explanation: NEXT_HOP is a well-known mandatory attribute; it must be present in every UPDATE. Question 54. Which command in SR OS soft-resets only the outbound routes for a specific neighbor without tearing down the session? A) clear bgp neighbor soft out B) reset bgp neighbor outbound
D) bgp neighbor no-authentication Answer: C Explanation: Removing the authentication configuration (delete bgp neighbor authentication) disables MD5. Question 58. Which of the following best describes the next-hop-self behavior in eBGP? A) It is mandatory for all eBGP sessions. B) It changes the next-hop to the router’s own address on eBGP updates. C) It only applies to iBGP sessions. D) It removes the NEXT_HOP attribute from UPDATE messages. Answer: B Explanation: next-hop-self can be applied to eBGP sessions to make the router announce itself as the next-hop, useful when the peer cannot reach the original next-hop. Question 59. Which attribute is striped when a route exits a BGP confederation? A) AS_PATH B) CONFED-SET C) ORIGIN D) NEXT_HOP Answer: B Explanation: CONFED-SET is internal to the confederation and removed before the route is advertised externally. Question 60. When a BGP router receives two routes with identical attributes up to MED, how does it decide which one to install? A) Chooses the route with the lower router ID. B) Chooses the route received from the eBGP neighbor. C) Chooses the route with the higher LOCAL_PREF. D) Chooses the route with the shorter AS-PATH.
Answer: A Explanation: After all other attributes tie, BGP selects the route with the lowest router ID. Question 61. Which command in SR OS enables BGP graceful restart for all neighbors? A) bgp graceful-restart enable B) bgp restart graceful C) bgp session graceful-restart D) bgp graceful-restart all Answer: A Explanation: The command bgp graceful-restart enable activates the feature globally. Question 62. Which BGP attribute is used by L2VPN EVPN to carry MAC address information? A) EVPN NLRI (SAFI 70) B) Community C) MED D) AS_PATH Answer: A Explanation: EVPN uses the EVPN NLRI (AFI 1, SAFI 70) to encode MAC/IP advertisement routes. Question 63. What is the effect of configuring a maximum-prefix limit of 2000 on a BGP neighbor? A) The router will reject any UPDATE that would cause the RIB to exceed 2000 routes. B) The router will shut down the neighbor session after reaching 2000 routes. C) The router will send a warning but continue accepting routes. D) The router will reset the session each time the limit is exceeded. Answer: C