CCNA 200-301

CCNP Enterprise

CCNP Security

CCIE Enterprise Lab

CCIE Security Lab

CCNP Service Provider

CCNP Data Center

CCNP Collaboration

CCIE DC Lab

Unbox a brand-new Cisco switch, plug in two workstations, and they can immediately ping each other without a single line of configuration. That out-of-the-box connectivity happens because Cisco switches assign every physical Layer 2 port to VLAN 1, the factory-default virtual LAN. While VLAN 1 makes initial staging effortless, its permanent ties to switch control protocols, trunk framing, and remote management mean leaving it active in production introduces avoidable operational and security risks. Understanding how VLAN 1 behaves—and how to safely migrate ports, trunks, and management interfaces away from it across both CLI and cloud-managed platforms—is foundational to hardening any Cisco network.

Core Properties of Default VLAN 1 on Cisco Switches

Before modifying switchport assignments, network engineers need to understand why VLAN 1 behaves differently from any administrator-created VLAN.

What is the factory-default VLAN number on a Cisco switch?

The factory-default VLAN on every Cisco Catalyst, Nexus, and Meraki switch is VLAN 1 (named default in the system database). Upon initialization or a factory reset, every Layer 2 switchport belongs to VLAN 1, placing all connected devices into a single flat broadcast domain.

Why can’t VLAN 1 be deleted or renamed?

VLAN 1 is permanently hardcoded into Cisco operating systems to guarantee a fallback Layer 2 broadcast domain and an anchor for internal switch operations. Its system name (default) cannot be altered, and attempting to remove it from global configuration mode triggers an immediate system rejection—such as %Default VLAN 1 may not be deleted in Cisco IOS/IOS XE or Deletion of VLAN 1 is not allowed!! in Cisco NX-OS.

Which Layer 2 control protocols use VLAN 1?

Cisco switches associate critical Layer 2 control-plane protocols with VLAN 1, including Cisco Discovery Protocol (CDP), VLAN Trunking Protocol (VTP), Port Aggregation Protocol (PAgP), Dynamic Trunking Protocol (DTP), and Spanning Tree Protocol (STP) BPDUs. This design dates back to Cisco’s legacy Inter-Switch Link (ISL) trunking protocol, which encapsulated every Ethernet frame and required a VLAN ID guaranteed to exist on every switch. Even if you prune VLAN 1 user data from an IEEE 802.1Q trunk today, switch-to-switch control frames still traverse the link—sent untagged if VLAN 1 is the native VLAN, or tagged with VLAN 1 if another native VLAN is configured (with DTP remaining untagged).

Treat VLAN 1 strictly as an immutable system-reserved control channel rather than a usable network segment for endpoints.

Default VLAN vs. Native VLAN vs. Management VLAN

Engineers frequently conflate the Default VLAN, the Native VLAN, and the Management VLAN because all three default to VLAN 1 on a factory-fresh Cisco switch. Despite sharing that initial ID, each serves a completely separate architectural role.

CriterionDefault VLANNative VLANManagement VLAN
Primary FunctionSystem fallback VLAN assigned to unconfigured access ports and Layer 2 control protocols.Designates which single VLAN travels untagged across an IEEE 802.1Q trunk link.Hosts the Switch Virtual Interface (SVI) IP address used for SSH, HTTPS, SNMP, and Syslog administration.
OSI Layer ScopeLayer 2 (Access Switching & Control Plane)Layer 2 (802.1Q Trunk Encapsulation)Layer 3 Logical Interface (interface VlanX) bound to a Layer 2 VLAN
Factory Default IDVLAN 1VLAN 1VLAN 1 (interface Vlan1, administratively down by default on Catalyst IOS)
Configuration ScopeSystem-wide (hardcoded)Per trunk interface (switchport trunk native vlan <id>)Switch-wide SVI or dedicated management subnet
Can the VLAN ID Change?No. VLAN 1 always remains the system default, though ports can be moved out of it.Yes. Can be reassigned to any valid VLAN ID on a trunk-by-trunk basis.Yes. Any active VLAN can host the management SVI IP address.
Production Best PracticeEvacuate all user and server access ports.Set to a dedicated, unused “blackhole” VLAN ID (or force 802.1Q tagging on native frames).Isolate on a restricted, ACL-protected VLAN separate from user and native traffic.

