US Region

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10

EMEA Region

ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43


Grandmetric LTD
Office 584b
182-184 High Street North
E6 2JA
+44 20 3321 5276

  • en
  • pl
  • How to configure VLAN on Cisco

    Design & Configure

    How to configure VLAN on Cisco

    Technology: Enterprise Switching
    Area: VLAN
    Vendor: Cisco
    Software: 12.X , 15.X
    Platform: Catalyst Switches

    A VLAN is a group of end stations in a switched network that is logically segmented by function, team, or application, regardless of the physical locations of the users. VLANs have the same attributes as physical LANs, but you can group end stations even if they are not physically connected to the same switch.

    VLANs are numbered from 1 to 4094 (extended range). All configured ports belong to the default VLAN when you first bring up the switch. The default VLAN (VLAN1) uses only default values, and you cannot create, delete, or suspend activity in the default VLAN.

    You can create a VLAN by assigning a number to it; you can delete VLANs as well as move them from the active operational state to the suspended operational state. If you attempt to create a VLAN with an existing VLAN ID, the switch goes into the VLAN sub-mode but does not create the same VLAN again.

    To create a VLAN:

    switch#configure terminal
    switch(config)# vlan 15
    switch(config-vlan)# name accounting


    The name in the above configuration is optional but helps the administrator to keep the config clean


    To assign an Ethernet interface to a VLAN 15:

    switch#configure terminal
    switch(config)# interface FastEthernet 0/1
    switch(config-if)# switchport access vlan 15

    To verify VLANs you just created, issue:

    switch#show vlan





    Author: Marcin Bialy