Courseiva
Virtualization →mediumMultiple Choice

350-401 Virtualization Practice Question

A network engineer is configuring a Cisco Nexus 9000 switch as a VXLAN Tunnel Endpoint (VTEP) in a spine-leaf fabric. The engineer needs to verify that the NVE interface is operational and that the VNI-to-VLAN mapping is correct. Which command should the engineer use to display the VXLAN tunnel endpoints and their associated VNIs?

⚠ Common exam trap

The trap here is assuming that 'show nve peers' or 'show nve interface' alone can verify the VNI-to-VLAN mapping, when in fact only 'show nve vni' displays that mapping along with VNI state.

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 nve vni

The engineer needs to verify both the NVE interface operational status and the VNI-to-VLAN mapping. The 'show nve vni' command provides a comprehensive view of the VNIs, their associated VLANs, and the state of each VNI, which directly addresses the requirement. Other commands show partial information, such as peers or interface details, but do not combine the mapping and operational status in one output.

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 nve vni

    Why this is correct

    The 'show nve vni' command displays the VNIs configured on the NVE interface along with their associated VLANs, the VNI state, and the multicast group or peer information. This directly verifies the VNI-to-VLAN mapping and confirms that the NVE interface is operational. It is the most comprehensive command for checking both the VTEP status and the VNI mapping, making it the correct choice for this scenario.

  • ✗

    show nve interface nve1

    Why it's wrong here

    The 'show nve interface nve1' command displays the configuration and status of the NVE interface, including the source interface and the VNIs configured under it. However, it does not show the VNI-to-VLAN mapping in the forwarding table. It is useful for verifying that the NVE interface is up and which VNIs are associated, but it does not provide the mapping to VLANs, so it is incomplete for the given task.

  • ✗

    show nve peers

    Why it's wrong here

    The 'show nve peers' command displays the state of VXLAN peers (remote VTEPs) and their IP addresses, but it does not show the VNI-to-VLAN mapping or the local VTEP configuration. It is useful for verifying that remote VTEPs are reachable and that the tunnel is up, but it does not directly show the VNI mapping on the local switch. Therefore, it does not fulfill the requirement of verifying the VNI-to-VLAN mapping.

  • ✗

    show vxlan vni

    Why it's wrong here

    The 'show vxlan vni' command displays the VNI-to-VLAN mapping and the state of each VNI, but it does not show the NVE interface details or the tunnel endpoints. While it provides the mapping information, it lacks the operational status of the NVE interface and the peer information, which are also needed to verify that the VTEP is operational. Thus, it is not the most complete command for the task.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

About these practice questions

Courseiva writes every 350-401 question from scratch — 1,923 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.