NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

RC file - adding new storage network

DAVE_WITHERS
4,501 Views

Greetings.  Need help on what exactly I need to add to the /etc/rc file on my 3240 in 7-mode on 8.1.2 p4 after temporarily bringing up interfaces from the CLI so that it becomes permanent.

  I do know how to add to configs on the netapp, i am mostly curious at what from my commands issued below need to go into the RC and where to make it work as expected.  What I added from the CLI is below that brought up a non routing 'storage' network for our NFS and what I need added to my RC file.

ifgrp create lacp STORAGE -b ip e6b e6a

vlan create STORAGE 203

ifconfig STORAGE-203 10.21.203.5 netmask 255.255.255.0 mtusize 9000 up

ifconfig STORAGE-203 alias 10.21.203.6 netmask 255.255.255.0 up

Interfaces are up fine at this point and I can reach them.

My rc file consists of the below

#Auto-generated by setup Tue Jun  5 17:52:15 CDT 2012

hostname XXXXX

ifgrp create lacp LACP -b ip e1a e1b

ifconfig e0M `hostname`-e0M flowcontrol full netmask 255.255.255.128 mtusize 1500

ifconfig LACP `hostname`-LACP netmask 255.255.254.0 partner LACP mtusize 9000 trusted wins up

route add default 172.21.192.1 1

routed on

options dns.domainname xxxxxxx.domain.com

options dns.enable on

options nis.enable off

savecore

I am assuming all i need to do is paste that chunk of data I used in CLI either above or below the other ifgrp/ifconfig/etc statements.  Thanks for any input.


1 ACCEPTED SOLUTION

aborzenkov
4,501 Views

You need to add exactly the same commands.

View solution in original post

2 REPLIES 2

aborzenkov
4,502 Views

You need to add exactly the same commands.

DAVE_WITHERS
4,501 Views

Thanks for the confirmation aborzenkov!

Public