switchport mode access

Unanswered Question
Sep 7th, 2007

Hello

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

thx

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
juergen-fischer Fri, 09/07/2007 - 00:26

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.

Juergen

ankbhasi Fri, 09/07/2007 - 00:27

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.

HTH

Ankur

*Pls rate all helpfull post

Actions

This Discussion