cancel
Showing results for 
Search instead for 
Did you mean: 

A2 series - Change from dhcp to static ip

A2 series - Change from dhcp to static ip

AntonS
Contributor II
Hy,
we want to change a2 switch from dhcp to static ip, but the switch won't let me:

TST2-A2-5(rw)->set ip address 10.142.14.5 mask 255.255.255.0 gateway 10.142.14.1 IP protocol must be none to set ip address.

Use'set ip protocol{none | bootp | dhcp}'to set Ip protocol to none.

TST2-A2-5(rw)->

If I set the ip protocol to none - the switch is not manageable any more, because the dhcp adress is lost immediatly.

I tried to load a config with static ip in it with configure configs/newconfig.cfg, but the switch don't takes the new ip. It takes the other config but not the ip adress!

There is no possibility to have a serial console access.

Best Regards

6 REPLIES 6

Ronald_Dvorak
Honored Contributor
The switches are send to the branch with DHCP enabled.

So the question is how to change it via remote without access to the console.

I've tried to load a new cfg (filename is change)via TFTP that includes both commands and then use....

# configure configs/change append

but the switch "ignores" the second command - looks like that there is some logic that doesn't allow that in one step.

10172a3950de48b4966c1d9c25831a79_RackMultipart20161130-96812-xv9awt-A2_ip_change_inline.png



Jeremy_Gibbs
Contributor
I believe you will need to console into the C2>

set ip protocol none
set ip address 10.142.14.5 mask 255.255.255.0 gateway 10.142.14.1

GTM-P2G8KFN