🔔If you experience any difficulties before or after finalizing your order, please reach out to us through email at support@ciscoforall.com

How to create Virtual Lan

in Networking Notes on May 22, 2013

It is used for security of switch and used for reduce broadcasting. It simplifies network management. It is a logical grouping of uses by function, or simply we can say that it is the logically division of switch.

vlan

 

How to create Virtual Lan:

  • Switch# vlan database
  • Switch(vlan)# vlan 2 name IT
  • Switch(vlan)# vlan 3 name HR
  • Switch(vlan)#exit
  • Switch#

How to assign switch ports to vlan

vlan

  • Switch# conf terminal
  • Switch(conf)# interface fastethernet 0/1     (or to assign numbers of ports)
  • Switch(conf)# int range fa 0/1 – 8
  • Switch(conf)# switchport access vlan 2
  • Switch(conf)# exit
  • Switch(conf)# int range fa 0/9 – 15
  • Switch(conf)# switchport access vlan 3
  • Switch(conf)# exit

How to show or view the vlan

  • Switch(conf)# show vlan

How to remove the port from that vlan

  • Switch(conf)# int range 0/1 – 8
  • Switch(conf)# no switchport access vlan 2
  • Switch(conf)# exit
  • Switch(conf)# int range 0/9 – 15
  • Switch(conf)# no switchport access vlan 3
  • Switch(conf)# exit

 

Cart (0)

  • Your cart is empty.