4A0-102 · Question #37
Which of the following is a valid BGP configuration for router R2?
The correct answer is A. group "Conf-eBGP" peer-as 65541 neighbor 10.16.10.1 exit group "Member-AS" neighbor 10.16.10.6 peer-as 65542 exit exit no shutdown. Option A correctly assigns each neighbor to its proper remote AS - 10.16.10.1 to AS 65541 (via the "Conf-eBGP" group) and 10.16.10.6 to AS 65542 (via the "Member-AS" group) - matching the network topology where R2 resides in AS 65540 and peers with two distinct external ASes…
Question
Options
- Agroup "Conf-eBGP" peer-as 65541 neighbor 10.16.10.1 exit group "Member-AS" neighbor 10.16.10.6 peer-as 65542 exit exit no shutdown
- Bgroup "Conf-eBGP" peer-as 65541 neighbor 10.16.10.1 exit group "Member-AS" neighbor 10.16.10.6 peer-as 65540 exit exit no shutdown
- Cgroup "Conf-eBGP" peer-as 65540 neighbor 10.16.10.1 exit group "Member-AS" neighbor 10.16.10.6 peer-as 65542 exit exit no shutdown
- Dgroup "Conf-BGP" peer-as 65540 neighbor 10.16.10.1 exit neighbor 10.16.10.6 exit exit no shutdown
How the community answered
(31 responses)- A74% (23)
- B10% (3)
- C3% (1)
- D13% (4)
Explanation
Option A correctly assigns each neighbor to its proper remote AS - 10.16.10.1 to AS 65541 (via the "Conf-eBGP" group) and 10.16.10.6 to AS 65542 (via the "Member-AS" group) - matching the network topology where R2 resides in AS 65540 and peers with two distinct external ASes.
Why the distractors fail:
- B is wrong because it assigns
10.16.10.6apeer-asof 65540, which is R2's own AS - you cannot peer eBGP with yourself, making this an impossible session. - C is wrong because it swaps the peer-as on the first group, assigning
10.16.10.1to AS 65540 (again R2's own AS) instead of the correct 65541. - D is wrong structurally: it uses a single group for both neighbors but only assigns one
peer-asat the group level, leaving10.16.10.6without a valid peer-as definition - invalid for eBGP sessions that require distinct remote AS values per peer.
Memory tip: In eBGP configs, peer-as always points outward - it's the neighbor's AS, never your own. If you spot your own AS number assigned as a peer-as in a group, that option is immediately eliminated.
Topics
Community Discussion
No community discussion yet for this question.