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?

  • 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 '14 at 19:01

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.

| improve this answer | |

If you have

no split-horizon

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

| improve this answer | |
  • 2
    Are you 100% sure? Can you provide a reference? – radtrentasei Apr 15 '14 at 19:48
  • No I am not 100% sure. – Lightly Salted Apr 16 '14 at 21:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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