cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
598
Views
9
Helpful
3
Replies

switchport mode access

explorer_ba
Level 1
Level 1

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

3 Replies 3

juergen.fischer
Level 1
Level 1

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
Cisco Employee
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.

HTH

Ankur

*Pls rate all helpfull post

thx

Review Cisco Networking for a $25 gift card