Port security for Switches

15 pts.
Tags:
Ethernet
Network security
Security
Switch configuration
Switches
Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport port-security Command rejected: FastEthernet0/1 is a dynamic port. Why is that happening?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Port security only works on Access ports. This is what you do:

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

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Shiko
    Yeah your right it worked that way but there is something else: When I've entered the command :switchport port-security mac-address 0000.0000. and connected the switch to another MAC, the port is up. Could you explain please?
    15 pointsBadges:
    report
  • mshen
    You need to specify the maximum number of mac-addresses allowed for the interface the default is 128. Use: switchport port-security max 1 You can also use a show command to check that the settings are correct. Use: show port-security interface fastethernet 0/1
    27,385 pointsBadges:
    report
  • chiragshandle
    The explanation was perfect. Thank you very much, Mshen.
    10 pointsBadges:
    report
  • bincejerome
    thanks.its working thanks a lot
    10 pointsBadges:
    report
  • Deebajah
    Hi Mshen,
    you are brilliant. you gave the answer directly and it works for me also from the first attempt.
    by the way, I have Network security assignment and I need help in that. I tried to do it. but it does not work well.
    can you help me please.   
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: