• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • 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
 
ffleismaCommented:
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
 
ffleismaCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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