12-14-2005 06:29 AM - edited 03-03-2019 01:08 AM
I am converting links from core to closet switch from layer2 to layer 3. I want to be able to do this remotely but when I configure the far end with the "no switchport" command I loose connection to the switch. I know that I can make a copy of the entire config and copy it to running-confg as a work around but thought it would be simpler to just affect one interface of this huge config. The two commands I would like to enter are:
no switchport
ip address 10.210.210.2
12-14-2005 06:36 AM
I cannot think of any other way via telnet since once you enter "no switchport", you would loose connectivity not giving you an opportunity to configure IP address.
12-14-2005 08:42 AM
Try to cut and paste these commands together via a telnet session.
12-14-2005 07:33 AM
Probably the only way you could do this is to get a copy of your current config and put it in a text editor , make your changes to the config in there , put it on a tftp server then download it into startup config and then reload the switch during off hours .
12-14-2005 09:23 AM
Hi,
I agree to glen´s suggestion except a "copy startup-config running-config" would do without reload (maybe even during normal operation). You still will probably experience a brief outage until routing is up and running (setting up adjacencies?).
Regards
Martin
12-15-2005 04:36 AM
Thanks for the replies. Cut and paste did not work, I got the first command over but not the second one. Copying the config was a little hairy too, the implied commands like "no switchport" don't happen and the vlan database sometimes gets confused. I was thinking about a fiber to rs232 converter, I could use an extra fiber pair to reach a terminal server in the data center and remotely connect to the console.
12-15-2005 07:30 AM
There is always DBU if that is an option.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide