I want to make a certain switch in the network root, but all I remember is the command "set spantree root vlan-id"

Sadly, the "set" command is not available on this switch. How do I proceed?

EDIT: I think I did it with the following command, in config mode:

spanning-tree vlan <number> root primary

Sadly, I have no idea how to confirm this. That becomes the question now.

  • Are you in enable mode? Is this a CatOS switch or IOS switch?
    – EEAA
    Oct 14 '10 at 22:17
  • I am in enable mode, and it's an IOS switch: C2960 version 12.2(25)FX
    – KdgDev
    Oct 14 '10 at 23:00
  • Editted the first post.
    – KdgDev
    Oct 14 '10 at 23:17

1(Enter global configuration mode): configure terminal

2(change priority): spanning-tree vlan priority primary

if you have problem try

(number priority): (config)#spanning-tree vlan vlan-id priority 24576

(disable uplinkfast, UplinkFast cannot be enabled on VLANs that have been configured with a switch priority): (config)#no spanning-tree uplinkfast

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.