This
5 part posting is a very rough and ready CLI crib sheet for Clustered ONTAP.
The
version of CDOT here is 8.1.1 / 8.1.2.
6: PHYSICAL NETWORKING
> network port
modify ?
Note:
two cluster ports are required per node
> network port
show
> network fcp
adapter show
7: VIRTUAL NETWORKING
> network interface
show
> network
routing-groups show
> network
routing-groups route show
> network
interface show output
> net int
failover-groups create -failover-group customfailover1 -node clusa-02 -port e0d
> net int modify
-vserver_name vs2 -lif data1 -use-failover-group enabled -failover-group
customfailover1
> net int show
-vserver vs2 -lif vs2_lif1
> net int
failover-groups show
> network
interface create
EXAMPLE 7.1: CREATE A NAS
DATA LIF
> net int create
-vserver vs1 -lif data1 -role data -home-node clusa-01 -home-port a0a -address
X.X.X.X -netmask X.X.X.X
> net int show
> net int show
-vserver vs1 -lif data1
EXAMPLE 7.2: MIGRATE A DATA
LIF
> net int migrate
-vserver vs1 -lif data1 -dest-node clusa-02 -dest-port e0c
> net int show
> net int show
-vserver vs1 -lif data1
> net int revert
-vserver vs1 -lif data1
EXAMPLE 7.3: RE-HOME A DATA
LIF
> net int modify
-vserver vs1 -lif data1 -home-node clusa-02 -home-port e0d
> net int show
> net int revert
-vserver vs1 -lif data1
> net int show
EXAMPLE 7.4: FAIL OVER A
DATA LIF
> net int show
-vserver vs1 -lif data1 -instance
> net int
failover show
> system node
reboot -node clusa-02
> net into show
> net int revert
-vserver vs1 -lif data*
EXAMPLE 7.5: DELETE THE
VLANS AND THE INTERFACE GROUP
> network
interface show
> network port
show
> net port vlan
show
> net port vlan
delete -node clusa-01 -vlan-name a0a-11
> net port vlan
delete -node clusa-01 -vlan-name a0a-22
> net port vlan
delete -node clusa-01 -vlan-name a0a-33
> set advanced
*> net port modify
-node clusa-01 -port a0a -up-admin false
*> set admin
> net port ifgrp
delete -node clusa-01 -ifgrp a0a
Comments
Post a Comment