Thursday, 14 February 2019
VLAN (Virtual Local Area Configuration)
VLAN (Virtual Local Area Network)
1. Vlan is
used for to set the security in switch
2. Vlan is provide
to communicate particular PC its particular PC
3. Vlan are of
three type
a Simple Vlan
b Different Vlan
c Inter Vlan
In simple Vlan only one vlan is create.
In Different Vlan two or more then two Vlan is create
In Inter Vlan connection between two or more network and two or more vlan is created.
Simple Vlan
Diagram
Basic Configuration:- Give ip address to all pc's
Switching Configuration:- Go to switch
Switch>enable
Switch#config terminal
Switch(config)#hostname s1
First create vlan
s1(config)#vlan 10
s1(config-vlan)#name iant
s1(config-vlan)#exit
Now add fast ethernet in Vlan
s1(config)#int f0/1
s1(config-if)#switchport mode access
s1(config-if)#switch access vlan 10
s1(config)#int f0/4
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 10
s1(config-if)#exit
s1(config)#int f0/7
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 10
s1(config-if)#exit
Switch#config terminal
Switch(config)#hostname s1
First create vlan
s1(config)#vlan 10
s1(config-vlan)#name iant
s1(config-vlan)#exit
Now add fast ethernet in Vlan
s1(config)#int f0/1
s1(config-if)#switchport mode access
s1(config-if)#switch access vlan 10
s1(config)#int f0/4
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 10
s1(config-if)#exit
s1(config)#int f0/7
s1(config-if)#switchport mode access
s1(config-if)#switchport access vlan 10
s1(config-if)#exit
Now check
Send package from pc's
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment