Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

port-security in packet tracer's 2960 switch

Hi,

I try to learn by myself. I would like to try the port security in the packet tracer software. I added a pc with an IP address, a 2960 switch on the workbench, and I connected them with straight-through cable. The tutorial said:

-in the interface configure mode:

(config-if)>  switchport mode access

(config-if)>  switchport port-security mac-address 0001.1231.1234

but the last steps doesn't seem to work, because the cli shows:

Port-security not enabled on interface FastEthernet0/1.

I tried to find solution on the web, but I found that the above two lines should be enough to work the port-security feature. Could somebody help me?

Any advice welcome

thank you

2 REPLIES
New Member

port-security in packet tracer's 2960 switch

I'm so sorry. I found I forget to enable it before the last line with the command:

(config-if)> switchport port-security

bye

Cisco Employee

port-security in packet tracer's 2960 switch

Mary,

Yes here is the procedure to enable the port-security:

Switch(config)#int f0/1

Switch(config-if)#switchport mode access  >>> First make this port as access port.

Switch(config-if)#switchport port-security   >>> Enable the port security.

Switch(config-if)#switchport port-security mac-address 000.1111.2222 >> configure the mac address.

HTH

regards

Inayath

*Plz rate the usefull post and mark the thread as answered if this solved your issue.

1626
Views
0
Helpful
2
Replies
CreatePlease to create content