Introduction à la sécurité sur une Switch Cisco via la MAC adresse d’une station ou d’un serveur.
Configuration de la sécurité sur un port (MAC)
- enable
- (votre mot de passe)
- conf t
- interface FastEthernet 0/1
- switchport mode access
- switchport port-security
- switchport port-security maximum 1
- switchport port-security mac-address sticky
- switchport port-security violation shutdown
- end
- copy running-config startup-config
- show port-security
Réactiver un port
- conf t
- interface FastEthernet 0/1
- shutdown
- no shutdown
- end
Enlever la fonction de sécurité sur le port
clear port-security sticky
Il doit avoir au moins 1 packet (ex: ping) afin que la switch conserve la MAC sur le port sécurisé.