Configure Cisco Port Security on Switches and Router interface


  1. its a great about port security but i have trying much on simulator ( boson netsim )but it doesnt working proprely, what could the problem behind it ?

    Many Thnx

  2. Switch# show port-security address is listed 2 times 😉

    Thx for article

  3. Author

    Thanks Sorted!!!

  4. It’s very interesting but i need to know which simulator is best to practice these things.

  5. download PACKET TRACER for the simulation

    btw, thanks a lot for the information

  6. interface FastEthernet0/8
    switchport access vlan 4
    switchport mode access
    switchport port-security
    switchport port-security mac-address 001f.d010.62e9

    i have config as above. but sorry to say, it did not work!!!! any advise pls.

  7. Whoever use Boson simulator are warned that Bosn simulator is full of bugs. I have personal owned one, it is completely useless and decepful for Cisco learners. As a student you probably have trusted it. Unfortunately it is just opposite of what you thought it was. Anyone who reads this, please warn your friends not to waste the money and time getting Boson simulator.

  8. nice solution but how can i enable the errordisable port state.

  9. To enable shutdown the port and then give “no shut”. also ensure that the unwanted device has been removed from the port.

  10. Cool info provided.Thxn so much…

  11. Can the same mac addresses be put onto a number of ports on a cisco 2950 & 3750 switch.

  12. how can one configure multiple mac add on all the switch ports?

  13. Could you please help me,
    I configured port security to the switch port
    switchport access vlan ###
    switchport mode access
    swtichport port-security
    switchport port-security mac-address sticky
    no shut.

    After I cleared the port-security, I use show mac-address | include mac-address to check if the mac-address in the multiple switch ports, it is only show the port address I am working on it. every time I unable port security, the error-disable clear up, and the port is up. when I put the port security back, the error-disable come up, I check the fiber with know good to double check the problems, I didn’t change the NIC card yet, but I ping to check the NIC cards, the NIC card is good. Please help me.

  14. this article hepls alot, thanks.

    i did conf like

    Switch# conf t
    Switch(config)# interface fastethernet 0/1
    Switch(config-if)# switchport mode access
    Switch(config-if)# switchport port-security

    Chekc mac of your computer using ipconfig /all command or getmac command , eg mac is 1111.2222.3333

    Switchport(config-if)# switchport port-security mac-address 1111.2222.3333

    in packet tracer , it takes 2-5 min to shut the desired port so have patient to c the result.

  15. why i get this

    Port-security not enabled on interface FastEthernet0/1

    what should i do

  16. @ashish ive had also encountered the same problem before, but i found out that you have to activate 1st the port-security by typing this.. switchport port-security..

    Best wishes to everyone here!! ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *