Pcornel
Networking · Switching › VLAN › Default VLAN

VLAN 1

Cheat sheet · https://pcornel.dk/topic.php?topic=974

Back to the Topic

Answer

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.

Remember

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.

First checks

  • 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.

Commands

show vlan brief
Compact VLAN membership/status view.
show interfaces trunk

Verify in this order

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

Where it usually breaks

physical link → switchport/bundle membership → VLAN/instance state → STP/LAG decision → MAC forwarding → end-to-end frame path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=974

Confirmation

Confirm action

Continue?