Saturday, November 5, 2016

52 comments

STP Practice Exercise

                      Let’s see, what we learned about Spanning Tree Protocol so far, and do a paper exercise. Let’s take a look at this topology and Determined Theoretically.
Ø  Who would be the Root Bridge?
Ø  What would be the Root Port’s?
Ø  Which Ports would be the Designated Ports?
Ø  Which Ports would be Blocking?
The First Question we ask is “Who is the Root Bridge”

               Remember that the Mac-Address is the Tie-Breaker, if the Priority is equal. Let’s take a look at Priorities “do they equal”.
                  I am noticing that, the Priorities for Switches A and B, they are lower, they 16384. Those are lower than the Priorities on Switches C and D, that means that either, Switches A or Switch B is going to be our Root Bridge, but which one.
                  Here what the Mac-Addresses come as a Tie-Breaker, which switch as the “Lowest Mac-Address”, if we take a look at first 3 Hexadecimal digits in the Mac-Addresses of these Switches. Switch A has the first 3 Hex Digits as “000”. On Switch B, its “001”. “000” that’s lower than “001”, that tells us that, Switch A is going to be our Root Bridge.
          Now that we determined the Root Bridge. The next thing we ask is
Ø  What are the Root Ports?

              Remember the definition of the Root Port. We said that “the Root Port is a port on a Non-Root Bridge, the Root Bridge, Switch A is not going to have any of these, but it’s the port on a Non-Root Bridge, that is closest to Root Bridge in terms of Cost”, and we going to assume that, all over those interfaces are running out their maximum speed, another words this “Te interface” that’s a “10 Gigabit interface”, we assuming, it running out “10 Gigabit” and if does that means, it’s gonna have “Cost of 2”, and a “Gigabit interface”, which is what all over the other interfaces are, there gonna have a Cost of 4.
And let’s take at Switch B and ask: -
What is the Root Port on Switch B? What would be the Cost to get back to Switch A.
 Well if I went out of the 10 Gigabit Port, it would be a Cost of 2 to cross the link to get to Switch A. I got other ways of getting the Switch A though.
            I could go down to “Switch C with Cost of 4” and then go, from Switch C, up to Switch A, with another Cost of 4, that the Total of “8”, 8 is much more than 2.
 
  Ø  Same thing, if I went from Switch B to D, Switch D to Switch A, that would be a Cost of 4+4=8, much greater than 2. This tells me that my “Root Port” on Switch B is my Te 1/0/1(10 Gigabit).
                 What about Switch D, Well Switch D could go directly to the “Root Bridge over a Gigabit1/0/1 Port”, that would be a “Cost of 4” or It could go over to Switch B, which would be a “Cost of 4”, than over to Switch A that an additional “Cost of 2”, 4+2=6, 6 is greater than 4, that tells me that, Gigabit 1/0/1, that is my Root Port on Switch D.
               Next Switch C, on Switch C if, I went from to Switch C to B to A, that’s the “Total Cost of 6”, but Notice Switch C has a couple of Ports, that would get me up to Switch A. Now let’s start to get a bit tricky.
Ø  Which one of these is going to be Root Port, which one is considered closet to the Root in terms of Cost.
               It looks like, we have an equal Cost, either path is a Cost of 4, what do, we do now. Well this is a common point of confusion for student learning Spanning Tree ProtocolWe going to go with the “Lowest Port ID”, but it’s not the “Lowest Port ID on Switch C. It’s the Lowest Port ID, that is sending traffic into Switch C. It’s the “Sender’s Port ID”, that’s we gonna be comparing. In this case “Gigabit 1/0/3 and Gigabit 1/0/4”.
              With default settings “Gigabit 1/0/3” is going to have the “Lowest Port ID”, because the “Port Number is Lower”.
               You see the way the Port ID works is, there is a Port Priority, that defaults to 128 and then there is a Dot (.), after the Dot (.), there is a Port Identifier, and typically on many Cisco Catalyst Switches. This Port Identifier is going to be a number, that’s too greater than this number.
Ø  So, I would guess that the Port ID of Gigabit 1/0/3 would be “128.5”
Ø  And the Port ID of Gigabit 1/0/4 would be “128.6” and Switch C can see that information.
                  It knows the “Port ID of the Sending Switch of the Far End Switch”, and the Root Port that Switch see is going to choose, is going to be on the link, that connects to the Lowest Port ID on the Far End. Which is Gigabit 1/0/3 with the Port ID of 128.5     
                 What if we wanted to manipulate that, though in the Real world?
