C2960 port loop disable ports

Answered Question
May 9th, 2008
User Badges:

Hi,

We had a problem with a C2960.

Someone grab a cable and added to two switch port in the same switch.

The switch disable our other two trunk ports with udld configure.


How do I configure the switch to disable only the two loop port and not the trunk ports?


//Jan

Another way - would be:-


spanning-tree portfast bpduguard default, this will disable the specific port where the loop was deteted.


And to save you time, checking the ports and re-enabling them after a loop has been removed:-


errdisable recovery cause bpduguard

errdisable recovery cause udld

errdisable recovery interval ## (seconds)


HTH.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Pravin Phadte Fri, 05/09/2008 - 02:37
User Badges:
  • Silver, 250 points or more

If the ports are not been used. Then the best way would be to admin shut them.

Correct Answer

Another way - would be:-


spanning-tree portfast bpduguard default, this will disable the specific port where the loop was deteted.


And to save you time, checking the ports and re-enabling them after a loop has been removed:-


errdisable recovery cause bpduguard

errdisable recovery cause udld

errdisable recovery interval ## (seconds)


HTH.

Jan Rockstedt Fri, 05/09/2008 - 02:54
User Badges:

No solution, we need to have the port up.


How can we setup the switch to only disable the user port and not the trunk port?


-J-

Pravin Phadte Fri, 05/09/2008 - 03:11
User Badges:
  • Silver, 250 points or more

If you can recrete the problem try to

configure port security in one of the option and find out which one would help.


Switch)# config t

Switch(config)# int fa0/10

Switch(config-if)# switchport port-security ?

aging Port-security aging commands

mac-address Secure mac address

maximum Max secure addresses

violation Security violation mode


http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.1E/native/configuration/guide/port_sec.html


let me know if this does help


Actions

This Discussion