Courseiva
Virtualization →hardMultiple Choice

350-401 Virtualization Practice Question

A network engineer is troubleshooting a Cisco Nexus 9000 switch configured with VXLAN EVPN. The engineer notices that the switch is not learning remote MAC addresses from the EVPN control plane. The underlay is OSPF, and BGP EVPN peering is established with the spine switches. Which command should the engineer use to verify that the switch is receiving EVPN Type-2 routes?

⚠ Common exam trap

Candidates often confuse data-plane verification commands like 'show nve peers' with control-plane verification commands like 'show bgp l2vpn evpn', or looking at the L2 route table instead of the BGP table.

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

✓

show bgp l2vpn evpn

To verify that the switch is receiving EVPN Type-2 routes, the engineer should use 'show bgp l2vpn evpn'. This command displays the BGP EVPN table, where Type-2 routes appear as '[2]:[MAC/IP]' entries. If these routes are missing, the switch will not learn remote MAC addresses via EVPN. Checking the BGP EVPN table is the first step in troubleshooting control-plane learning issues.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    show ip route vrf all

    Why it's wrong here

    'show ip route vrf all' displays the IP routing table for all VRFs. It does not show EVPN routes, which are BGP routes in the L2VPN EVPN address family. This command is irrelevant for troubleshooting EVPN MAC address learning. It might be used to verify underlay routing, but the issue is specifically about EVPN control-plane learning.

  • ✗

    show l2route evpn mac all

    Why it's wrong here

    'show l2route evpn mac all' displays the MAC addresses learned via EVPN in the Layer 2 routing table. However, if the switch is not receiving Type-2 routes, this table would be empty. To verify the reception of EVPN routes themselves, you need to look at the BGP EVPN table, not the L2 route table. This command shows the result of EVPN learning, not the BGP routes.

  • ✗

    show nve peers

    Why it's wrong here

    'show nve peers' displays the state of VXLAN tunnel peers (remote VTEPs). While it can indicate if tunnels are up, it does not show EVPN routes. The issue described is about not learning remote MAC addresses from EVPN, so checking NVE peers would not directly reveal whether Type-2 routes are being received. It is useful for verifying data-plane connectivity but not control-plane EVPN routes.

  • ✓

    show bgp l2vpn evpn

    Why this is correct

    The command 'show bgp l2vpn evpn' displays the BGP EVPN table, including Type-2 routes (MAC/IP advertisement routes). If the switch is not receiving Type-2 routes, this command will show an empty table or missing entries for the expected MAC addresses. It is the primary command to verify EVPN route reception and is essential for troubleshooting control-plane learning.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

Quick reference

Routing Protocol Comparison

ProtocolMetricMax HopsAlgorithmType
RIP v2Hop count15Bellman-FordDistance vector
OSPFCost (bandwidth)UnlimitedDijkstra (SPF)Link state
EIGRPComposite metricUnlimitedDUALHybrid
IS-ISCostUnlimitedDijkstraLink state
BGPPolicy / attributesUnlimitedPath vectorPath vector

RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.

Go deeper

Related to this question

About these practice questions

One of 1,923 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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 350-401 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 350-401 exam.