Packet Tracer - Configuring Switch Port Security
Addressing Table
Configuring Switch Port Security
S1> en
S2# conf ter
S1(config)# interface range fa0/1-2
S1(config-if-range)# switchport port-security
S1(config-if-range)# switchport port-security
S1(config-if-range)# switchport port-security maximum 1
S1(config-if-range)# switchport port-security violation restrict
S1(config-if-range)# exit
S1(config)# interface range fa0/3-24
S1(config-if-range)# exit
S1(config)# interface range g0/1-2
S1(config-if-range)#
S2# conf ter
S1(config)# interface range fa0/1-2
S1(config-if-range)# switchport port-security
S1(config-if-range)# switchport port-security
S1(config-if-range)# switchport port-security maximum 1
S1(config-if-range)# switchport port-security violation restrict
S1(config-if-range)# exit
S1(config)# interface range fa0/3-24
S1(config-if-range)# exit
S1(config)# interface range g0/1-2
S1(config-if-range)#
There are a few missed code lines
ReplyDelete...
S1(config-if-range)# switchport port-security maximum 1
S1(config-if-range)# switchport port-security mac-address sticky
...
S1(config)# interface range fa0/3-24
S1(config-if-range)# shutdown
S1(config-if-range)# exit
S1(config)# interface range g0/1-2
S1(config-if-range)# shutdown