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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

C2960 port loop disable ports

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

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: C2960 port loop disable ports

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.

Re: C2960 port loop disable ports

See my prevous post.

5 REPLIES

Re: C2960 port loop disable ports

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

Re: C2960 port loop disable ports

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.

New Member

Re: C2960 port loop disable ports

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-

Re: C2960 port loop disable ports

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

Re: C2960 port loop disable ports

See my prevous post.

396
Views
0
Helpful
5
Replies