Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

RSTP

How can I check the convergence time of my network using wireshark? If i have 2 switches and I purposly create a loop for testing purposes and then I break the link that is forwarding, i want to figure out how fast is my switch taking to forward traffic.

Thanks!!!
0
TAMSCODAN
Asked:
TAMSCODAN
  • 4
  • 3
1 Solution
 
Don JohnstonInstructorCommented:
Run a continuous ping between two hosts that cross between the switches. Then disconnect the forwarding link and see how long it takes for the pings to resume.
0
 
TAMSCODANAuthor Commented:
Thats not a good solution because there is a 1 second delay between Ping therefore i would not get an accurate reading in milliseconds. That is why i want to know how to do this on wireshark to get the actual interval. I have mirrored both the forwarding port and the discarding port but I really dont understand how to get the info on wireshark as to how long that transition is taking.
0
 
Don JohnstonInstructorCommented:
Expecting spanning tree to converge in milliseconds is not practical.  The worst you should see (properly configured) is 2-3 seconds. The best I would expect is about 1 second.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
TAMSCODANAuthor Commented:
RSTP as i understand it can also converge in appx 500ms on a small network. I am just trying to find the way to measure it on wireshark
0
 
Don JohnstonInstructorCommented:
How fast depends on the failure mode.  Half-second convergence is like the old EPA gas mileage estimates. That's a best case scenario. 1-3 seconds is typical.
0
 
TAMSCODANAuthor Commented:
ok, regardless of the timing I just want to know how to get it documented on a capture using wireshark. I appritiate your help but I want to know how to verify this information.
0
 
Don JohnstonInstructorCommented:
What kind of switches? Most managed switches log events. You should be able to see when a link goes down and when the blocking link starts to forward.
0
 
Nayyar HH (CCIE RS)Network ArchitectCommented:
Enable timestamps and use "debug spanning-tree event"

This would displays all spanning tree events, such as changes to the root or to the status of any of the ports. Also shows progress through listening and learning states to forwarding state. So you should see convergence take place.


config t
service timestamps debug datetime msec
end
debug spanning-tree event
0

Featured Post

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.

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