What if I prefer that the link connecting into Gigabit 1/0/4 be used?

 Well we not able to change this (.6) component of the Port ID, that’s the Physical Location within the Switch. That’s Not Configurable.
                However, we can change the Port Priority (128), in this example, I could go to “Gigabit 1/0/4” and I could change the Port Priority from 128 to 64, making the Port ID 64.6 that would make it Lower than 128.5, that would make this Gigabit 1/0/4 Port, the link that was forwarding traffic.
                   But not in this case. IN this case, we have a Default Settings and since, Sender’s Port ID is less for 1/0/3 this link, that means that “Gigabit 1/0/10 is going to be my Root Port”, “that’s gonna be closet to the Root Bridge in terms of Cost”. The actual Cost was equal, so the Tie-Breaker became the link, which connected to the Lowest Port ID. The Port ID on far end Switch, Switch A in our case.
            We now identified the Root Ports. Next up we have Designated Ports?
             Ø  Who are the Designated Ports in this Topology?\

Remember the definition of a Designated Port, we said that every link, every network segment has a Designated Port, and “it’s the Port on that segment that’s closet to Root in terms of Cost”.
                And we said that we not going to get any closer to the Root, then actually being on the Root, which means that, all of the Ports on the Root Bridge are Designated Ports, and that count for 4 our links.
                   We don’t have that many lefts. We do have link between Switch D and B, and we going to ask “Which end of that is closet to the Root in terms of Cost
                   Well if I am looking from the prospective of, this Gigabit 1/0/5 end. If I am on Switch B, I got the Cost of 2, to get back to the Root, if I am on this Gigabit 1/0/2 end of the link, that would have a Cost of 4 to get back. So, this Gigabit 1/0/5 has the Lowest Cost. This means that, this Gigabit 1/0/5 is going to be my Designated Port on Switch B.
And we have one other link, and it’s this Gigabit 1/0/2 – 1/0/7 between Switch C and Switch B
       Ø  Who is the Designated Port Here?

                    Well by the same logic, if I am this Gigabit1/0/7 end of link, we gonna have the Cost of 2 going over that Te 1/0/x link, to get back to the Root Bridge, if we are in this Gigabit 1/0/2 (Switch C) end of link then I would have a Cost of 4, that means that this Gig1/0/7 going to be My Designated Port on Switch B.
We have 6 Links or Wire connected between Switches, So we have 6 Designated Port
                And we assuming that all of the interfaces are administratively up. We don’t have any to these interfaces that are administratively shut down, and if that’s the Case, any port that we don’t yet Labeled, is going to be a Blocking Port or rest of the Ports are Blocking Port.

Ø  This Gigabit 1/0/2 on Switch D is going to be a Blocking Port
Ø  This Gigabit 1/0/11 on Switch C is going to be a Blocking Port.
Ø  And this Gigabit 1/0/2 on Switch C is going to be a Blocking Port.

And what we able to do in this Practice Exercise is determine
Who is the Root Bridge: -  Bridge with a lowest Bridge ID, we look for the Switches with Lowest Priorities and if we have Tie, Mac-Addresses of those switches become the Tie-Breaker.
Who were the Root Ports: - We said that “Root Ports was a Port on Non-Root Bridge, that was closest to Root in terms of Cost”, and we use the default Port Costs that were associated with different Interface Speeds:-

Ø  if we had a “10Mpbs Port that would be a Port Cost of 100”.
Ø  A 100 Mbps Port that would be a Cost of 19”.
Ø  A Gigabit Port is a Cost of 4
Ø  And 10Gigaport is a Cost of 2


               If You Like the Post. Don’t forget 
       to “Subscribe/Share/Comment”. Thank You.


