Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Subnet on Procurve switches

James Z
Occasional Visitor

Changing Subnet on Procurve switches

We're in the process of changing our network subnet mask from a /23 to a /22 (255.255.254.0 to 255.255.252.0)

When I attempt to assign the new subnet mask to our older 2512 and 2524 switches, the switch accepts the command. It does disconnect the telnet session, but I can immediately reconnect and see the changes.

When I attempt to assign the new subnet mask to any of our newer switches (26xx and newer) the switch tells me that the subnet already exists and refuses to make the change.

I know I can do this by visiting each switch with a console cable, dropping the ip address from the default vlan and then re-creating it with the new subnet mask.

I think dropping and re-creating the ip assignment won't work remotely, since once I drop the ip... Well you get the idea. Even if I copy & paste a pair of commands, the second one will not be executed.

Is there a way to just change the mask with the CLI?

1 REPLY
James Z
Occasional Visitor

Re: Changing Subnet on Procurve switches

I found a method.

Using the "menu" interface instead of just the plain CLI allows you to make these changes.