ONTAP Discussions

How can I change VIF trunk mode

SHANEMURRAY10
6,962 Views

Hi

I am using NetApp 7.3 on a clustered solution.

I need to change the trunk mode of 2 VIF's from "multilple" to "single" mode.

I simply browsed to the VIF and changed this but it doesnt seem to apply.  What is the correct procedure to do this?  Do I need to recreate the VIF?

Many thanks in advance

6 REPLIES 6

cedric_renauld
6,962 Views

Hi,

Have you try to make down and up the VIF ?

By which mean, you change this mode ? System Manager ? CLI ? FilerView ?

Or last chance, if you are locked, reboot ... or in CFO, taker over giveback ...

cedric_renauld
6,962 Views

In CLI, Could you give us the result of :

Vif status

and

rdfile /etc/rc

SHANEMURRAY10
6,962 Views

Hi

thanks for getting back to me:

default: transmit 'IP Load balancing', VIF Type 'multi_mode', fail 'log'

vif1: 2 links, transmit 'IP Load balancing', VIF Type 'multi_mode' fail 'default'

         VIF Status     Up      Addr_set

        up:

        e0b: state up, since 11Mar2010 13:00:35 (495+19:06:23)

                mediatype: auto-1000t-fd-up

                flags: enabled

                input packets 1555769610, input bytes 4513423817547

                output packets 3365856390, output bytes 2560862748820

                up indications 5, broken indications 4

                drops (if) 0, drops (link) 0

                indication: up at 11Mar2010 13:00:35

                        consecutive 66820667, transitions 9

        e0a: state up, since 20Sep2008 09:33:13 (1032+23:33:45)

                mediatype: auto-1000t-fd-up

                flags: enabled

                input packets 1682143570, input bytes 76618244781447

                output packets 3718622004, output bytes 67258090721814

                up indications 1, broken indications 0

                drops (if) 0, drops (link) 0

                indication: up at 20Sep2008 09:33:13

                        consecutive 89309743, transitions 1

iscsi: 1 link, transmit 'IP Load balancing', VIF Type 'multi_mode' fail 'default'

         VIF Status     Up      Addr_set

        up:

        e0d: state up, since 20Jul2011 08:56:53 (00:10:05)

                mediatype: auto-1000t-fd-up

                flags: enabled

                input packets 404255674, input bytes 150599466632698

                output packets 2021160387, output bytes 292413600384123

                up indications 5, broken indications 0

                drops (if) 0, drops (link) 0

                indication: up at 20Jul2011 08:56:53

                        consecutive 89309735, transitions 5

        broken:

        e0c: state broken, since 19Jul2011 14:33:03 (18:33:55)

                mediatype: auto-1000t-fd-down

                flags:

                input packets 3184212017, input bytes 86863008119727

                output packets 2009498671, output bytes 163939525242479

                up indications 4, broken indications 1

                drops (if) 0, drops (link) 4

                indication: broken at 19Jul2011 14:33:03

                        consecutive 89242856, transitions 5

AND:

hostname NetApp1

vif create multi vif1 -b ip e0b e0a

vif create multi iscsi -b ip e0c e0d

ifconfig vif1 `hostname`-vif1 mediatype auto netmask 255.255.255.0 partner vif1

ifconfig e0d mediatype auto

ifconfig e0b mediatype auto

ifconfig iscsi `hostname`-iscsi netmask 255.255.255.0 mediatype auto mtusize 1500 partner 172.16.2.105

route add default 10.50.1.1 1

routed on

options dns.domainname test.local

options dns.enable on

options nis.enable off

savecore

peter_lehmann
6,962 Views

still need to change the switch config too.

And you can edit the rc file to:

hostname NetApp1

vif create single vif1 e0b e0a

vif create single iscsi e0c e0d

ifconfig vif1 `hostname`-vif1 mediatype auto netmask 255.255.255.0 partner vif1

ifconfig iscsi `hostname`-iscsi netmask 255.255.255.0 mediatype auto mtusize 1500 partner 172.16.2.105

route add default 10.50.1.1 1

routed on

options dns.domainname test.local

options dns.enable on

options nis.enable off

savecore

And then issue this command:

netapp1> source /etc/rc

If you do not change the switch config (port trunking), the network connectivity will be interrupted!

Peter

SHANEMURRAY10
6,962 Views

thanks!

I will give that a try and let you know how I get on!

peter_lehmann
6,962 Views

You also need to change the switch config of the ports (or repatch the cables to other ports that are not "multi" trunked)...

Then the change to single should be working (up and down should be automagicaly)

Public