Just more ramblings of another IT Guy

Add VLAN to cisco switch

When you need to group ports on a cisco switch into a VLAN do the following

  1. Log onto terminal
  2. enable
  3. conf t
  4. vlan 1001  (where 1001 is the vlan id to be assigned
  5. name ExampleVLANname
  6. exit

This creates the VLAN. Now it is time to assign the ports to the VLAN

Whicle still in “conf t”

  1. interface fastethernet 0/1  (where 0/1 is the port to be edited)
  2. switchport access vlan 1001
  3. no shutdown
  4. exit

Make sure to copy the running config to startup

#copy run start

This entry was posted in Cisco, Tips+Tricks. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *