Wednesday, 20 November 2013

How to Understanding Virtual LANs

Understanding Virtual LANs:

  • Logical segmentation/Partitioning exchangers
  • Traffic can only be passed to the terminal equipment of the same VLAN
  • Absolutely no traffic can pass to another VLAN
  • Best practice is to use a unique subnet for each VLAN (network)

How does VLAN work?

 When a frame enters a switch, it will be tagged with a vlan information.


Creating VLANs
  • from the privileged mode to create a VLAN
  • Exchanger #VLAN database
  • Switch (VLAN) #VLAN 2
  • Switch (VLAN) #exit
Creating VLAN from Global Configuration
    Switch(config)#vlan 2

Assigning Ports to a VLAN:

Switch(config)#interface fastethernet 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2

Note: you can also assign a port to create a VLAN VLAN has not been created.

Note: VLAN information stored in VLAN.dat located in Flash memory.

VLAN Creation Guidelines:
  • Maximum number of Vlan is switch dependent.
  • Most of the Cisco Catalyst desktop switch supports 128 separate spanning-tree instances, one for each VLAN.
  • VLAN Ethernet VLAN 1 is the factory default values.
  • Cisco Discovery Protocol and VTP advertisements are sent on VLAN 1.
  • Cisco Catalyst Switch IP address is in the management VLAN (VLAN 1, default).
VLAN Membership Modes:


Verifying the VLANs Created:


VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
2    VLAN0002                         active    
1002 fddi-default                       active    
1003 token-ring-default             active    
1004 fddinet-default                  active    
1005 trnet-default                     active    




0 comments:

Post a Comment