ONTAP Discussions

Bringing up/down the physical interface in C-mode

raovolvoadmin
51,412 Views

Hello,

I have created the Failover group("failovergroup02") with the two physical ports.

Clu1::*> network interface failover-groups show

Failover

Group               Node              Port

------------------- ----------------- ----------

clusterwide

                    Clu1-02           e0b

                    Clu1-02           e0c

                    Clu1-02           e0d

                    Clu1-01           e0c

                    Clu1-01           e0d

failovergroup02

                    Clu1-02           e0d (home Port)

                    Clu1-01           e0c

To test the Failover functionality,i want to manually bringing down the e0d interface and check whether LIF failovered to e0c or not.

what is command to disable to physical port in the cluster mode?.

i tried the below command.

Clu1::*> network port modify  -node Clu1-02 -port e0d -Link  down

Error: invalid argument "-Link"

Regards

Rao

6 REPLIES 6

parisi
51,412 Views

I highly recommend using the tab completion functionality and the ? for help functions when needing a command.

In 8.2, there are also CLI man pages. So, use "man network port modify" to see more.

rodrigon
51,412 Views

to disable a port:

set diag

net port mod -node <nodename> -port <portname> -up-admin false

to enable a port:

set diag

net port mod -node <nodename> -port <portname> -up-admin true

NAScimento

NetApp - Enjoy it

raovolvoadmin
51,412 Views

Thanks.its works:-)

SrinathATT
47,007 Views

Hello,

 

I am doing a lif failover test...i know i can do it for physical port...can i do at lif level... can you validate the sequence.

==============

lif failover test. m218064nclusc0001

 

Vserver:m2_18064_9025_NFS_vs

Group:NFS-915

 

Failover Targets:

                       m218064n8060c9026:a0n-915,

                       m218064n8060c9025:a0n-915,

                       m218064n8040c9027:a0n-915,

                       m218064n8040c9028:a0n-915

 

a0n is the ifgrp of ports (e0e, e0g) from respective each node.

 

Here starts the test:

 

  1. Take the backup if interfaces/lifs and vservers associated with that lifs.
  2. Set the the home node port i.e m218064n8060c9025:a0n-915 to false. (set diag,net port mod -node <nodename> -port <portname> -up-admin false) => this is for physical port
  3. Verify to access the mounted NFS share and lif status.

network interface show -vserver m2_18064_9025_NFS_vs -lif m218064_9025_nfs-915 -failover

  1. Once everything good, bring the port back up

set diag,net port mod -node <nodename> -port <portname> -up-admin true

5, Revert the vserver to the home port/home ned

network interface revert -vserver vserver_name -lif lif_name

 

 

Note: In point 2 I think we bring down one physical  port in ifgrp , I think we can bring down lif for this test…if we bring down physical port, other lifs on the same port will also get failover..which i dont want..

network interface modify -vserver vserver_name -lif lif_name -status-admin down

network interface modify -vserver vserver_name -lif lif_name -status-admin up

Azeem
37,351 Views

hey all,

 

my data VLAN port a0a-62 is operationally down.

 

How to fix this 

Untitled.png

SYNTAXERROR
37,072 Views

Verify you a0a. Check it with net port ifgrp show

Public