Jump to content

Recommended Posts

Posted

I'm trying to change the IP address on an Aruba 2530 switch from it's DHCP given one to a different one.

 

Capture.JPG

 

When I try and change, just the last number from 18 to 207 I get a switch configuration error.

 

Any ideas?

Posted
try using a console cable and change via command line.

 

conf

vlan 1

ip address x.x.x.207/24

wr me

exit

 

Is a console cable a "special" cable?

 

Unlikely to be anything I've got lying around?

 

I've only ever managed switches before from the IP address using a browser !

Posted

I only ever use the console/ssh, much quicker. If you have a static IP in place you would need to remove before replacing with the new IP.

 

Setup a ntp source too so it helps with logs etc.

Posted
Is a console cable a "special" cable?

 

Unlikely to be anything I've got lying around?

 

I've only ever managed switches before from the IP address using a browser !

 

You can use a USB to the micro USB cable, I'm not sure what exact cable to be honest you will need the driver too. I still use a USB to DB9 Serial adapter (Plugable make) and a DB9 to RJ45 cable.

 

They do not supply the DB9 console cables anymore I don't think.

  • Thanks 1
Posted
You can use a USB to the micro USB cable, I'm not sure what exact cable to be honest you will need the driver too. I still use a USB to DB9 Serial adapter (Plugable make) and a DB9 to RJ45 cable.

 

They do not supply the DB9 console cables anymore I don't think.

 

Interesting.

 

So you use a RJ45 - DB9 plugged in to the switch console port - then the adapter to convert DB9 to USB - then plug USB in to laptop.

Posted
Interesting.

 

So you use a RJ45 - DB9 plugged in to the switch console port - then the adapter to convert DB9 to USB - then plug USB in to laptop.

 

Indeed. The plugable brand seem to be the most reliable from my experience. We have about 250 old switches on site that only have a DB9 console connection so just have to carry a couple of cables around.

 

But they stopped supplying the RJ45 to DB9 cables now and don't supply the USB cable either with the switches.

Posted

OK.

 

So we've raided some boxes and found what looks like a serial to RJ45 console cable.

AND

An older serial card which we're sticking in an old PC.

 

Once installed and switch connected I presume I just fire up PUTTY and choose the correct SERIAL connection and away I go :)

Posted (edited)

You need to be careful with USB to serial adapters. There are a lot which are based on fake Prolific PL2303 chipsets. With those, the newer drivers that work on Windows 8 upwards don't work.

 

Even when you do manage to find a genuine one, the Prolific chipsets aren't all that anyway. You're best hunting out one with an FTDI chipset, they're a lot more reliable. I've got something that looks like this and it just works, no drivers needed.

 

That said, the 2530 has a micro-USB port built into it, which is used as a console port already. Windows 10 doesn't need drivers for it in my experience and any old micro-USB cable with its data pins connected works perfectly well.

Edited by Norphy
Posted

Connected up OK.

 

Ran the commands to change the IP address from the one given by DHCP to the static one I need.

 

Verified from the switch console using the command "show ip" that it was correct.

 

Turned the switch off, moved it to the final location (correct vLAN) and now cannot connect to it again via a browser or ping it :(

 

What am I doing wrong?

Posted

Certainly sounds like it!

 

I've got into the habit of doing "wri mem" after making any series of changes now. I've lost one too many switch configurations to not saving and the switch rebooting.

Posted
Switch still had the old IP

:(

 

Think I forgot the command

 

wr me

 

!

 

Yep, been there with 150 odd lines of config! Only did it once though.

  • Thanks 1
Posted (edited)
Yep, been there with 150 odd lines of config! Only did it once though.

 

 

Not done it myself, yet, did the change the IP address thing which it did not accept because it already had one because had been configured for another replacement (didn't realise and just pasted the code in). Put replacement switch in place, connected up and wondered for 5mins why the other switch went down in monitoring before I guessed what happened, lol.

 

I usually hit WR M after every 3 lines of code, lol.

Edited by Davit2005
  • 7 months later...
Posted

Just as an aid for anyone doing the same you can set the clock via these commands:

 

Type:> Configure

 

Type :>Clock Set 13:08

 

Type :>Clock Set 19/06/2020

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...