Use it when hardening a switch or auditing why unused ports or untagged trunk traffic end up in VLAN 1.
VLAN 1
VLAN 1 is the default VLAN on Cisco switches: every port is in it from the factory, it is the default native VLAN on trunks, and control protocols such as CDP, VTP and DTP use it. It cannot be deleted.
1. show vlan id 1 — which ports are still in VLAN 1?
2. Unused ports → move to an unused VLAN and shutdown.
3. show interfaces trunk — native VLAN not 1? VLAN 1 removed where not needed?
4. interface vlan 1 — shut down if management uses another VLAN.
5. Check again after changes; trunks stay up.
ports moved out of VLAN 1 → unused ports shut → trunk native VLAN changed on both ends → VLAN 1 pruned where possible → management on a dedicated VLAN
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show vlan briefShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Commands Verify boundary
show vlan brief
show interfaces trunk
Step 2 Common mistakes Narrow the fault
- Leaving unused ports in VLAN 1 and enabled.
- Using VLAN 1 as the management VLAN.
- Native VLAN 1 on trunks, which enables double-tagging attacks.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Best practice: put no users in VLAN 1, move unused ports to an unused VLAN and shut them down, set the native VLAN on trunks to an unused VLAN, and prune VLAN 1 from trunks where possible. Control traffic still runs over the trunk even when VLAN 1 is removed from the allowed list.
show vlan id 1— ports still in VLAN 1.show interfaces trunk— native VLAN and whether VLAN 1 is allowed.show interfaces status— the Vlan column shows ports still in VLAN 1.show ip interface brief | include Vlan1— whether VLAN 1 has an address.
ReferenceWhat it is1 section · depth on demand
What it is
VLAN 1 is the default VLAN on Cisco switches: every access port starts in it, it is the default native VLAN on trunks, and control protocols such as CDP, VTP, PAgP and DTP use it. It cannot be deleted.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
VLAN 1 is special: it cannot be removed, and control protocols use it
VLAN 1 is the default VLAN on Catalyst switches. Every port starts in it, it is the default native VLAN on 802.1Q trunks, and it cannot be deleted. The Catalyst 9300 trunk guide notes that even when VLAN 1 is removed from a trunk's allowed list, CDP, PAgP, LACP, DTP and VTP continue to run in VLAN 1.
C9300# show vlan brief | include ^1
1 default active Gi1/0/45, Gi1/0/46, Gi1/0/47
C9300(config)# vlan 999
C9300(config-vlan)# name UNUSED-PARKING
C9300(config)# interface range Gi1/0/45 - 47
C9300(config-if-range)# switchport mode access
C9300(config-if-range)# switchport access vlan 999
C9300(config-if-range)# shutdown
C9300(config)# interface range Te1/1/1 - 2
C9300(config-if-range)# switchport trunk native vlan 99
C9300(config-if-range)# switchport trunk allowed vlan 10,20,30,99
C9300(config)# interface Vlan1
C9300(config-if)# no ip address
C9300(config-if)# shutdown
Common hardening practice
| Practice | Reason |
|---|---|
| No user or server traffic in VLAN 1 | VLAN 1 spans every switch by default; a large, unintended broadcast domain |
| Unused ports in a parking VLAN, shut down | Plugging in a device doesn't land it in VLAN 1 |
| Native VLAN changed to an unused VLAN on trunks | Limits VLAN-hopping attacks with double tagging |
| VLAN 1 removed from the trunk allowed list | Data traffic no longer crosses trunks in VLAN 1 |
| Management on a dedicated VLAN, not VLAN 1 | Separates management from default traffic |
Native VLAN consistency
The guide states the native VLAN must be the same on both ends of an 802.1Q trunk; mismatches can cause spanning-tree loops. When moving the native VLAN off VLAN 1, change both ends in the same change window and check show interfaces trunk on both switches.
What you cannot do
You cannot delete VLAN 1, and control-plane protocols still use it on trunks. The aim is that no user data depends on it.
Documented example, not captured output.
Good practice
- Put no users or devices in VLAN 1.
- Use a different, unused VLAN as the native VLAN on trunks.
- Prune VLAN 1 from trunks where possible (
switchport trunk allowed vlan remove 1; control traffic still flows). - Shut down unused ports and place them in a dedicated unused VLAN.
Quick reference
VLAN 1 is special on Cisco switches: it exists by default, cannot be removed and carries several control protocols. Because every unconfigured port starts in VLAN 1, leaving users or management in it makes attacks easier. Hardening moves all ports and traffic out of VLAN 1.
VLAN 1 cannot be deleted or renamed. Hardening steps:
interface range Gi1/0/1 - 48
switchport access vlan 999 ! parking VLAN for unused ports
shutdown
interface Vlan1
no ip address
shutdown
interface Te1/1/1
switchport trunk native vlan 998
switchport trunk allowed vlan remove 1
Attack relevance: VLAN hopping via double tagging works when the attacker's access VLAN equals the trunk's native VLAN — keeping users out of the native VLAN prevents it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Switching → VLAN → Default VLAN → VLAN 1. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%