1. SSH to controller 1.
2. Type 'rdfile /etc/rc'
3. Copy the contents of the /etc/rc output to notepad. (Might want to save this to a file for safe keeping)
1. Example
1.hostname bob
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 partner e0a
ifconfig e0b `hostname`-e0b mediatype auto flowcontrol full partner e0b
ifconfig e0c `hostname`-e0c mediatype auto flowcontrol full partner e0c
route add default 1.1.1.1 1
routed on
options dns.domainname bob.local
options dns.enable on
options nis.enable off
savecore
4. Change the notepad contents for the default route statement.
1. Example
1.hostname bob
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 partner e0a
ifconfig e0b `hostname`-e0b mediatype auto flowcontrol full partner e0b
ifconfig e0c `hostname`-e0c mediatype auto flowcontrol full partner e0c
route add default 2.2.2.2 1
routed on
options dns.domainname bob.local
options dns.enable on
options nis.enable off
savecore
5. Make sure you get this right or your system won't boot. Copy the contents of the modified file to your clipboard.
6. In the SSH session type 'wrfile /etc/rc'
7. Paste the contents of your buffer into the SSH session.
8. Press Ctrl+C to quit the editor.
9. Verify, type 'rdfile /etc/rc' and make sure there are no extra line breaks or truncations.
10. Type 'route delete default'
11. Type 'route add default 2.2.2.2 1'
12. SSH to controller 2.
13. Repeat steps abvove
Hello,
ReplyDeletethese procedure is for any Ontap OS?
Should I reboot the entire device after following the steps above?
Thank you.