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

Answered Question
Sep 21st, 2008
User Badges:

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?!


Thanks!

Caue Wailemann

---

http://cauew.blogspot.com

---

Correct Answer by Jon Marshall about 8 years 8 months ago

Caue


Try "clear spantree portcost 6/4"


http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/7.x/command/reference/cl_m_cop.html#wp1198352


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.


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Giuseppe Larosa Sun, 09/21/2008 - 12:13
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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

Giuseppe

Correct Answer
Jon Marshall Sun, 09/21/2008 - 12:15
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Caue


Try "clear spantree portcost 6/4"


http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/7.x/command/reference/cl_m_cop.html#wp1198352


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.


Jon

Actions

This Discussion