cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
552
Views
0
Helpful
2
Replies

Port security versus switchport port-security

Spinu Viorel
Level 1
Level 1

Hello,

I am studing for SNRS and for configuring MAC Spoofing I found these commands:

port security max_mac_count [1..132]

port security action [shutdown/trap]

But, before that I learnen about Cam Table Overflow mittigation with these commands:

switchport port-security maximmum [nr]

switchport port-security violation [protect/restrict/shutdown]

and others...

Is there a difference between these two comands ?

Thank U!

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Spinu,

I may be wrong but the different syntaxes are probably related to different IOS images and I think the first commands were the first manner to configure port security later the commands have been integrated with the

switchport .... format

if so there is no functional differences between the two sets of commands

Hope to help

Giuseppe

thanks for reply... I was wondering why there are two diffrent configurations for the same action. It is confusing!

Regards!