Separating these three roles onto distinct VLAN IDs is the single most effective step to prevent untagged trunk frames and user endpoints from intersecting with switch management interfaces.

Security Risks of Leaving Production Traffic on VLAN 1

Because the Default, Native, and Management roles all converge on VLAN 1 out of the box, leaving active workstations or servers on VLAN 1 exposes the Layer 2 switching fabric to well-documented attack vectors:

  1. 802.1Q Double-Tagging (VLAN Hopping) Attacks: When an attacker connects to an access port sharing the same VLAN ID as the upstream trunk’s native VLAN (both VLAN 1 by default), they can transmit frames containing two 802.1Q headers. The first switch strips the outer VLAN 1 tag—assuming the frame belongs to the untagged native VLAN—and forwards the packet across the trunk, where downstream switches read the inner tag and deliver unidirectional payloads into isolated target subnets.
  2. DTP Switch Spoofing: Many Cisco Catalyst switchports default to dynamic auto or dynamic desirable mode, actively listening for Cisco’s Dynamic Trunking Protocol (DTP) on VLAN 1. Using packet-crafting utilities like Yersinia, an attacker on an unhardened port can spoof DTP frames to negotiate a live 802.1Q trunk and intercept traffic across every allowed VLAN on that uplink.
  3. Control-Plane Reconnaissance and Manipulation: Because protocols like CDP and STP rely on VLAN 1 as covered earlier, hosts left in VLAN 1 sit directly adjacent to infrastructure signaling. Malicious endpoints can passively harvest switch model and IOS software versions from CDP broadcasts or inject superior STP BPDUs to hijack the Spanning Tree Root Bridge.
  4. Accidental Exposure from Reset or Unconfigured Ports: Whenever a new line card is inserted or a technician resets an interface with default interface, that port automatically drops back into VLAN 1. If production servers or the management SVI reside on VLAN 1, any unconfigured wall jack immediately bridges unauthorized hardware into critical infrastructure.
  5. Unrestricted Trunk Blast Radius: Cisco 802.1Q trunks allow VLANs 1 through 4094 by default. Leaving user traffic in VLAN 1 extends a single Layer 2 domain across every interconnected switch in the building unless manually pruned, maximizing the impact of ARP spoofing, lateral movement, and broadcast storms.

Eliminating user endpoints and untagged native trunking from VLAN 1 neutralizes these default-state Layer 2 exploits before an attacker can chain them together.

How to Audit VLAN 1 Membership on Cisco IOS Switches

Before changing port assignments or pruning trunks on a live switch, run a read-only CLI audit to identify every access port, trunk link, and virtual interface still relying on VLAN 1.

Step 1: Check Access Port Assignments

Run show vlan brief in privileged EXEC mode to list all non-trunking physical interfaces currently mapped to VLAN 1:

Switch# show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi1/0/1, Gi1/0/2, Gi1/0/24
10   USERS                            active    Gi1/0/3, Gi1/0/4
99   MGMT                             active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 

Any port listed next to 1 default is either an unconfigured port or an active endpoint still operating in VLAN 1. Note that operational trunk ports do not appear in this output, so you must inspect trunks separately.

Step 2: Inspect Trunk Native VLANs and Allowed Lists

Execute show interfaces trunk to see whether active uplinks still use VLAN 1 as their untagged Native vlan or forward VLAN 1 data traffic:

Switch# show interfaces trunk

Port        Mode             Encapsulation  Status        Native vlan
Gi1/0/48    on               802.1q         trunking      1

Port        Vlans allowed on trunk
Gi1/0/48    1-4094

Look for 1 under the Native vlan column and check whether 1 appears in the allowed and spanning-tree forwarding lists.

Step 3: Verify Per-Port DTP and Operational Modes

For suspect ports discovered in Step 1, run show interfaces <interface-id> switchport to inspect both administrative DTP behavior and VLAN bindings:

Switch# show interfaces GigabitEthernet1/0/1 switchport | include Mode|VLAN|Negotiation
Administrative Mode: dynamic auto
Operational Mode: static access
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)

If Administrative Mode reads dynamic auto or dynamic desirable and Negotiation of Trunking is On, the port is vulnerable to DTP switch spoofing.

