3

I have seen spanning tree being configured on switches to prevent switching loops.

I recently noticed that show spanning tree command works on a Cisco 1841 router as well.

For what reasons would we want to configure spanning-tree on router. Any examples?

1
  • 3
    It's there because there are switch modules for the platform -- (H)WIC-4ESW. There's very little point to running STP on a routed interface.
    – Ricky
    Apr 14, 2014 at 19:01

2 Answers 2

6

On a general note: not everything that is present in parser, will actually work on given platform, or even makes sense.

In that particular case, you can enable spanning tree if you have either IRB (integrated routing & bridging) configured on ethernet ports, or you insert the integrated switching module (WIC-4ESW) into the router. Then, those ports are L2 by default and actually it makes sense to run STP on them to avoid loops.

0

If you have

no split-horizon

you should have spanning tree enabled. but that command is nearly never used.

2
  • 2
    Are you 100% sure? Can you provide a reference? Apr 15, 2014 at 19:48
  • No I am not 100% sure.
    – Honk
    Apr 16, 2014 at 21:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.