3750 Port Security Question?

Answered Question
Jul 16th, 2007
User Badges:

Someone enabled port security on a 3750 switch that we need to disable. Is there a global configuration command that I can use instead of trying to disable it manually on 48 ports? any other recommendations will be appreciated.. Thanks,

Correct Answer by Jon Marshall about 9 years 10 months ago

Hi


Could you not just do


switch(conf t)# int range fa0/1 - 48


if gig ports gi0/1 - 48


switch(config-if-range)# no switchport port-security


HTH


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Mon, 07/16/2007 - 05:41
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


Could you not just do


switch(conf t)# int range fa0/1 - 48


if gig ports gi0/1 - 48


switch(config-if-range)# no switchport port-security


HTH


Jon

Amit Singh Mon, 07/16/2007 - 05:54
User Badges:
  • Cisco Employee,

Agree with Jon, just use " interface range" command and disable the port-security on all the interface :


conf t

interface range gig 1/0/1 - 48

no switchport port-security


HTH,

-amit singh

johnny-diaz Mon, 07/16/2007 - 09:47
User Badges:

Awesome.. Thanks guys. 1 last thing to confirm. We have STP port fast enabled on that switch.. does removing port security cause problems with this or should I also disable Port Fast. Thanks for your help on this 3750.

sundar.palaniappan Mon, 07/16/2007 - 09:54
User Badges:
  • Green, 3000 points or more

Disabling port security shouldn't affect portfast or other configuration of the port.


HTH


Sundar

Actions

This Discussion