CatOS, how to remove a command from the config?!

Answered Question
Sep 21st, 2008

In CatOS is there anything like the "no" in the IOS ?!

I want to remove a few command lines from a Core Switch, like that:

set spantree portcost 6/4 3004

I know that the "no" keyword before the line doesnt work, any thoughts?!


Caue Wailemann



I have this problem too.
0 votes
Correct Answer by Jon Marshall about 8 years 4 months ago


Try "clear spantree portcost 6/4"

The problem with CatOS is with a number of commands it's not possible to clear it out of the config but the above should work in your case.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Giuseppe Larosa Sun, 09/21/2008 - 12:13

Hello Caue,

if 6/4 is a FE 100 Mbps

set spantree portcost 6/4 19

if 6/4 is a GE 1000 Mbps

set spantree portcost 6/4 4

these should be the default STP costs.

Hope to help



This Discussion