switchport mode access

Unanswered Question
Sep 7th, 2007
User Badges:


I need little help, becouse I don t understand when I configure port security on switch, do I need to use

switchport mode access and then

switchport port-security something

or I can use just 2 line,

when I should use first line


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
juergen-fischer Fri, 09/07/2007 - 00:26
User Badges:

switchport mode access may answer an expert please.

Talking about port-security from my point of view you need an explicit line

switchport port-security

beside the other commands

switchport port-security something1

switchport port-security something2

Otherwise port security is configured but not enabled.


ankbhasi Fri, 09/07/2007 - 00:27
User Badges:
  • Cisco Employee,

Hi Friend,

By default switchports are in dynamic desirable mode and port security can only be configured on static access ports or trunk ports. A secure port cannot be a dynamic access port.

That is the reason it is required for you to configure 1st line and then come down to 2nd line of your config.



*Pls rate all helpfull post


This Discussion