Step 4: Audit the VLAN 1 Management SVI

Check whether the switch is actively using interface Vlan1 for Layer 3 management connectivity:

Switch# show ip interface brief | include Vlan
Vlan1                  unassigned      YES unset  administratively down down    
Vlan99                 10.10.99.2      YES manual up                    up      

Confirm that a dedicated management SVI (such as Vlan99) is up/up before shutting down Vlan1 during remediation.

Completing all four verification checks ensures you will not accidentally sever remote SSH access or strand an upstream link when evacuating VLAN 1.

Cisco IOS CLI Template to Evacuate and Harden VLAN 1

Because Cisco IOS blocks no vlan 1 as noted earlier, hardening a switch requires evacuating user ports, shutting down interface Vlan1, parking unused interfaces, and pruning VLAN 1 from trunks. Replace the VLAN IDs, interface ranges, and IP addressing in the template below to match your network plan:

configure terminal

! 1. Create dedicated Data, Management, Unused-Parking, and Native-Blackhole VLANs
vlan 10
 name DATA_USERS
vlan 99
 name INFRA_MGMT
vlan 888
 name UNUSED_PORTS
vlan 999
 name NATIVE_BLACKHOLE
exit

! 2. Provision the dedicated Management SVI and disable the VLAN 1 SVI
interface Vlan99
 description Switch-Management-SVI
 ip address 10.10.99.11 255.255.255.0
 no shutdown
exit

interface Vlan1
 no ip address
 shutdown
exit

ip default-gateway 10.10.99.1

! 3. Move active endpoint ports off VLAN 1 and disable DTP negotiation
interface range GigabitEthernet1/0/1 - 20
 description Active-User-Ports
 switchport mode access
 switchport access vlan 10
 switchport nonegotiate
 spanning-tree portfast
 spanning-tree bpduguard enable
 no shutdown
exit

! 4. Quarantine and administratively disable unused switchports
interface range GigabitEthernet1/0/21 - 44
 description Quarantine-Unused-Ports
 switchport mode access
 switchport access vlan 888
 switchport nonegotiate
 shutdown
exit

! 5. Change the trunk Native VLAN and prune VLAN 1 user traffic on uplinks
interface range GigabitEthernet1/0/45 - 48
 description Uplink-Trunks
 switchport mode trunk
 switchport nonegotiate
 switchport trunk native vlan 999
 switchport trunk allowed vlan 10,99
exit

! Optional global hardening: tag even native VLAN frames on all 802.1Q trunks
vlan dot1q tag native

end
write memory

Always coordinate trunk native VLAN and vlan dot1q tag native changes symmetrically on both ends of an inter-switch link to prevent Spanning Tree port blocking and native VLAN mismatch alerts.

Cisco VLAN Specifications and Official Documentation Reference

When selecting replacement VLAN IDs for the configuration template above, administrators must adhere to reserved VLAN boundaries and hardware scaling limits defined in Cisco platform specifications.

  • IEEE 802.1Q Address Space (0–4095): Valid assignable Ethernet VLAN IDs span 1 through 4094. IDs 0 and 4095 are reserved strictly for internal system operations and 802.1p priority tagging; they cannot be viewed, modified, or assigned to switchports.
  • Cisco IOS / IOS XE Normal-Range VLANs (1–1005):
  • VLAN 1: Undeletable system default Ethernet VLAN; propagated by VTP.
  • VLANs 2–1001: User-configurable normal-range Ethernet VLANs; stored in flash memory (vlan.dat) and propagated across VTPv1, VTPv2, and VTPv3 domains.
  • VLANs 1002–1005: Legacy defaults reserved for FDDI and Token Ring (fddi-default, token-ring-default, fddinet-default, trnet-default). Like VLAN 1, IDs 1002–1005 cannot be deleted.
  • Cisco IOS / IOS XE Extended-Range VLANs (1006–4094): User-configurable Ethernet VLANs. Under VTPv1 and VTPv2, switches must operate in VTP transparent mode to create extended-range VLANs (stored in running-config); VTPv3 supports extended-range database propagation natively.
  • Catalyst Hardware & SDM Scale Limits: Active VLAN and SVI ceilings depend on the Switch Device Manager (SDM) template and switch series. Modern Cisco Catalyst 9300 and 9500 switches support up to 4,000–4,094 Layer 2 VLANs and up to 1,000 SVI interfaces, whereas Catalyst 9200 models support 512 to 1,000 active VLANs depending on the sub-model.
  • Cisco NX-OS Internal Reservations: On Cisco Nexus switches, VLAN 1 remains the non-deletable default, while VLANs 3968–4094 are reserved by default for internal per-VDC hardware operations (3968–4047 can be relocated to another contiguous 128-VLAN block via system vlan <start-id> reserve; 4094 remains permanently fixed).
  • Authoritative Cisco Reference Documentation:
  • VLAN Configuration Guide, Cisco IOS XE 17.x (Catalyst 9200 / 9300 / 9500 Series Switches) — Modules: Configuring VLANs and Configuring VLAN Trunks.
  • Interface and Hardware Component Configuration Guide, Cisco IOS XE 17.x — Module: Interface Characteristics (Layer 2 vs. Routed Ports and SVIs).
  • Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide — Chapter: Configuring VLANs.

