Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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 3 '11 at 14:15

2 Answers 2

up vote 6 down vote accepted

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
share|improve this answer
    
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 <cr> it means you don't have to add any other commands. –  dunxd Feb 3 '11 at 14:10

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

Will remove the IP addresses.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.