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?
It's been a while since I've worked on Cisco gear, so this may be incorrect, but give this a try:
(config-if)no ip address 192.x.x.x 255.x.x.x
Will remove the IP addresses.
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