Verifying reserved ranges and active VLAN limits against your specific OS train ensures your replacement native and parking VLAN IDs do not collide with system-allocated blocks.

Modifying Default VLAN 1 Behavior on Cisco Meraki Switches

While Catalyst IOS switches boot with ports in dynamic access mode, cloud-managed Cisco Meraki MS switches (and Meraki-managed Catalyst 9000 switches) take a different factory approach: every switchport defaults to an 802.1Q Trunk with Native VLAN 1 and Allowed VLANs set to All, and the switch uses untagged Native VLAN 1 to reach the Meraki Cloud Dashboard via DHCP. Migrating off VLAN 1 in Meraki requires a strict top-down sequence so switches do not lose cloud connectivity and auto-revert their configuration.

Step 1: Stage the Upstream Management VLAN and DHCP Scope

Before altering switch settings, confirm that your upstream router or Meraki MX security appliance already carries your target management VLAN (for example, VLAN 99) on its downlink trunk and serves DHCP leases with internet reachability. If a Meraki switch cannot obtain an IP lease and contact the Meraki Dashboard after a VLAN change, its safety timer automatically rolls back to the prior VLAN setting.

Step 2: Reassign the Cloud Switch Management VLAN

In the Meraki Dashboard, navigate to Switch > Configure > Switch settings and locate the VLAN configuration panel. Change the global Management VLAN from 1 to your staged management VLAN ID and save (or override per switch under Switch > Monitor > Switches, selecting the switch and clicking Edit IP). Wait for the switches to check back in online on the new VLAN before modifying trunk native settings.

Step 3: Convert Endpoint Ports from Default Trunks to Access Mode

Navigate to Switch > Configure > Switch ports, filter out uplink ports, and select all user-facing interfaces. Click Edit, change Type from Trunk to Access, set VLAN to your production data VLAN (such as 10), and click Update. For unpatched wall jacks, set Port status to Disabled or assign an isolated quarantine VLAN.

Step 4: Restrict Native and Allowed VLANs on Uplink Trunks

Select your inter-switch and firewall trunk ports under Switch > Configure > Switch ports and click Edit. Change Native VLAN from 1 to an unused dummy VLAN ID (matching the peer switch’s native VLAN), and replace All in the Allowed VLANs field with an explicit list of active VLANs (for example, 10,20,99) before clicking Update.

Converting Meraki’s factory-default trunks into explicit access ports and pruned uplinks brings cloud-managed switches up to the same Layer 2 security posture as hardened CLI deployments.

Conclusion

VLAN 1 is an indispensable system construct on Cisco switches—powering zero-touch initial connectivity and anchoring Layer 2 control protocols like CDP, STP, VTP, and PAgP—which is precisely why Cisco operating systems forbid deleting it. Rather than trying to remove VLAN 1 from the database, treat it strictly as an internal control-plane reservation. By decoupling your Default, Native, and Management VLAN roles, auditing port memberships regularly, and moving active endpoints and trunks onto dedicated VLAN IDs across both Cisco IOS CLI and Meraki Dashboard environments, you preserve seamless switch signaling while closing off default Layer 2 attack paths.

Please follow and like us:
Last modified: November 27, 2026

Author

Comments

Write a Reply or Comment

Your email address will not be published.