Configuration de Port-security
Configuration de port-security
ProCurve Switch 2650(config)# port-security ethernet 48 learn-mode
continuous Continuous MAC address learn mode.
static Static MAC address learn mode.
configured Static MAC address configured mode.
port-access Learn port-access authorized MAC address only.
limited-continuous Limited continuous MAC address learn mode.
Limite d'adresse MAC
ProCurve Switch 2650(config)# port-security ethernet 48 address-limit <NB Adresses MAX>
Alarme
ProCurve Switch 2650(config)# port-security ethernet 48 action
none
send-alarm
send-disable
Fixer une adresse MAC
ProCurve Switch 2650(config)# port-security ethernet 48 mac-address 00:00:00:00:00:01
Expiration de l'adresse MAC avant nouvelle apprentissage
ProCurve Switch 2650(config)# mac-age-time 60
Vérification
ProCurve Switch 2650(config)# show port-security ethernet 48
Port Security
Port : 48
Learn Mode [Continuous] : Continuous
Action [None] : None