2

I am using ssh to remotely connect to a Dell PowerConnect switch (Dell uses the same commands as Cisco). I need to change the ip address of vlan 1 from 192.x.x.x to 10.x.x.x. I am able to add the new address of 10.x.x.x by:

console(config-if)# ip address 10.x.x.x 255.x.x.x

Now vlan 1 will reply from both 10.x.x.x and 192.x.x.x . How do I then remove the existing 192.x.x.x from that interface?

peterh
  • 4,953
  • 13
  • 30
  • 44
pizzim13
  • 197
  • 1
  • 1
  • 5
  • Dell and Cisco switches have *similar* commands, but they diverge quite a lot once you start configuring spanning-tree and I am sure some other things too. Would be great if Dell took the trouble of publishing a cheat sheet to translate between the two. – dunxd Feb 03 '11 at 14:15

3 Answers3

8

It's been a while since I've worked on Cisco gear, so this may be incorrect, but give this a try:

> no ip address 192.x.x.x 255.255.255.0
EEAA
  • 109,363
  • 18
  • 175
  • 245
  • That looks correct to me and it's only been two days since I last removed an IP address from a Cisco device. – Vatine Aug 31 '10 at 15:28
  • So, it appears not all the commands are the same. 'no ip address 192.x.x.x 255.255.255.0' returns "Wrong number of parameters or invalid range, size or characters entered." And 'no ip address 192.x.x.x' removes both ips – pizzim13 Aug 31 '10 at 16:29
  • 1
    Then try `no ip address 192.x.x.x`. – EEAA Aug 31 '10 at 16:35
  • On Dell PowerConnect switches, When you aren't sure how a command works, try typing it followed by ? which will then show you the possible options. You can keep typing at ? at the end of the command to see further options. If you see it means you don't have to add any other commands. – dunxd Feb 03 '11 at 14:10
1

(config-if)no ip address 192.x.x.x 255.x.x.x

Will remove the IP addresses.

HopelessN00b
  • 53,795
  • 33
  • 135
  • 209
abed
  • 11
  • 1
1

In the global config mode run:

int vlan 1

followed by

no ip address

And this should do the job.This wud delete all the ip addresses on the vlan,Then you can give it the ip address u want over again

Koderholic
  • 11
  • 3