08-12-2013 03:23 AM - edited 03-07-2019 02:52 PM
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
08-12-2013 03:29 AM
I'm so sorry. I found I forget to enable it before the last line with the command:
(config-if)> switchport port-security
bye
08-12-2013 05:42 AM
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.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: