• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

spanning tree on 2960s

I have  2 2960s and they have 2 links connect to each other. I checked spanning tree and they both in the forwarding state. Shouldn't one be blocked? Thanks
0
leblanc
Asked:
leblanc
  • 3
  • 2
  • 2
  • +1
5 Solutions
 
ffleismaSenior Network EngineerCommented:
on the root bridge, depending on which is elected as the root bridge, you'll see both ports as forwarding as these ports are designated ports

if you try and look at the other switch, you should see one of the ports in blocking state and one in forwarding state, which is the root port.

also, have you configured the swithcport connections are trunks and not access ports?
0
 
ffleismaSenior Network EngineerCommented:
Spanning Tree
0
 
giltjrCommented:
If you look at both switches and the both show both ports in forwarding state, then you most likely have them configured in a Etherchannel.

When you do this logically you have one port even though you really have multiple physical ports.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
leblancAccountingAuthor Commented:
I see. I looked on the other switch and it is indeed blocked and I think this is a mistake because we want to use both links to maximize the throughput. I will need to configure etherchannel on my switch stack. Thx
0
 
giltjrCommented:
Yes, to use both connections you need to configure them as a Etherchannel.

However, you won't get a true 50/50 split.   Etherchannel does not balance on per Ethernet frame or TCP Packet or UDP datagram.

The options for "port-channel load-balance"  are:

dst-ip
dst-mac
src-dst-ip
src-dst-mac
src-ip
src-mac

Default is src-mac.  We always change to src-dst-ip on devices that don't support src-dst-port.  I think the 2960 supports src-dst-ip, but it does not support src-dst-port.
0
 
leblancAccountingAuthor Commented:
Is  src-dst-ip or  src-dst-port better?
0
 
giltjrCommented:
src-dst-port is better, but not all devices support it.

src-dst-ip says to balance based on src and dst IP address.

src-dst-port says to balance based on src ipaddress:port and dst ipaddress:port.

With src-dst-ip if two hosts have multiple tcp connections to each other, all of them will go over the same physical connection.

With src-dst-port  if two hosts have multiple tcp connections to each other, each connection can go across a different physical connections.
0
 
Craig BeckCommented:
If you're using trunks you might see that both links are up but some VLANs are blocked on each link, depending on how you configure STP per-VLAN on each switch.

Obviously you've got this one sorted, but I just thought it might help in the future.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now