52 comments:


  1. It is really a great and useful piece of info. I’m glad that you shared this helpful info with us. Please keep us informed like this.

    CCNA Training in Chennai

    ReplyDelete
  2. OMG! No comments, this exercise cleared aaaaaaaaaaaaall my doubts.

    ReplyDelete
  3. Thank you so much for sharing your informative post.Its really useful for me.keep updating such a wonderful post with us..
    No.1 Java Training Institute in Chennai | No.1 Java Training Center in Velachery

    ReplyDelete
  4. Your article is really an amazing with useful content, thank you so much for sharing such an informative information. keep updating.
    Best AWS Training Institute in Chennai | No.1 AWS Training Institute in Velachery

    ReplyDelete
  5. Thank you so much for sharing such an informative information with us.its really useful for everyone,keep updating such an wonderful blog you are shared.
    Best Linux Training Institute in Kanchipuram | No.1 Linux Training Institute in Kanchipuram

    ReplyDelete
  6. Your Blog is really awesome with useful content,its very helpful for us.Thanks for sharing such an wonderful article here..keep updating
    Best CCNA Training Institute in Kanchipuram | CCNA Training Center in Kanchipuram

    ReplyDelete
  7. Nice and good article.. it is very useful for me to learn and understand easily.. thanks for sharing your valuable information and time.. please keep updating.
    Best AWS Training Institute in Chennai | No.1 AWS Training Institute in Velachery

    ReplyDelete
  8. Thank you so much for sharing such an amazing post with informative information with us. It’s helpful for everyone, keep updating such a wonderful blog you are shared.
    Best Linux Training Institute in Kanchipuram | No.1 Linux Training Institute in Kanchipuram

    ReplyDelete
  9. Excellent post!!!. The strategy you have posted in this technology helped me to get into the next level and had lot of information in it.
    Microsoft Azure Training Institute in Kanchipuram | Microsoft Azure Training in Kanchipuram

    ReplyDelete
  10. Thank you so much for sharing such an amazing post with informative information with us. It’s helpful for everyone, keep updating such a wonderful blog you are shared.
    Best CCNP Training Institute in Chennai | CCNP Training in Velachery

    ReplyDelete
  11. Your Blog is really awesome with useful content,thank you so much for sharing such an informative information.keep updating your creative knowledge with helpful article..
    Best Java Training Institute in Chennai | Java Training Center in Velachery

    ReplyDelete
  12. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one. It was a really great experience. We had a really hard time because of four weeks, but at the end of the day it was awesome.

    Best Linux Training Institute in Kanchipuram | No.1 Linux Training Center in Kanchipuram

    ReplyDelete
  13. Information you shared in this site is very useful to know about the technology.Thanks for this information.Regards,
    Python Training Institute in Chennai | Python Training Institute in Nanganallur

    ReplyDelete
  14. Excellent post. The strategy you have posted in this technology helped me to get into the next level and had lot of information about STP practice exercise.Thanks and Regards,
    Android Training Institute in Chennai | Android Training Institute in Tambaram

    ReplyDelete
  15. Thank you so much for sharing such an amazing post with informative information with us. It’s helpful for everyone, keep updating such a wonderful blog you are shared.Best CCNA Training Institute in Chennai | CCNA Training Center in Velachery

    ReplyDelete
  16. Excellent post.You posted good information about practice exercise.Thanks and Regards,
    Android Training Institute in Chennai | Android Training Institute in Adyar

    ReplyDelete
  17. Wonderful post.Thanks for this information about the STP Practice exercise.Regards,
    VMWare Training Institute in Chennai | VMWare Training Institute in Thiruvanmiyur


    ReplyDelete
  18. In this blog you defined the STP practice exercise that is very effective.Thanks for this information.Regards,
    Python Training Institute in Chennai | Python Training Institute in Besant Nagar

    ReplyDelete
  19. This article is very efficiency to get information about the STP Practice exercise.Thanks for this Blog.Regards,
    IOS Training Institute in Chennai | IOS Training Institute in Saidapet

    ReplyDelete
  20. In this Blog you demonstrate the valuable information about the STP Practice exercise. Thanks for your wonderful information. Regards,
    Outstanding Python Exam Center in Chennai | Outstanding Python Exam Center in St.Thomas Mount

    ReplyDelete
  21. This Blog is very profitable for me that you explained about the STP Practice exercise. Thanks for your amazing information. Regards,
    Best Python Exam Center in Chennai | Best Python Exam Center in Porur

    ReplyDelete
  22. In this website you gave the information about the STP Practice Exercise which is very favourable. Thanks for your marvelous information. Regards,
    No.1 Cloud Computing Training Institute in Chennai | No.1 Cloud Computing Training Institute in Sholinganallur

    ReplyDelete
  23. This article contains the information about the STP Practice Exercise
    that is very gainful. Thanks for your awesome information. Regards,
    Excellent Android Training Institute in Chennai | Excellent Android Training Institute in Meenambakkam

    ReplyDelete
  24. I found a lot of interesting information here in this site. This is really good post, I’m very thankful and hopeful that you will write many more posts like this one. Regards,
    Top Most IOS Training Institute in Chennai | Top Most IOS Training Institute in Velachery

    ReplyDelete
  25. Awesome..You have clearly explained ...Its very useful for me to know about new things..Keep on blogging..
    Excellent Web Designing Training Institute in Chennai | Excellent Web Designing Training Institute in T.Nagar

    ReplyDelete
  26. It's interesting that many of the bloggers to helped clarify a few things for me as well as you giving. Most of your ideas can be nice content. Regards,
    Outstanding Selenium Training Institute in Chennai | Outstanding Selenium Training Institute in OMR

    ReplyDelete
  27. This is very efficiently written post. It will be valuable to anybody who employees it, including myself. Keep up the good work
    Perfect Python Training Institute in Chennai | Perfect Python Training Institute in Perungudi

    ReplyDelete

  28. Your Blog is really awesome with useful content. Thank you for taking the time to provide us with your valuable information. Keep sharing your post regularly. Regards,
    Best Web Designing Training Institute in Chennai | Best Web Desigining Training Institute in Taramani

    ReplyDelete
  29. This is really nice information. I was looking for this since a long time. Thanks for sharing. Regards,
    Best Cloud Computing Training Institute in Chennai | Best Cloud computing Training Institute in Chrompet

    ReplyDelete
  30. This is really nice information. I was looking for this since a long time. Thanks for sharing. Regards,
    TopMost Python Training Institute in Chennai | TopMost PythonTraining Institute in Madipakkam

    ReplyDelete
  31. Awesome Post!!!You have clearly explained .Its very useful for me to know about new things. Keep on blogging.
    Excellent Web Designing Institute in Chennai | Excellent Web Designing Institute in Pallikaranai

    ReplyDelete
  32. Your Blog is really awesome with useful content. Thank you for taking the time to provide us with your valuable information. Keep sharing your post regularly. Regards,
    VMware Training Institute in Chennai | VMware Training Institute in Keelkattalai

    ReplyDelete
  33. Your Blog is really Nice and Informative. Thanks for sharing such a interesting article. Keep updating. I really enjoy simply reading all of your weblogs.
    Perfect Cloud Computing Institute in Chennai | Perfect Cloud Computing Institute in Guindy

    ReplyDelete
  34. Nice Post! It is really interesting to read from the beginning & I would like to share your blog to my circles, keep sharing.
    Best Python Training Institute in Chennai | <a href="https://www.alltechzsolutions.in/python-training-in-chennai.php”> Best Python Training Institute in Naganallur </a>

    ReplyDelete
  35. Nice Post! It is really interesting to read from the beginning & I would like to share your blog to my circles, keep sharing.
    TopMost Cloud Computing Training Institute in Chennai | TopMost Cloud Computing Training Institute in Tambaram

    ReplyDelete
  36. Your Blog is really Nice and Informative. Thanks for sharing such a interesting article. Keep updating. I really enjoy simply reading all of your weblogs.
    Excellent VMWare Training Institute in Chennai | Excellent VMWare Training Institute in Adyar

    ReplyDelete
  37. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Perfect Python Exam Center in Chennai | Perfect Python Exam Center in Thiruvanmiyur

    ReplyDelete
  38. This is extremely helpful information. Very good work. Everything is very interesting to learn and easy to understood. Regards,
    Best Cloud Computing Training Institute in Chennai | Best Cloud computing Training Institute in Besant Nagar

    ReplyDelete
  39. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
    AWS Training Institute in Chennai | AWS Training Institute in Pallavaram

    ReplyDelete
  40. Nice Post! It is really interesting to read from the beginning & I would like to share your blog to my circles, keep sharing.
    Microsoft Azure Training Institute in Chennai | Microsoft Azure Training Institute in Porur

    ReplyDelete
  41. Your Blog is really Nice and Informative. Thanks for sharing such a interesting article. Keep updating. I really enjoy simply reading all of your weblogs.
    Android Training Institute in Chennai | Android Training Institute in Velachery

    ReplyDelete
  42. This is really nice information. I was looking for this since a long time. Thanks for sharing. Regards,
    Android Training Institute in Chennai | Android Training Institute in Meenambakkam

    ReplyDelete
  43. It's interesting that many of the bloggers to helped clarify a few things for me as well as you giving. Most of your ideas can be nice content. Regards,
    Linux Training in Chennai | Linux Training in T.nagar

    ReplyDelete
  44. This article contains the information Practice Exercise
    that is very gainful. Thanks for your awesome information. Regards,
    Java Training Institute in Chennai | Java Training Institute in Chrompet

    ReplyDelete
  45. This article is very efficiency to get information about the STP Practice exercise.Thanks for this Blog.Regards,
    Python Training Institute in Chennai | PythonTraining Institute in Nanganallur

    ReplyDelete
  46. Your Blog is really Nice and Informative. Thanks for sharing such a interesting article. Keep updating. I really enjoy simply reading all of your weblogs.
    Web Designing and Development Training Institute in Chennai | Web Designing and Development Training Institute in Thiruvanmiyur

    ReplyDelete
  47. Awesome post. Really you are shared very informative concept... Thank you for sharing. Keep on updating...
    Android Apps Training Institute in Chennai | Android Apps Training Institute in Besant Nagar

    ReplyDelete
  48. Awesome Post!!!You have clearly explained this info.Its very useful for me to know about new things. Keep on blogging.
    Web Desigining Training Institute in Chennai | Web Designing Training Institute in Pallavaram

    ReplyDelete
  49. It's very great post... Really you done a wonderful job ... Keep up the good work and continue sharing like this.
    VMware Training Institute in Chennai | VMware Training Institute in Meenambakkam

    ReplyDelete
  50. Thanks for posting your Informative blog… It is very useful for me, thanks a lot for sharing such a wonderful article…
    Android Training Institute in Chennai | Android Training Institute in T.nagar

    ReplyDelete