cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3011
Views
0
Helpful
1
Replies

How to disable and clear port channel

msocarras
Level 1
Level 1

Hi!

I have a 6509 and I configured port channel as follows.

#port channel

set port channel 2/1,4/1 1

set port channel 3/7,4/7 2

set port channel 3/8,4/8 3

set port channel 1/1,2/8 10

set port channel 2/2,3/2,4/2 11

set port channel 2/3,4/3 12

set port channel 2/6,4/6 14

set port channel 2/7 96

set port channel 2/4,4/4 131

set port channel 2/5,4/5 132

However I want to erase that configuration. I used the set port channel mode off, and I see now on the module configuration that the port channel is disable. However I still see the port channel configuration when I do a show run. How can I refresh or delete this configuration. I dont want to see any set port channel anywere.

Thanks,

Mario

1 Reply 1

milan.kulik
Level 10
Level 10

Hi,

AFAIK, the only way to clear set port channel .... commands from the sh config output is to set port channel admin group numbers to the default values.

See http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/sw_5_5/cnfg_gd/channel.pdf for command details.

But I don't know what the default values are. I've found on my Cat4006 that the default admin group for ports 3/1-2 is 92 and for 3/31-34 is 100.

SO if you are really obsessed with these commands in your config and your network can live for a short time without the switch working, you can do following via CLI:

1. Save the current config via tftp to your PC

2. clear config all - be careful, the switch loses all the configuration

3. paste the config without the unwanted commands.

Regards,

Milan