04-25-2012 08:15 AM - edited 03-07-2019 06:20 AM
In mucking around with my 4500 I accidently deleted the ip address that I use to get into it with telnet and CNA. I have a console cable hooked up to and I'm in that way but the commands I got off the internet did not work. Those commands were set interface sc0 10.x.x.x/xx and set interface me1 10.x.x.x/xx. It didn't like interface and I notices when I did a set ? it looked like it wasn't what I wanted.
How do I get back in?
Solved! Go to Solution.
04-25-2012 08:32 AM
Do you still have vlan 1? If so, you should be able to do something like:
int vlan 1
ip address
**** Edit ****
With all of the set commands it looks like it's running CatOS. If that's the case, disregard what I said earlier. I have no experience with CatOS.
04-25-2012 08:32 AM
Do you still have vlan 1? If so, you should be able to do something like:
int vlan 1
ip address
**** Edit ****
With all of the set commands it looks like it's running CatOS. If that's the case, disregard what I said earlier. I have no experience with CatOS.
04-25-2012 08:33 AM
Hi William,
Could you try to add the managment vlan number after sc0... => Of course in enable mode : switch (enable)
set interface sc0 -->vlan_ID<--- 10.X.X.X/255.X.X.X Y.Y.Y.Y
I suppose also your default route has not been affected by the accidental modification. But if needed :
set ip route 0.0.0.0/0.0.0.0 Z.Z.Z.Z
Best regards.
Karim
04-25-2012 08:59 AM
What is that Y..Y.Y.Y aftter the first part? I sitll have vlan 1 so that is a good thing and nobody is complaining.
04-25-2012 09:08 AM
Hi William,
It is corresponding to the Broadcast address of sc0 interface subnet.
Example at => http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a008010e9ca.shtml#topic1
(Then show interface to validate the status of this interface)
Regards;
Karim
04-25-2012 01:34 PM
Yes the int vlan 1 etc. worked. Thanks very much for that. My worry and I didn't think I did was to hose the whole switch. I as creating an etherchannel and the last part was vlan1 no ip address, as soon as hit enter I thought I'll bet I lost my connection to it. Fortunatley I was in the same building and hooked a laptop up to the switch.
thanks again
04-25-2012 02:20 PM
Glad to hear it William...thanks for the rating!
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