300-410 Infrastructure Services Practice Question
A network engineer is configuring a Cisco IOS XE router for MPLS L3VPN. The router is a PE device with a VRF named CUSTOMER. The engineer wants to redistribute routes from the VRF into MP-BGP so they can be advertised to a remote PE. The engineer has configured the VRF and assigned interfaces. Which command sequence correctly redistributes the connected routes from the VRF into BGP?
⚠ Common exam trap
Watch out — candidates often confuse the VPNv4 address family with the VRF address family; redistribution must occur in the VRF-specific address family, not in the VPNv4 address family.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
router bgp 65000 address-family ipv4 vrf CUSTOMER redistribute connected
To advertise VRF routes via MP-BGP, you must redistribute them within the VRF address family under the BGP routing process. The address-family ipv4 vrf CUSTOMER context allows you to redistribute connected, static, or IGP routes from that VRF into BGP. These routes are then converted into VPNv4 prefixes with the appropriate route distinguisher and route target. Redistributing in the global BGP instance or in the VPNv4 address family does not work because those contexts do not have access to the VRF routing table.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
router bgp 65000 address-family ipv4 vrf CUSTOMER redistribute connected
Why this is correct
To redistribute routes from a VRF into MP-BGP, you must enter the VRF address family under router bgp and use the redistribute command. This injects the connected routes from that VRF into BGP, where they are then advertised as VPNv4 prefixes to remote PEs. The address-family ipv4 vrf CUSTOMER command is the correct context for redistribution. Without this, the routes are not advertised.
- ✗
router bgp 65000 redistribute connected
Why it's wrong here
This command attempts to redistribute connected routes in the global BGP instance, not within the VRF. The global BGP instance does not have knowledge of VRF routes unless they are leaked, which is not the case here. Redistribution for a VRF must be done within that VRF's address family. Therefore, this command will not redistribute the VRF connected routes and will not advertise them to the remote PE.
- ✗
router bgp 65000 address-family ipv4 vrf CUSTOMER network 10.0.0.0 mask 255.255.255.0
Why it's wrong here
The network command can advertise specific prefixes, but it requires an exact match in the VRF routing table. If the goal is to redistribute all connected routes, using network for each prefix is inefficient and not what the engineer intended. Moreover, the network command does not automatically redistribute connected routes; it only advertises the specified network if it exists. While it can work for a single prefix, it is not the correct general solution for redistributing connected routes.
- ✗
router bgp 65000 address-family vpnv4 unicast redistribute connected
Why it's wrong here
The address-family vpnv4 unicast is used to exchange VPNv4 prefixes between PEs, but it does not support redistribution of IGP or connected routes directly. Redistribution must occur in the VRF address family (ipv4 vrf CUSTOMER) to inject customer routes. The VPNv4 address family only carries the resulting VPNv4 prefixes. Configuring redistribute connected under vpnv4 unicast will not work and may cause an error. Therefore, this sequence is incorrect.
Go deeper
Related to this question
Learn chapter
Advanced EIGRP Features (Stub, Load Balancing, Named Mode)
Key term
LDP Protocol
LDP, or Label Distribution Protocol, is a protocol that routers use to automatically exchange labels that enable MPLS (Multiprotocol Label Switching) to create fast, efficient paths for data packets across a network.
Key term
MPLS Layer 3 VPN
A technology that uses Multiprotocol Label Switching to create secure, scalable virtual private networks that connect multiple sites at the network layer, where the service provider manages routing between customer sites.
About these practice questions
This 300-410 question is part of Courseiva's 1,401-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 300-410 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 300-410 exam.