show vlan brief
Lists every VLAN on the switch with its name, status and the access ports assigned to it.
Written by a working field network engineer · CCNA, Security+, CySA+
The quickest proof that a VLAN exists and that the right access ports are in it. It is the check after every switchport access vlan change.
Example output
SW1#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6, Gi0/2
10 USERS active Fa0/1, Fa0/2, Gi0/1
20 SERVERS active
99 MGMT active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsupReference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.
Useful variants
sh vlan brshow vlan id 10show vlan name USERS
What each column or field means
| Field | Meaning |
|---|---|
VLAN | The VLAN number (1 to 4094). |
Name | The name set with the name command under the VLAN, or the default VLAN00xx. |
Status | active, or act/lshut and sus if the VLAN is shut down or suspended. act/unsup marks the legacy VLANs 1002-1005. |
Ports | Access ports assigned to the VLAN, including shut ones. Trunk ports, here Fa0/7, Fa0/8 and Po1, are not listed; use show interfaces trunk for those. |
1002-1005 | Default VLANs for FDDI and Token Ring, kept for compatibility. Every Catalyst switch has them, they cannot be deleted, and they count towards the VLAN total in show vtp status. |
When it doesn’t look right
A port you configured is missing from its VLAN.
It is a trunk (trunks never appear here), or the access VLAN was set on a different port. Check show interfaces switchport for that port.
The VLAN you assigned does not appear at all.
Older IOS versions create the VLAN automatically when you assign a port to it, but some switches and VTP client mode do not. Create it with vlan <id> in global configuration.
Ports listed under VLAN 1 that should be elsewhere.
Unconfigured ports stay in VLAN 1. Assign them, or shut unused ports and park them in an unused VLAN.
Related commands
Try it yourself
- VLAN Creation & Naming (free)
- Four Departmental VLANs (free)
- Assigning Access Ports to a VLAN (free)
- Correcting a Wrong Access VLAN (Pro)
Learn it in the CCNA path
- VLAN Basics (2. Network Access)
- Reading the VLAN Table (2. Network Access)
- Create and name a VLAN (2. Network Access)
- Repair missing or misnamed VLANs from show vlan brief (2. Network Access)
- Assign an access port to a VLAN (2. Network Access)
Topic
VLANs — Create and name VLANs, assign access ports, and read the VLAN table to prove each port is in the broadcast domain you intended.