Simmons Consulting, the Website of Toby Simmons

CatOS Config


I have been beating my head against the wall for an hour now and finally figured out the answer so I have to document it here. (This has everything to do with my OCD-ness.) When you are editing a Cisco Catalyst config (running CatOS) sometimes you make a mistake in the port configuration and you want to return it to a completely unconfigured state. Unfortunately, CatOS likes to keep remnants of the commands you have entered and it is hard to get rid of those parts, especially the trunking commands. For example, if you change the trunking state of a port then want to return it to an unconfigured mode, it might keep something like:

  1. clear trunk <mod>/<port> 1-4094

in the configuration. For the OCD in me, this drives me nuts. I want it to say nothing about the port. The way to remove or delete the “clear trunk” part from your CatOS config, you must enter the following command:

  1. set trunk <mod>/<port> auto negotiate 1-4094

This should remove all traces of port trunking configuration from your config file.

Comments (4) »

  1. Anonymous says:

    Awesome – That just cured my OCD too :-)

  2. Matt says:

    Awesome – That just cured my OCD too :-)

  3. Sam says:

    This is what I had to do to remove the trunking configuration;

    set trunk / auto dot1q 1-1005,1025-4094

  4. Sam says:

    The mod/port didn’t show up… here is an actual example
    set trunk 2/35 auto dot1q 1-1005,1025-4094


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>