HOW TO CREATE VLAN,TYPE OF VLAN AND ADVANTAGES
To create and name a static VLAN, open console connection to Switch 1, and move to global configuration mode. Enter the following IOS commands to create VLAN 10 and name VLAN 10 as ‘engineering’.
SW1>enable
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan 10
SW1(config-vlan)#name engineering
SW1(config-vlan)#exit
SW1(config)#exit
SW1#
Enter the following IOS commands to create another VLAN, VLAN 20 and name VLAN 20 as ‘planning’.
SW1>enable
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan 20
SW1(config-vlan)#name planning
SW1(config-vlan)#exit
SW1(config)#exit
SW1#
To delete the VLAN, just use the no form of the above command.
mytech.com.SW1(config)#no vlan 10
It is very easy to create and name a static VLAN. Refer our lab setup below, where two switches are connected using a trunk link.
Hpw to creat and static blan
TYPE OF MEMBERSHIP
• Static VLANs: In a static VLAN, the network administrator creates a VLAN and then assigns switch ports to the VLAN. Static VLANs are also called port-based VLANs. The association with the VLAN does not change until the administrator changes the port assignment. End-user devices become the members of VLAN based on the physical switch port to which they are connected.
The ports on a single switch can be assigned multiple VLANs. Even though two devices are connected to different ports on a same switch, traffic will not pass between them if the connected ports are on different VLANs. We need a layer 3 device (typically a Router) to enable communication between two VLANs.
• Dynamic VLANs: In a dynamic VLAN, the switch automatically assigns the port to a VLAN using information from the user device like MAC address, IP address etc. When a device is connected to a switch port the switch queries a database to establish VLAN membership. A network administrator must configure VLAN database of a VLAN Membership Policy Server (VMPS).
Dynamic VLANs support instant movability of end devices. When we move a device from a port on one switch to a port on another switch, the dynamic VLANs will automatically configure the membership of the VLAN.
The Advantages of VLAN are listed below.
• Broadcast Control: Broadcasts are required for the typical capacity of a system. Numerous conventions and applications rely upon communicate correspondence to work legitimately. A layer 2 exchanged system is in a solitary communicate area and the communicates can achieve the system portions which are so far where a specific communicate has no extension and expend accessible system data transfer capacity. A layer 3 gadget (commonly a Router) is utilized to fragment a communicate space.
On the off chance that we portion a substantial LAN to littler VLANs we can diminish communicate activity as each communicate will be sent on to the significant VLAN as it were.
On the off chance that we portion a substantial LAN to littler VLANs we can diminish communicate activity as each communicate will be sent on to the significant VLAN as it were.
• Security: VLANs give improved system security. In a VLAN organize condition, with different communicate areas, arrange chairmen have control over each port and client. A malignant client can no longer simply connect their workstation to any switch port and sniff the system movement utilizing a parcel sniffer. The system manager controls each port and whatever assets it is permitted to utilize.
VLANs help to confine delicate movement starting from an undertaking office inside itself.
VLANs help to confine delicate movement starting from an undertaking office inside itself.
• Cost: Segmenting a substantial VLAN to littler VLANs is less expensive than making a steered coordinate with switches in light of the fact that regularly switches costlier than switches.
• Physical Layer Transparency: VLANs are straightforward on the physical topology and medium over which the system is associated.