cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
669
Views
0
Helpful
6
Replies

I need to set my manangement IP address and gateway on a 4500

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?

1 Accepted Solution

Accepted Solutions

John Blakley
VIP Alumni
VIP Alumni

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.

HTH, John *** Please rate all useful posts ***

View solution in original post

6 Replies 6

John Blakley
VIP Alumni
VIP Alumni

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.

HTH, John *** Please rate all useful posts ***

krahmani323
Level 3
Level 3

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

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.

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

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

Glad to hear it William...thanks for the rating!

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card