Quiz Entry - updated: 2026.07.14
What are the options for the show vlan command, and what does each display?
show vlan with options brief, id, name, and summary lets you view VLAN (Virtual Local Area Network) information at different levels of detail.
| Command | What It Shows |
|---|---|
show vlan brief |
VLAN name, status, and assigned ports — one line per VLAN. Most commonly used |
show vlan id 20 |
Detailed info about a specific VLAN by its ID number |
show vlan name student |
Detailed info about a specific VLAN by its name (1–32 characters) |
show vlan summary |
Count of existing VLANs (total, VTP (VLAN Trunking Protocol), extended) |
Other useful verification commands:
show interfaces fa0/18 switchport— shows the access VLAN, voice VLAN, trunk mode, and native VLAN for a specific portshow interface vlan 20— shows the SVI (Switch Virtual Interface) for VLAN 20, including IP (Internet Protocol) address and status
Tip: show vlan brief is your go-to command for a quick overview. Note that trunk ports do NOT appear in show vlan brief — use show interfaces trunk to see trunk port VLAN assignments instead.