home Discovery ospf Sources Configs wiki

configuring switchport security


switch 1:
configuring port security:

enable
config t

interface range fastethernet 0/1-2
switchport port-security
switchport port-security maximum 1

switchport port-security mac-address sticky
switchport port-security violation restrict

exit


Disabling Ports


enable
config t
interface range fa0/3-24
shutdown
exit
interface range gig0/1-2
shutdown

interface range fastethernet 0/3-24, gigabitethernet 0/1-2
do show ip interface brief
no shutdown

verify port security oftewel mac addressen checken

aanzetten uitgeschakelde porten:

s1
show running config
enable
config t
interface fastethernet 0/3
no shut

Displaying port security violations:

enable
show port-security interface fastethernet 0/2