Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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
up vote 0 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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