Vous êtes sur la page 1sur 8

LAB 3 

: port mode ,VLAN and port


security Configuration on switches

1) Configurer tous les ports en mode access?

Commande : interface range fastEhternet 0/1-24


Pour madrid 

Pour miami

2) Configurer Gig0/1 comme trunk ?


Commande  :
Madrid (config) #interface gigabitethernet0/1
Madrid (config-if) #switchport mode trunk
Madrid (config-if)#interface gigabitethernet 0/1
Madrid (config) #switchport mode trunk

Pour madrid 
Pour miami
3) Créer les Vlans :3 (Nom:Phone) , (Nom:Video) ,
(Nom:Wireless) ?
Commande :
Madrid (config) #vlan3
Madrid (config-vlan) #name Phone
Pour madrid 
Pour miami
4) Affecter Fa0/3 à Vlan3 ,Fa0/4 à Vlan4, Fa0/5 à Vlan5 .
Commande :
Madrid (config) #interface fastethernet0/3
Madrid (config-if) #switchport access vlan3

Pour madrid 
Pour miami

5) Shutdown Fa0/6, Fa0/7,Fa0/8,Fa0/9, Fa0/10 et Fa0/11?

Commande :

Madrid (config) #interface range fastethernet0/6-11


Madrid (config-range) #shutdown

Pour madrid

Pour miami
6) Configurer port-security à l’interface Fa0/12 (le port
laisse seulement 5 Adress mac connectées, si une
violation est arrivées le port sera désactivés?
Commande :

miami(config)#interface fastEthernet 0/12


miami(config-if)#switchport mode access
miami(config-if)#SWitchport port-security max 5
miami(config-if)#switchport port-security violation shutdown
miami(config-if)#end

Pour madrid 

Pour miami

Vous aimerez peut-être aussi