Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Port security versus switchport port-security

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
Hall of Fame Super Silver

Re: Port security versus switchport port-security

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

Community Member

Re: Port security versus switchport port-security

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

Regards!

144
Views
0
Helpful
2
Replies
CreatePlease to create content