Académique Documents
Professionnel Documents
Culture Documents
Les vlan sont utiliss pour sparer les flux dans un rseau, deux VLAN ne peuvent pas
communiquer ensemble (exception faite dun routage inter VLAN).
Cration du Vlan 2 :
Switch>en
Switch#vlan database
Switch(vlan)#vlan 2
Laffectation des ports au Vlan 2 :
Switch>en
Switch#conf t
Switch(config)#interface fa 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2 #Affectation de fa0/1 au Vlan 2
Switch(config-if)#no shutdown #Activation interface
Switch(config-if)#exit
Le mode trunk :
Switch>en
Switch#conf t
Switch(config)#interface fastethernet 0/24
Switch(config-if)#switchport mode trunk #Affectation de fa0/1 en Trunk
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#exit
Le mode Trunk va permettre le tagge des trames afin de sparer les flux.