VLAN Configuration

 






VLANs are used to divide a physical LAN into multiple broadcast domains to isolate services with the aim of improving the security and management of the network. Hosts within a VLAN can directly communicate only with other hosts in the same VLAN and must use a router to communicate with hosts in other VLANs.

Put IP Address to every PC Like this:

 

PC0

 





PC1

 


 

Now go to Switch CLI mode and done those command:


 

 

Here are the Configuration command for two Switch:

 

 

Switch>

Switch>en

Switch#

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 15

Switch(config-vlan)#name SRK

Switch(config-vlan)#

Switch(config-vlan)#ex

Switch(config)#

Switch(config)#vlan 16

Switch(config-vlan)#name SK

Switch(config-vlan)#ex

Switch(config)#

Switch(config)#int range f0/1-2

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 15

Switch(config-if-range)#ex

Switch(config)#

Switch(config)#int range f0/3-4

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 16

Switch(config-if-range)#ex

Switch(config)#

 

 

 

 





Comments

Popular posts from this blog

Static Routing Protocol Configuration

BitLocker installation

Backup & Restore process of CISCO Router