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

Set up Spanning Tree ports to forward or block

We have a 3560G switch that we are using on a ONS backbone. We have the last 16 ports running Trunked mode up to a 454 SONET ONS. These ports are currently connected to ML 1000 cards that control the IP portion of the SONET. I need to setup the spanning tree so that only one side of the SONET ring forwards and the other side is in blocking mode. How do I do this on the switch. I have spanning tree PVST enabled. What else do I need?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Set up Spanning Tree ports to forward or block

If you only want to prevent loop but don't care at which point it's done, then simply enabling spanning tree will be sufficient. But if you want to have control over your topology and decide yourself which port should be forwarding and which blocking, then you'll need to manually set root bridge and port cost in such way that spanning tree will put desired ports in blocking/forwarding mode.

Search CCO for "Understanding Spanning Tree".

7 REPLIES
New Member

Re: Set up Spanning Tree ports to forward or block

you do not have to tune in any configuration. basically switch mechanism includs spanning tress protocol to prevent from looping.

just connect into approprite ports, you can see block port and forwarding port by show command.

New Member

Re: Set up Spanning Tree ports to forward or block

Thats my problem that I am trying to figure out. Lets say that I have port 34 going to port 1 on a ML Card and port 35 on port 1 on another ML card. Basically the other side of the ring coming back in. Now when I do a sh spanning-tree inter giga 0/34 it say FWD. I get that same on port 35 (FWD). One of these should say BLK.

New Member

Re: Set up Spanning Tree ports to forward or block

If your switch is the root bridge for the VLAN in question, both ports should be FWD.

New Member

Re: Set up Spanning Tree ports to forward or block

Thanks for the help

New Member

Re: Set up Spanning Tree ports to forward or block

that's not impossible. i can make 100% sure that there must be blk port and forward port.

you need to see all of switch and see the status of spanning tree by show spanning.

Re: Set up Spanning Tree ports to forward or block

If you only want to prevent loop but don't care at which point it's done, then simply enabling spanning tree will be sufficient. But if you want to have control over your topology and decide yourself which port should be forwarding and which blocking, then you'll need to manually set root bridge and port cost in such way that spanning tree will put desired ports in blocking/forwarding mode.

Search CCO for "Understanding Spanning Tree".

New Member

Re: Set up Spanning Tree ports to forward or block

Thanks for all the help

334
Views
9
Helpful
7
Replies