Which goal of peer-gateway in vPC is true?
The peer-gateway feature in vPC (Virtual PortChannel) technology is used to facilitate Layer 2 connectivity between access switches and the vPC pair. This feature is useful in scenarios where the vPC pair is acting as the default gateway for hosts on the access layer switches.
Among the four options given, option B is incorrect because the MAC address of the vPC peer is not configured as a gateway MAC address.
Option C is also incorrect because BPDUs are transmitted only by the primary switch. The secondary switch does not generate BPDUs.
Option D is also incorrect because peer-gateway does not act as a single router when peering dynamic routing protocols over a vPC.
Option A is the correct answer. When the peer-gateway feature is enabled, both switches in a vPC pair use the same bridge ID when sending BPDUs. This is important because, without peer-gateway, each switch would have a unique bridge ID, which could cause BPDUs to be dropped by the downstream switch. By using the same bridge ID, the downstream switch sees both switches in the vPC pair as a single logical entity, which avoids any confusion or issues in the network.
In summary, the correct goal of the peer-gateway feature in vPC is to use the same bridge ID when sending BPDUs from switches in a vPC pair.