CCNP Infrastructure Practice Question
A network administrator is configuring a Cisco IOS switch and needs to verify the current VLAN configuration, including VLAN IDs, names, and status. Which command should be used?
⚠ Common exam trap
The trap here is selecting a command that shows VLAN information but not the complete list, such as show vlan id or show vlan summary.
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 vlan brief
The show vlan brief command is the standard way to display all VLANs on a switch, including their IDs, names, status, and associated ports. It gives a comprehensive overview that allows an administrator to quickly verify the VLAN configuration. Other commands either filter to a single VLAN or provide only summary counts.
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 vlan brief
Why this is correct
The show vlan brief command displays a concise summary of all VLANs, including VLAN ID, name, status, and the ports assigned to each VLAN. This provides exactly the information needed to verify the current VLAN configuration on the switch.
- ✗
show interfaces switchport
Why it's wrong here
The show interfaces switchport command displays switchport configuration for interfaces, including administrative and operational mode, access VLAN, and trunk VLANs. It does not provide a list of all VLANs configured on the switch, so it is not the best choice to verify the VLAN database.
- ✗
show vlan id 1
Why it's wrong here
The show vlan id 1 command displays detailed information for VLAN 1 only. While it shows the VLAN name, status, and ports, it does not provide an overview of all VLANs. To verify the entire VLAN configuration, a command that lists all VLANs is required, not one that filters to a single VLAN.
- ✗
show vlan summary
Why it's wrong here
The show vlan summary command provides a count of VLANs by type, such as the number of active, suspended, and reserved VLANs. It does not list individual VLAN IDs, names, or port assignments, so it cannot be used to verify the detailed VLAN configuration.
Visual reference
About these practice questions
This 350-401 question is part of Courseiva's 1,923-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 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.