{"id":24257,"date":"2026-11-02T15:41:13","date_gmt":"2026-11-02T07:41:13","guid":{"rendered":"https:\/\/cciedump.spoto.net\/blog\/?p=24257"},"modified":"2026-11-02T15:41:15","modified_gmt":"2026-11-02T07:41:15","slug":"how-do-i-create-a-vlan-on-a-cisco-switch","status":"publish","type":"post","link":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html","title":{"rendered":"How Do I Create a VLAN on a Cisco Switch?"},"content":{"rendered":"<p>Segmenting a local area network (LAN) into Virtual Local Area Networks (VLANs) is one of the fundamental tasks in network administration. VLANs isolate Layer 2 broadcast domains on a physical switch, which improves security, reduces broadcast collisions, and groups network endpoints logically by role or department (such as Data, Voice, Management, and Guest networks) regardless of physical location.<\/p>\n<p>On Cisco Catalyst switches operating either classic Cisco IOS or modern Cisco IOS-XE, configuring VLANs follows a consistent, reliable Command-Line Interface (CLI) workflow. This guide covers the technical specifications, step-by-step commands for creating VLANs, interface assignment methods, ready-to-use deployment scripts, Layer 3 routing configuration, and diagnostics.<\/p>\n<hr>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy counter-decimal ez-toc-light-blue\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Cisco_Catalyst_VLAN_Architecture_and_Specifications\" title=\"Cisco Catalyst VLAN Architecture and Specifications\">Cisco Catalyst VLAN Architecture and Specifications<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#VLAN_ID_Ranges_and_System_Defaults\" title=\"VLAN ID Ranges and System Defaults\">VLAN ID Ranges and System Defaults<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Deprecated_Syntax_Notice\" title=\"Deprecated Syntax Notice\">Deprecated Syntax Notice<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step-by-Step_Guide_Creating_a_VLAN_in_Cisco_IOS_CLI\" title=\"Step-by-Step Guide: Creating a VLAN in Cisco IOS CLI\">Step-by-Step Guide: Creating a VLAN in Cisco IOS CLI<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_1_Access_Privileged_EXEC_Mode\" title=\"Step 1: Access Privileged EXEC Mode\">Step 1: Access Privileged EXEC Mode<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_2_Enter_Global_Configuration_Mode\" title=\"Step 2: Enter Global Configuration Mode\">Step 2: Enter Global Configuration Mode<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_3_Define_the_VLAN_Identifier\" title=\"Step 3: Define the VLAN Identifier\">Step 3: Define the VLAN Identifier<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_4_Assign_a_Descriptive_Name\" title=\"Step 4: Assign a Descriptive Name\">Step 4: Assign a Descriptive Name<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_5_Save_the_Configuration_to_Non-Volatile_RAM_NVRAM\" title=\"Step 5: Save the Configuration to Non-Volatile RAM (NVRAM)\">Step 5: Save the Configuration to Non-Volatile RAM (NVRAM)<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Assigning_Switchports_Access_vs_Trunk_Ports\" title=\"Assigning Switchports: Access vs. Trunk Ports\">Assigning Switchports: Access vs. Trunk Ports<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Method_1_Assigning_an_Access_Port_to_a_Single_Interface\" title=\"Method 1: Assigning an Access Port to a Single Interface\">Method 1: Assigning an Access Port to a Single Interface<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Method_2_Assigning_an_Access_VLAN_to_a_Range_of_Ports\" title=\"Method 2: Assigning an Access VLAN to a Range of Ports\">Method 2: Assigning an Access VLAN to a Range of Ports<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Method_3_Configuring_an_8021Q_Trunk_Port\" title=\"Method 3: Configuring an 802.1Q Trunk Port\">Method 3: Configuring an 802.1Q Trunk Port<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Ready-to-Deploy_VLAN_Configuration_Templates\" title=\"Ready-to-Deploy VLAN Configuration Templates\">Ready-to-Deploy VLAN Configuration Templates<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Template_1_Multi-VLAN_Setup_with_Access_Port_Assignments\" title=\"Template 1: Multi-VLAN Setup with Access Port Assignments\">Template 1: Multi-VLAN Setup with Access Port Assignments<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Template_2_Upstream_Trunk_Interface_Configuration\" title=\"Template 2: Upstream Trunk Interface Configuration\">Template 2: Upstream Trunk Interface Configuration<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Enabling_Inter-VLAN_Routing_with_Switch_Virtual_Interfaces_SVIs\" title=\"Enabling Inter-VLAN Routing with Switch Virtual Interfaces (SVIs)\">Enabling Inter-VLAN Routing with Switch Virtual Interfaces (SVIs)<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_1_Enable_the_Switch_Routing_Engine\" title=\"Step 1: Enable the Switch Routing Engine\">Step 1: Enable the Switch Routing Engine<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_2_Configure_the_SVI_for_VLAN_10\" title=\"Step 2: Configure the SVI for VLAN 10\">Step 2: Configure the SVI for VLAN 10<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_3_Configure_the_SVI_for_VLAN_20\" title=\"Step 3: Configure the SVI for VLAN 20\">Step 3: Configure the SVI for VLAN 20<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Step_4_Verify_the_Routing_Table\" title=\"Step 4: Verify the Routing Table\">Step 4: Verify the Routing Table<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Troubleshooting_and_Verification_FAQ\" title=\"Troubleshooting and Verification FAQ\">Troubleshooting and Verification FAQ<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#How_do_I_verify_that_a_VLAN_has_been_created_and_active_ports_are_assigned\" title=\"How do I verify that a VLAN has been created and active ports are assigned?\">How do I verify that a VLAN has been created and active ports are assigned?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Why_is_a_VLAN_showing_a_status_of_actlshut_or_suspended\" title=\"Why is a VLAN showing a status of &#8220;act\/lshut&#8221; or &#8220;suspended&#8221;?\">Why is a VLAN showing a status of &#8220;act\/lshut&#8221; or &#8220;suspended&#8221;?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Why_are_devices_inside_the_same_VLAN_unable_to_communicate\" title=\"Why are devices inside the same VLAN unable to communicate?\">Why are devices inside the same VLAN unable to communicate?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#How_do_I_check_if_an_uplink_is_passing_trunked_VLAN_traffic\" title=\"How do I check if an uplink is passing trunked VLAN traffic?\">How do I check if an uplink is passing trunked VLAN traffic?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Why_can_devices_within_a_VLAN_communicate_but_Inter-VLAN_routing_fails\" title=\"Why can devices within a VLAN communicate, but Inter-VLAN routing fails?\">Why can devices within a VLAN communicate, but Inter-VLAN routing fails?<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Cisco_Catalyst_VLAN_Architecture_and_Specifications\"><\/span>Cisco Catalyst VLAN Architecture and Specifications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Cisco Catalyst switches implement the IEEE 802.1Q standard for VLAN identification and tagging. Before creating VLANs, it is critical to understand the identifier ranges, platform limits, and configuration storage rules across Cisco IOS and IOS-XE platforms.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VLAN_ID_Ranges_and_System_Defaults\"><\/span>VLAN ID Ranges and System Defaults<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Normal-Range VLANs (1\u20131005):<\/strong>\n<ul>\n<li><strong>VLAN 1:<\/strong> The default factory VLAN. All switchports belong to VLAN 1 by default. It cannot be deleted, renamed, or suspended.<\/li>\n<li><strong>VLANs 2\u20131001:<\/strong> User-configurable normal-range VLANs for general traffic segmentation.<\/li>\n<li><strong>VLANs 1002\u20131005:<\/strong> Cisco-reserved IDs for legacy media types (FDDI and Token Ring). These cannot be deleted or re-allocated for standard Ethernet traffic.<\/li>\n<li><em>Storage Behavior:<\/em> Historically stored in flash memory inside the <code>vlan.dat<\/code> database file. In modern IOS-XE environments, normal-range VLAN definitions are fully saved to the ASCII <code>running-config<\/code>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Extended-Range VLANs (1006\u20134094):<\/strong>\n<ul>\n<li>Designed for service providers and large enterprise network deployments requiring greater segmentation.<\/li>\n<li>Saved directly to the <code>running-config<\/code> file.<\/li>\n<li>On older switches running VLAN Trunking Protocol (VTP) versions 1 or 2, the switch must operate in VTP Transparent mode to support extended-range VLANs. VTP version 3 supports extended VLANs natively in Client and Server modes.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Reserved System IDs (0 and 4095):<\/strong>\n<ul>\n<li>VLAN 0 is reserved for 802.1p priority tagging without a VLAN identifier.<\/li>\n<li>VLAN 4095 is reserved by the 802.1Q standard for system implementation and cannot be configured.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Deprecated_Syntax_Notice\"><\/span>Deprecated Syntax Notice<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The legacy command <code>vlan database<\/code> (executed directly from Privileged EXEC mode) has been deprecated for over a decade. All modern Cisco Catalyst switches utilize Global Configuration mode (<code>vlan &lt;vlan-id&gt;<\/code>) to manage the VLAN database.<\/p>\n<hr>\n<h2><span class=\"ez-toc-section\" id=\"Step-by-Step_Guide_Creating_a_VLAN_in_Cisco_IOS_CLI\"><\/span>Step-by-Step Guide: Creating a VLAN in Cisco IOS CLI<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Creating a VLAN on a Cisco switch involves defining the VLAN ID in the switch database and assigning it a descriptive name to simplify maintenance and auditing. Follow these sequential steps:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Access_Privileged_EXEC_Mode\"><\/span>Step 1: Access Privileged EXEC Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Log into the switch console, SSH, or Telnet session. Elevate your session privileges:<\/p>\n<pre><code class=\"language-text\">Switch&gt; enable\nSwitch#\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Enter_Global_Configuration_Mode\"><\/span>Step 2: Enter Global Configuration Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Open the configuration terminal:<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nEnter configuration commands, one per line. End with CNTL\/Z.\nSwitch(config)#\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Define_the_VLAN_Identifier\"><\/span>Step 3: Define the VLAN Identifier<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Enter the VLAN configuration context by specifying an unused ID within the valid range (1\u20134094):<\/p>\n<pre><code class=\"language-text\">Switch(config)# vlan 10\nSwitch(config-vlan)#\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Assign_a_Descriptive_Name\"><\/span>Step 4: Assign a Descriptive Name<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Assign a clear label indicating the purpose or department for the VLAN. Cisco IOS accepts alphanumeric characters without spaces (use underscores or hyphens instead):<\/p>\n<pre><code class=\"language-text\">Switch(config-vlan)# name Sales_Department\nSwitch(config-vlan)# exit\nSwitch(config)#\n<\/code><\/pre>\n<p><em>(Optional)<\/em> If you need to create multiple VLANs at once without assigning names immediately, you can supply a comma-separated list or range:<\/p>\n<pre><code class=\"language-text\">Switch(config)# vlan 20,30,40-45\nSwitch(config-vlan)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Save_the_Configuration_to_Non-Volatile_RAM_NVRAM\"><\/span>Step 5: Save the Configuration to Non-Volatile RAM (NVRAM)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Exit configuration mode and commit the changes from volatile memory (<code>running-config<\/code>) to non-volatile storage (<code>startup-config<\/code>):<\/p>\n<pre><code class=\"language-text\">Switch(config)# end\nSwitch# copy running-config startup-config\nDestination filename [startup-config]? [Press Enter]\nBuilding configuration...\n[OK]\n<\/code><\/pre>\n<p>At this stage, the VLAN exists in the switch&#8217;s database, but no physical interfaces are actively passing traffic for it.<\/p>\n<hr>\n<h2><span class=\"ez-toc-section\" id=\"Assigning_Switchports_Access_vs_Trunk_Ports\"><\/span>Assigning Switchports: Access vs. Trunk Ports<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For a VLAN to handle network traffic, physical interfaces must be assigned to it. Cisco switchports typically operate in one of two Layer 2 modes:<\/p>\n<ul>\n<li><strong>Access Port:<\/strong> Dedicated to a single VLAN; designed to connect end devices such as PCs, printers, IP phones, or single-NIC servers. Access ports strip 802.1Q tags before sending frames out to endpoints.<\/li>\n<li><strong>Trunk Port:<\/strong> Designed to connect switch-to-switch or switch-to-router uplinks. Trunk ports multiplex traffic across multiple VLANs over a single link by appending an 802.1Q tag header to each frame.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Method_1_Assigning_an_Access_Port_to_a_Single_Interface\"><\/span>Method 1: Assigning an Access Port to a Single Interface<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To bind a specific physical port to your newly created VLAN:<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nSwitch(config)# interface GigabitEthernet 1\/0\/5\nSwitch(config-if)# description Workstation-Sales-01\nSwitch(config-if)# switchport mode access\nSwitch(config-if)# switchport access vlan 10\nSwitch(config-if)# spanning-tree portfast\nSwitch(config-if)# no shutdown\nSwitch(config-if)# end\n<\/code><\/pre>\n<p><em>Note: The <code>spanning-tree portfast<\/code> command allows edge access ports to bypass listening and learning states, moving immediately to the forwarding state to prevent DHCP timeout issues on boot.<\/em><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Method_2_Assigning_an_Access_VLAN_to_a_Range_of_Ports\"><\/span>Method 2: Assigning an Access VLAN to a Range of Ports<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When provisioning multiple ports at once, use the <code>interface range<\/code> macro:<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nSwitch(config)# interface range GigabitEthernet 1\/0\/1 - 12\nSwitch(config-if-range)# switchport mode access\nSwitch(config-if-range)# switchport access vlan 10\nSwitch(config-if-range)# spanning-tree portfast\nSwitch(config-if-range)# no shutdown\nSwitch(config-if-range)# end\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Method_3_Configuring_an_8021Q_Trunk_Port\"><\/span>Method 3: Configuring an 802.1Q Trunk Port<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To allow the VLAN&#8217;s traffic to travel across an uplink to a core switch or distribution layer, configure a trunk port.<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nSwitch(config)# interface GigabitEthernet 1\/0\/48\nSwitch(config-if)# description UPLINK_TO_CORE\nSwitch(config-if)# switchport trunk encapsulation dot1q\nSwitch(config-if)# switchport mode trunk\nSwitch(config-if)# switchport trunk native vlan 99\nSwitch(config-if)# switchport trunk allowed vlan 10,20,30,99\nSwitch(config-if)# no shutdown\nSwitch(config-if)# end\n<\/code><\/pre>\n<p><em>Important Details:<\/em><br \/>\n1.  On newer switches (such as Catalyst 9000 series), the command <code>switchport trunk encapsulation dot1q<\/code> is not required because 802.1Q is the only supported encapsulation protocol.<br \/>\n2.  The <code>switchport trunk allowed vlan<\/code> command restricts trunk links to carry only necessary traffic, which prevents broadcast floods from spreading across non-participating switches.<br \/>\n3.  Changing the default native VLAN from VLAN 1 to an unused VLAN (e.g., VLAN 99) is an industry security standard that mitigates double-tagging VLAN hopping attacks.<\/p>\n<hr>\n<h2><span class=\"ez-toc-section\" id=\"Ready-to-Deploy_VLAN_Configuration_Templates\"><\/span>Ready-to-Deploy VLAN Configuration Templates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Use these pre-tested configuration scripts for rapid switch deployment. Replace bracketed placeholders (<code>&lt;...&gt;<\/code>) with your network values.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Template_1_Multi-VLAN_Setup_with_Access_Port_Assignments\"><\/span>Template 1: Multi-VLAN Setup with Access Port Assignments<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-text\">! ==========================================\n! TEMPLATE: Standard Multi-VLAN Deployment\n! ==========================================\nconfigure terminal\n\n! 1. Define VLANs\nvlan 10\n name DATA_DEPT\n!\nvlan 20\n name VOICE_DEPT\n!\nvlan 30\n name GUEST_WIFI\n!\nvlan 99\n name MANAGEMENT\n!\nexit\n\n! 2. Configure Access Ports for Users (VLAN 10 Data + VLAN 20 Voice)\ninterface range GigabitEthernet 1\/0\/1 - 24\n description User_Edge_Ports\n switchport mode access\n switchport access vlan 10\n switchport voice vlan 20\n spanning-tree portfast\n spanning-tree bpduguard enable\n no shutdown\nexit\n\n! 3. Configure Dedicated Ports for Guest Access (VLAN 30)\ninterface range GigabitEthernet 1\/0\/25 - 30\n description Guest_Access_Points\n switchport mode access\n switchport access vlan 30\n spanning-tree portfast\n no shutdown\nexit\n\nend\ncopy running-config startup-config\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Template_2_Upstream_Trunk_Interface_Configuration\"><\/span>Template 2: Upstream Trunk Interface Configuration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-text\">! ==========================================\n! TEMPLATE: High-Capacity Trunk Uplink\n! ==========================================\nconfigure terminal\n\ninterface GigabitEthernet 1\/0\/48\n description TRUNK_TO_DISTRIBUTION_SWITCH\n ! Modern IOS-XE uses dot1q by default; uncomment line below if on legacy IOS:\n ! switchport trunk encapsulation dot1q\n switchport mode trunk\n switchport trunk native vlan 99\n switchport trunk allowed vlan 10,20,30,99\n switchport nonegotiate\n no shutdown\nexit\n\nend\ncopy running-config startup-config\n<\/code><\/pre>\n<hr>\n<h2><span class=\"ez-toc-section\" id=\"Enabling_Inter-VLAN_Routing_with_Switch_Virtual_Interfaces_SVIs\"><\/span>Enabling Inter-VLAN Routing with Switch Virtual Interfaces (SVIs)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>By default, Layer 2 VLANs isolate traffic completely. A device in VLAN 10 cannot ping or access a device in VLAN 20 without a Layer 3 routing mechanism.<\/p>\n<p>If you are deploying a Layer 3-capable Catalyst switch (such as a 3650, 3850, or Catalyst 9300), you can route traffic between VLANs at hardware speeds using Switch Virtual Interfaces (SVIs), also referred to as routed VLAN interfaces.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Enable_the_Switch_Routing_Engine\"><\/span>Step 1: Enable the Switch Routing Engine<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>By default, Layer 3 packet forwarding is disabled on many switch models. Activate it globally:<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nSwitch(config)# ip routing\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Configure_the_SVI_for_VLAN_10\"><\/span>Step 2: Configure the SVI for VLAN 10<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The IP address assigned to the SVI serves as the default gateway for all endpoints residing in that VLAN:<\/p>\n<pre><code class=\"language-text\">Switch(config)# interface vlan 10\nSwitch(config-if)# description Default_Gateway_VLAN10_Sales\nSwitch(config-if)# ip address 192.168.10.1 255.255.255.0\nSwitch(config-if)# no shutdown\nSwitch(config-if)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Configure_the_SVI_for_VLAN_20\"><\/span>Step 3: Configure the SVI for VLAN 20<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Repeat the process for the second subnet:<\/p>\n<pre><code class=\"language-text\">Switch(config)# interface vlan 20\nSwitch(config-if)# description Default_Gateway_VLAN20_Voice\nSwitch(config-if)# ip address 192.168.20.1 255.255.255.0\nSwitch(config-if)# no shutdown\nSwitch(config-if)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Verify_the_Routing_Table\"><\/span>Step 4: Verify the Routing Table<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ensure the switch has registered both subnets as directly connected routes:<\/p>\n<pre><code class=\"language-text\">Switch# show ip route\nCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP\nGateway of last resort is not set\n\nC    192.168.10.0\/24 is directly connected, Vlan10\nC    192.168.20.0\/24 is directly connected, Vlan20\n<\/code><\/pre>\n<p><em>Note on SVI State:<\/em> An SVI interface will show as <code>Vlan10 is up, line protocol is up<\/code> only when at least one access port assigned to that VLAN is active (up\/up) or a trunk carrying that VLAN is active. If no ports in that VLAN are active, the SVI status remains <code>down\/down<\/code>.<\/p>\n<hr>\n<h2><span class=\"ez-toc-section\" id=\"Troubleshooting_and_Verification_FAQ\"><\/span>Troubleshooting and Verification FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_verify_that_a_VLAN_has_been_created_and_active_ports_are_assigned\"><\/span>How do I verify that a VLAN has been created and active ports are assigned?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Run the command <code>show vlan brief<\/code> from Privileged EXEC mode. This command displays a table of all normal- and extended-range VLANs, their administrative state, and the physical ports associated with them:<\/p>\n<pre><code class=\"language-text\">Switch# show vlan brief\n\nVLAN Name                             Status    Ports\n---- -------------------------------- --------- -------------------------------\n1    default                          active    Gi1\/0\/13, Gi1\/0\/14\n10   Sales_Department                 active    Gi1\/0\/1, Gi1\/0\/2, Gi1\/0\/5\n20   Voice_Dept                       active    \n99   MANAGEMENT                       active    \n<\/code><\/pre>\n<p>If a port does not appear in this list, it has either been configured as a trunk port (trunk ports do not appear in <code>show vlan brief<\/code>) or it remains in another VLAN.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_is_a_VLAN_showing_a_status_of_actlshut_or_suspended\"><\/span>Why is a VLAN showing a status of &#8220;act\/lshut&#8221; or &#8220;suspended&#8221;?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A status of <code>act\/lshut<\/code> indicates that the VLAN has been administratively shut down in the VLAN database. To re-enable it:<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nSwitch(config)# vlan 10\nSwitch(config-vlan)# no shutdown\nSwitch(config-vlan)# end\n<\/code><\/pre>\n<p>If the status is <code>suspended<\/code>, the VLAN was temporarily disabled using the <code>state suspend<\/code> sub-command, or the switch received an overriding VTP update. Run <code>state active<\/code> within the <code>vlan &lt;vlan-id&gt;<\/code> context to resolve it.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_are_devices_inside_the_same_VLAN_unable_to_communicate\"><\/span>Why are devices inside the same VLAN unable to communicate?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If two devices plugged into ports within the same VLAN cannot reach each other, verify the following:<br \/>\n1.  <strong>Port Status:<\/strong> Run <code>show interfaces status<\/code> to ensure the physical links are connected (<code>connected<\/code>, not <code>notconnect<\/code> or <code>err-disabled<\/code>).<br \/>\n2.  <strong>Access Assignment:<\/strong> Run <code>show interfaces &lt;interface-id&gt; switchport<\/code> and verify the line <code>Access Mode VLAN: &lt;vlan-id&gt;<\/code> matches on both switchports.<br \/>\n3.  <strong>Port Security \/ BPDU Guard:<\/strong> If a port is in an <code>err-disabled<\/code> state, check for MAC violations or unauthorized switches\/bridges connected to PortFast-enabled ports.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_check_if_an_uplink_is_passing_trunked_VLAN_traffic\"><\/span>How do I check if an uplink is passing trunked VLAN traffic?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Do not use <code>show vlan brief<\/code> to check trunk links. Instead, use:<\/p>\n<pre><code class=\"language-text\">Switch# show interfaces trunk\n<\/code><\/pre>\n<p>Inspect the output under three specific sections:<br \/>\n*   <strong>Vlans allowed on trunk:<\/strong> Confirms the configuration permits the VLAN (e.g., <code>10,20,30,99<\/code>).<br \/>\n*   <strong>Vlans allowed and active in management domain:<\/strong> Verifies that the VLAN exists in the local database. If a VLAN is allowed on the trunk but not created on the switch, it cannot pass frames.<br \/>\n*   <strong>Vlans in spanning tree forwarding state and not pruned:<\/strong> Confirms the Spanning Tree Protocol (STP) has not blocked the VLAN to prevent a loop.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_can_devices_within_a_VLAN_communicate_but_Inter-VLAN_routing_fails\"><\/span>Why can devices within a VLAN communicate, but Inter-VLAN routing fails?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If hosts in VLAN 10 cannot ping hosts in VLAN 20:<br \/>\n1.  <strong>Global Routing:<\/strong> Ensure <code>ip routing<\/code> has been executed in global configuration mode. Without it, the switch behaves strictly as a Layer 2 bridge.<br \/>\n2.  <strong>SVI Status:<\/strong> Run <code>show ip interface brief<\/code> and verify both <code>Vlan10<\/code> and <code>Vlan20<\/code> show <code>Status: up<\/code> and <code>Protocol: up<\/code>.<br \/>\n3.  <strong>Endpoint Default Gateways:<\/strong> Ensure the connected host machines have their default gateway configured with the exact IP address assigned to their respective SVI (e.g., host in VLAN 10 must have its gateway set to <code>192.168.10.1<\/code>).<br \/>\n4.  <strong>Local Firewall Settings:<\/strong> Ensure host-level software firewalls (such as Windows Defender Firewall) are not dropping cross-subnet ICMP Echo Requests.<\/p>\n<hr>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Creating and configuring VLANs on a Cisco switch follows a systematic operational path: defining the VLAN in the database, assigning ports to access or trunk modes, and applying SVIs if inter-VLAN routing is required. By reserving VLAN IDs logically, limiting trunk exposure with allowed lists, and using clear diagnostic commands like <code>show vlan brief<\/code> and <code>show interfaces trunk<\/code>, you can ensure an organized, secure, and easily maintainable enterprise network topology.<\/p>\n<div class='sfsi_Sicons' style='width: 100%; display: inline-block; vertical-align: middle; text-align:left'><div style='margin:0px 8px 0px 0px; line-height: 24px'><span>Please follow and like us:<\/span><\/div><div class='sfsi_socialwpr'><div class='sf_fb_share sf_icon' style='text-align:left;vertical-align: middle;'><a href='https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fcciedump.spoto.net%2Fblog%2Fhow-do-i-create-a-vlan-on-a-cisco-switch_24257.html' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Facebook Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/fbshare_bck.png'  \/><\/a><\/div><div class='sf_twiter sf_icon' style='display: inline-block;vertical-align: middle;width: auto;margin-left: 7px;'>\r\n\t\t\t\t\t\t<a target='_blank' href='https:\/\/twitter.com\/intent\/tweet?text=How+Do+I+Create+a+VLAN+on+a+Cisco+Switch%3F+https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html'style='display:inline-block' >\r\n\t\t\t\t\t\t\t<img data-pin-nopin= true width='auto' class='sfsi_wicon' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/en_US_Tweet.svg' alt='Tweet' title='Tweet' >\r\n\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div><div class='sf_pinit sf_icon' style='text-align:left;vertical-align: middle;float:left;line-height: 33px;width:auto;margin: 0 -2px;'><a href='#'  onclick='sfsi_pinterest_modal_images(event,\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\",\"How Do I Create a VLAN on a Cisco Switch?\")' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Pin Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/share_icons\/Pinterest_Save\/en_US_save.svg'  \/><\/a><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Segmenting a local area network (LAN) into Virtual Local Area Networks (VLANs) is one of the fundamental tasks in network administration. VLANs isolate Layer 2 broadcast domains on a physical switch, which improves security, reduces broadcast collisions, and groups network endpoints logically by role or department (such as Data, Voice, Management, and Guest networks) regardless&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\">read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,608],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How Do I Create a VLAN on a Cisco Switch? - SPOTO Official Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Create a VLAN on a Cisco Switch? - SPOTO Official Blog\" \/>\n<meta property=\"og:description\" content=\"Segmenting a local area network (LAN) into Virtual Local Area Networks (VLANs) is one of the fundamental tasks in network administration. VLANs isolate Layer 2 broadcast domains on a physical switch, which improves security, reduces broadcast collisions, and groups network endpoints logically by role or department (such as Data, Voice, Management, and Guest networks) regardless... &raquo; read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\" \/>\n<meta property=\"og:site_name\" content=\"SPOTO Official Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-02T07:41:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-02T07:41:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SPOTO \u7f16\u8f91\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\",\"name\":\"SPOTO Club\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"caption\":\"SPOTO Club\"},\"logo\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\"},\"description\":\"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205\",\"sameAs\":[\"https:\/\/cciedump.spoto.net\/\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/\",\"name\":\"SPOTO Official Blog\",\"description\":\"Focus on Online IT Training for 20+ Years\",\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#webpage\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\",\"name\":\"How Do I Create a VLAN on a Cisco Switch? - SPOTO Official Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\"},\"datePublished\":\"2026-11-02T07:41:13+00:00\",\"dateModified\":\"2026-11-02T07:41:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cciedump.spoto.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Do I Create a VLAN on a Cisco Switch?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#webpage\"},\"author\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\"},\"headline\":\"How Do I Create a VLAN on a Cisco Switch?\",\"datePublished\":\"2026-11-02T07:41:13+00:00\",\"dateModified\":\"2026-11-02T07:41:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#webpage\"},\"wordCount\":1466,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"articleSection\":[\"CCNA Certification\",\"Cisco Certification\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\",\"name\":\"SPOTO \u7f16\u8f91\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793350507\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793350507\",\"caption\":\"SPOTO \u7f16\u8f91\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Create a VLAN on a Cisco Switch? - SPOTO Official Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html","og_locale":"en_US","og_type":"article","og_title":"How Do I Create a VLAN on a Cisco Switch? - SPOTO Official Blog","og_description":"Segmenting a local area network (LAN) into Virtual Local Area Networks (VLANs) is one of the fundamental tasks in network administration. VLANs isolate Layer 2 broadcast domains on a physical switch, which improves security, reduces broadcast collisions, and groups network endpoints logically by role or department (such as Data, Voice, Management, and Guest networks) regardless... &raquo; read more","og_url":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html","og_site_name":"SPOTO Official Blog","article_published_time":"2026-11-02T07:41:13+00:00","article_modified_time":"2026-11-02T07:41:15+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SPOTO \u7f16\u8f91","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638","name":"SPOTO Club","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","caption":"SPOTO Club"},"logo":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo"},"description":"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205","sameAs":["https:\/\/cciedump.spoto.net\/"]},{"@type":"WebSite","@id":"https:\/\/cciedump.spoto.net\/blog\/#website","url":"https:\/\/cciedump.spoto.net\/blog\/","name":"SPOTO Official Blog","description":"Focus on Online IT Training for 20+ Years","publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#webpage","url":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html","name":"How Do I Create a VLAN on a Cisco Switch? - SPOTO Official Blog","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#website"},"datePublished":"2026-11-02T07:41:13+00:00","dateModified":"2026-11-02T07:41:15+00:00","breadcrumb":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cciedump.spoto.net\/blog"},{"@type":"ListItem","position":2,"name":"How Do I Create a VLAN on a Cisco Switch?"}]},{"@type":"Article","@id":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#article","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#webpage"},"author":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1"},"headline":"How Do I Create a VLAN on a Cisco Switch?","datePublished":"2026-11-02T07:41:13+00:00","dateModified":"2026-11-02T07:41:15+00:00","mainEntityOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#webpage"},"wordCount":1466,"commentCount":0,"publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"articleSection":["CCNA Certification","Cisco Certification"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cciedump.spoto.net\/blog\/how-do-i-create-a-vlan-on-a-cisco-switch_24257.html#respond"]}]},{"@type":"Person","@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1","name":"SPOTO \u7f16\u8f91","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793350507","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793350507","caption":"SPOTO \u7f16\u8f91"}}]}},"_links":{"self":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24257"}],"collection":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/comments?post=24257"}],"version-history":[{"count":1,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24257\/revisions"}],"predecessor-version":[{"id":24302,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24257\/revisions\/24302"}],"wp:attachment":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media?parent=24257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/categories?post=24257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/tags?post=24257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}