NetApp Data Ontap Change Gateway and other useful commands

Changing the default gateway in Data Ontap usually requires 2 steps.

First delete the current default gateway

route delete dafault

and then add the new default gateway e.g.

route add 1

We can see that everything is ok with the command

netstat -rn

that shows the routing table and with the command

rdfile /etc/rc

showing the network interfaces configuration.