Category Archives: NetApp

NetApp Solidfire CLI Command Line Reference

 

Note that this CLI guide is meant to be a short “cheat sheet” reference to the Solidfire CLI.  For complete details on the options for each command you’ll want to log in to NetApp’s support site and review their latest CLI guide.

If you want to control your Solidfire array from the CLI you’ll need to install the CLI Tools before you get started.  For a Linux client, you must have Python 2.7.9+ installed first and you’ll need to set up the virtual environment.  More details are of course available in the NetApp documentation, but for a quick start you’ll want to follow the steps below.  I also found the code on Gitub here:  https://github.com/solidfire/solidfire-cli.

pip install virtualenv
virtualenv pythoncli
source pythoncli/bin/activate
pip install solidfire-cli
Go to solidfirecli*.tar.gz, and run easy_install    solidfirecli*.tar.gz.

CLI Reference

CLI Option Parameters
Option Description
-c, –connectionindex Index of connection you want to use
-j, –json Display output in JSON
-k, –pickle Display output in pickled JSON
-d, –depth Display output in tree format with specified depth
-m, –mvip Management virtual IP address for the cluster
-l, –login Login ID for the cluster
-p, –password Password for the cluster
-n, –name Name of connection you want to use
-f, –filter_tree Tree format filter, specify fields in csv list
–debug [ 0 | 1 | 2 | 3 ] Debug level
–help Display inline help
Managing Connections
Executing a command without storing it
sfcli –mvip 192.168.1.10 –login admin –password admin Account List
Storing a Connection
sfcli –mvip 192.168.1.10 –login admin –password admin –name “Sample” Connection Push
Using a Stored Connection
sfcli -n Example Account List # by name
List Stored Connections
sfcli Connection List
API Commands
sfcli SFApi invoke <method> <parameters> Invoke any API method for version & port the connection is using.
Account Commands
sfcli Account list <options> Returns the list of accounts.
sfcli Account getefficiency <options> Retrieve efficiency statistics about a volume account.
sfcli Account remove <accountid> Remove an existing account.
sfcli Account getbyname <username> Retrieve details about a specific account.
sfcli Account add <options> Add a new account to the system.
sfcli Account getbyid <accountid> Return details about a specific account, given it’s account ID.
Administrator Commands
sfcli Clusteradmin getloginbanner <options> Get the current terms of use banner shown on login.
sfcli Clusteradmin setloginbanner <options> Configure the terms of use banner.
Backup Target Commands
sfcli BackupTarget modify  <options> Change attributes of a backup target.
sfcli BackupTarget create <name> <attributes> Create and store backup target info.
sfcli BackupTarget list Retrieve info about all backup targets.
sfcli BackupTarget remove <backuptargetid> Delete backup targets.
sfcli BackupTarget get <backuptargetid> Retrieve info about a specific backup target.
Cluster Commands
sfcli Cluster getinfo Undocumented NetApp engineering command for troubleshooting.
sfcli Cluster getcompletestats Undocumented NetApp engineering command for troubleshooting.
sfcli Cluster getrawstats Undocumented NetApp engineering command for troubleshooting.
sfcli Cluster getapi Return a list of all API methods & supported API endpoints.
sfcli Cluster disablesnmp Disable SNMP on cluster nodes.
sfcli Cluster getsnmpstate Get the current SNMP State.
sfcli Cluster getsnmpinfo Retrieve the current SNMP config.
sfcli Cluster getconfig Return info about the cluster config this node uses.
sfcli Cluster createsupportbundle <options> Create a support bundle.
sfcli Cluster deleteallsupportbundles Delete all support bundles.
sfcli Cluster getsystemstatus Return whether or not a reboot is required.
sfcli Cluster setsnmptrapinfo <options> Enable/Disable SNMP Traps & specify host notifications.
sfcli Cluster listfaults  <bestpractices> <faulttypes> Retrieve info about cluster faults.
sfcli Cluster listadmins Lists cluster administrators.
sfcli Cluster create <options> Initialize the cluster node that owns the SVIP/MVIP.
sfcli Cluster enableencryptionatrest Enables AES 256bit encryption at rest on the cluster.
sfcli Cluster disableencryptionatrest Remove encryption that was previously enabled.
sfcli Cluster addadmin <options> Add a new cluster admin account.
sfcli Cluster setntpinfo <servers> <broadcastclient> Configure NTP on cluster nodes.
sfcli Cluster setconfig <cluster> Node cluster configuration.
sfcli Cluster modifyadmin <options> Change settings for the cluster or LDAP cluster admin.
sfcli Cluster getsnmptrapinfo Retrieve current SNMP Trap configuration.
sfcli Cluster listevents <options> Retrurn a list of the current cluster events.
sfcli Cluster snmpsendtesttraps Test SNMP, send test traps to the current SNMP manager.
sfcli Cluster removeadmin <clusteradminid> Remove a cluster admin.
sfcli Cluster modifyfullthreshold <options> Change event thresholds.
sfcli Cluster getlimits Retrieve API limit values.
sfcli Cluster getcurrentadmin Lists info for the current primary cluster admin.
sfcli Cluster getcapacity Return a high level list of cluster capacity information.
sfcli Cluster getntpinfo Shows the current NTP config.
sfcli Cluster getversioninfo Shows the current software version on each cluster node.
sfcli Cluster setsnmpacl <networks> <usmusers> Configure SNMP on cluster nodes.
sfcli Cluster clearfaults <options> Remove fault info for resolved and unresolved faults.
sfcli Cluster getsnmpacl Return SNMP access permissions.
sfcli Cluster getstate <force> Returns info regarding node’s cluster participation.
sfcli Cluster enablesnmp <snmpv3enabled> Enable SNMP on cluster nodes.
sfcli Cluster getstats Retreive cumulative high level activity for the cluster.
sfcli Cluster getmasternodeid Retreive the cluster master node ID.
sfcli Cluster setsnmpinfo <options> Configure SNMP v2/3 on cluster nodes.
sfcli Cluster getfullthreshold View the stages set for clsuter fullness levels.
sfcli Cluster listsyncjobs Return info about cluster syncronization jobs.
sfcli Cluster getsslcertificate Retrieve the active SSL certificate.
sfcli Cluster removesslcertificate Delete the user SSL certificate & private key for all cluster nodes.
sfcli Cluster setsslcertificate <options> Set a user SSL certificate & private key for the cluster nodes.
Drive Commands
sfcli Drive reset  <drives> <force> Initialize a drive & remove all data on it.
sfcli Drive secureerase  <drives> Remove residual data from drives in an available state.
sfcli Drive listdrivestats <drives> Retreive activity info for multiple cluster drives.
sfcli Drive list List of drives in active cluster nodes.
sfcli Drive remove <drives> <forceduringupgrade> Remove cluster drives.
sfcli Drive gethardwareinfo <driveid> Returns all hardware info for a specific drive.
sfcli Drive add <options> Add one or more drives to the cluster.
sfcli Drive getstats <driveid> Returns activity info for a single cluster drive.
sfcli Drive getconfig Display drive info for number of slices & block drive counts.
sfcli Drive test <minutes> Runs a hardware validation on all drives in a node.
sfcli Drive listhardware <force> Returns all of the drives connected to a cluster node.
Hardware Information Commands
sfcli Hardware getnvraminfo <force> Retrieve NVRAM info from each cluster node.
sfcli Hardware gethardwareinfo <nodeid> Retreive hardware info status for a single cluster node.
sfcli Hardware getnodeinfo <nodeid> Returns hardware status info for a single cluster node.
sfcli Hardware getclusterinfo  <type> Get hardware status for all FC & iSCSI nodes and drives in the cluster.
sfcli Hardware getconfig Display hardware configuration for a node.
Hardware Sensor Commands
sfcli Sensors getipmiinfo Display a detailed reporting of sensors/objects.
sfcli Sensors getipmiconfig <chassistype> Retreive hardware sensor info.
Initiator Commands
sfcli Initiators modify <options> Change the attributes of initiators.
sfcli Initiators create <options> Create new IQNs or WWPNs & assign them aliases.
sfcli Initiators list <options> List IQNs and WWPNs.
sfcli Initiators delete <initiators> Delete one or more initiators.
sfcli Initiators removefromvolumeaccessgroup <options> Remove initiators from a specific volume access group.
sfcli Initiators addtovolumeaccessgroup <options> Add initiators to a specific volume access group.
LDAP Commands
sfcli LDAP addclusteradmin <options> Add a new LDAP cluster admin user.
sfcli LDAP getconfiguration Get the currently active LDAP cluster config.
sfcli LDAP testauthentication <options> Validate the currently enabled LDAP authentication settings.
sfcli LDAP disableauthentication Disable LDAP authentication & remove LDAP configuration.
sfcli LDAP enableauthentication <options> Configure an LDAP connection to a cluster.
Logging Session Commands
sfcli LoggingSession getremotelogginghosts Retreive the current list of log servers.
sfcli LoggingSession setremotelogginghosts <hosts> Configure remote logging to a central log server (or servers).
sfcli LoggingSession setloginsessioninfo <timeout> Set time period for valid login authentication.
sfcli LoggingSession getloginsessioninfo Return the time period that logins are valid.
Network Commands
sfcli Network listnodefibrechannelportinfo Get info on node fiber channel ports.
sfcli Network listfibrechannelsessions Get info about active fiber channel connections.
sfcli Network listfibrechannelportinfo Get info about fiber channel ports on a node.
sfcli Network listiscsisessions Get info about iSCSI for cluster volumes.
sfcli Network listinterfaces Get info about the network interface on a node.
Node Commands
sfcli Node add <pendingnodes> Add one ore more new nodes to a cluster.
sfcli Node remove <pendingnodes> Remove nodes from a cluster.
sfcli Node setnetworkconfig <network> Set the network config for a node.
sfcli Node setconfig <config> Set all configuration info for a node.
sfcli Node listpending List all currently pending nodes in the system.
sfcli Node listpendingactive List nodes in the pendingactive state.
sfcli Node listall List all active and pending nodes.
sfcli Node liststats View high level activity info for all cluster nodes.
sfcli Node listactive Lists currently active nodes.
sfcli Node getorigin Retrieve the origination certificate for where the node was built.
sfcli Node getpendingoperation Detect node operations that are currently in progress.
sfcli Node getnetworkconfig Display network config info.
sfcli Node getstats <nodeid> Retreive activity info for a single node.
sfcli Node getconfig Get all configuration info for a node.
sfcli Node getbootstrapconfig Get cluster and node info from the bootstrap config file.
sfcli Node getsslcertificate Get the SSL certificate that is currently active on the mgmt node.
sfcli Node removesslcertificate Remove mgmt node SSL cert and private key.
sfcli Node setsslcertificate <certificate> <privatekey> Set a user SSL cert & key for the management node.
Pairing Commands
sfcli Pairing startcluster Create encoded key from cluster to pair with another cluster.
sfcli Pairing completecluster <options> Use with above command to complete pairing process.
sfcli Pairing listclusterpairs List all cluster pairs.
sfcli Pairing removeclusterpair <pairingid> Close the open connections between two paird clusters.
sfcli Pairing startvolume <options> Create encoded key to pair two volumes.
sfcli Pairing completevolume <options> Use with above command to complete pairing process.
sfcli Pairing removevolumepair <volumeid> Remove remote pairing between two volumes.
sfcli Pairing listactivepairedvolumes Lists all active volume pairs.
sfcli Pairing modifyvolumepair <options> Pause or restart replication between a pair of volumes.
Restart Commands
sfcli Restart services <force> <service> <action> Restart the service on a node, will cause service interruption.
sfcli Restart networking <force> Restart networking services on a node.
sfcli Restart resetnode <build> <force> <options> Reset a node to factory settings, but keeps network settings.
sfcli Restart shutdown <nodes> <options> Restart or shutdown a node that is not part of the cluster.
Schedule Commands
sfcli Schedule list Get info about all scheduled snapshots.
sfcli Schedule create <options> Schedule snapshots of volumes.
sfcli Schedule get <scheduleid> Get info about a scheduled snapshot.
sfcli Schedule modify <options> Change intervales when scheduled snapshots happen.
Service Commands
sfcli Service list Return service info for nodes, drives, software, and other services.
Snapshot Commands
sfcli Snapshot listgroup <options> Get info about all group snapshots.
sfcli Snapshot modifygroup <options> Change the attributes of a group of snapshots.
sfcli Snapshot modify <options> Change the attributes currently assigned to a snapshot.
sfcli Snapshot create <options> Create a point in time copy of a volume.
sfcli Snapshot list <options> Return the attributes of each volume snapshot taken.
sfcli Snapshot deletegroup <groupsnapshotid> Delete a group snapshot.
sfcli Snapshot rollbacktogroup <options> Roll back all individual volumes in a snapshot group.
sfcli Snapshot rollbackto <options> Make existing snap of an active volume image, create snap from snap.
sfcli Snapshot creategroup <options> Create a point in time copy of a group of volumes.
sfcli Snapshot delete <snapshotid> Delete a snapshot.
Storage Container Commands
sfcli StorageContainers modifystoragecontainer <options> Make changes to an existing virtual ovlume storage container.
sfcli StorageContainers list <storagecontainerids> Get info about all virtual volume storage containers.
sfcli StorageContainers getstoragecontainerefficiency Retrieve efficiency info about a virtual volume storage container.
sfcli StorageContainers createstoragecontainer Create a Vvol storage container.
sfcli StorageContainers delete <options> Remove up to 2000 Vvol storage containers from the system at once.
Test Commands
sfcli Test list Return the available tests you can run.
sfcli Test ping <options> Validate network connections using ICMP packets.
sfcli Test connectmvip <mvip> Test management connection to the cluster.
sfcli Test listutilities Return operations available on a node.
sfcli Test connectensemble <ensemble> Verify connectivity with a specified database ensemble.
sfcli Test connectsvip <svip> Test storage connection to the cluster.
Virtual Network Commands
sfcli VirtualNetwork add <options> Add a new virtual network to a cluster configuration.
sfcli VirtualNetwork list <options> List all configured virtual networks for the cluster.
sfcli VirtualNetwork remove <options> Remove a virtual network.
sfcli VirtualNetwork modify <options> Change attributes of a virtual network.
Virtual Volume Commands
sfcli VirtualVolume modifyhost <options> Change an existing ESX host.
sfcli VirtualVolume gettaskupdate <options> Checks the status of a VVol Async Task.
sfcli VirtualVolume unbindallfromhost Removes all VVol host binding.
sfcli VirtualVolume modifymetadata <virtualvolumeid> Modify Vvol metadata.
sfcli VirtualVolume modifyvasaproviderinfo <options> Update the VASA provider.
sfcli VirtualVolume querymetadata Return a list of Vvols matching a metadata query.
sfcli VirtualVolume listtasks <vvol_task_ids> Return a list of Vvols in the system.
sfcli VirtualVolume listprotocolendpoints <ids> Get info about all protocol endpoints in the cluster.
sfcli VirtualVolume listvolumestatsby <ids> List volume stats for any volumes associated with Vvols.
sfcli VirtualVolume create <options> Create a new Vvol on the cluster.
sfcli VirtualVolume fastclone <options> Execute a Vmware Vvol fast clone.
sfcli VirtualVolume canceltask <ids> Cancel the Vvol Async task.
sfcli VirtualVolume getallocatedbitmap <options> Returns info regarding segment allocation of a volume.
sfcli VirtualVolume getunsharedbitmap <options> Returns info regarding segment allocation for volumes.
sfcli VirtualVolume listhosts <ids> List of all Vvol hosts known to the cluster.
sfcli VirtualVolume rollback <options> Restore a Vvol snapshot.
sfcli VirtualVolume getunsharedchunks <options> Scans Vvol segment & returns number of chunks not shared by 2 volumes.
sfcli VirtualVolume getallocatedbitmap <options> Returns setgment allocation info about a volume.
sfcli VirtualVolume clone <options> Create a Vvol clone.
sfcli VirtualVolume modify <options> Modify settings on a Vvol.
sfcli VirtualVolume preparevirtualsnapshot <options> Set up Vvol Snapshot.
sfcli VirtualVolume getfeaturestatus <options> Retrieve the status of a cluster feature.
sfcli VirtualVolume unbind <context> Remove Vvol host binding.
sfcli VirtualVolume createhost <options> Create a new ESX host.
sfcli VirtualVolume bind <options> Bind a virtual volume with a host.
sfcli VirtualVolume list <options> List all virtual volumes in the system.
sfcli VirtualVolume getvasaproviderinfo Get VASA provider info.
sfcli VirtualVolume snapshot <options> Take a Vvol snapshot.
sfcli VirtualVolume listbindings <options> List all Vvols in the cluster that are bound to protocol endpoints.
sfcli VirtualVolume getcount Get the number of Vvols in the system.
sfcli VirtualVolume enablefeature <feature> Enable cluster features that are disabled by default.
sfcli VirtualVolume delete <options> Marks an active volume for deletion.
Volume Commands
sfcli Volume getefficiency <volume_id> Get capacity info about a volume.
sfcli Volume liststats <volume_id> Return info for a volume (or volumes), cumulative from volume creation.
sfcli Volume removefromaccessgroup <options> Remove volumes from a volume access group.
sfcli Volume addtoaccessgroup <options> Add volumes to a specific volume access group.
sfcli Volume liststatsbyaccount <options> Return high level measurements for all accounts.
sfcli Volume startbulkwrite <options> Initialize a bulk volume write session on a specific volume.
sfcli Volume updatebulkstatus <options> Update status of a bulk volume job.
sfcli Volume startbulkread <options> Initiailize a bulk volume read session on a specific volume.
sfcli Volume listdeleted <options> Retrieve the list of volumes marked for deletion.
sfcli Volume purgedeleted <volume_id> Immediately purges a volume that has been deleted.
sfcli Volume liststatsby <options> Returns high level activity info for every volume, by volume.
sfcli Volume create <options> Creates a new empty volume on the cluster.
sfcli Volume cancelclone <clone_id> Stops an ongoing volume clone or copy.
sfcli Volume getdefaultqos Retreive the default QoS values for a new volume.
sfcli Volume getasyncresult <options> Get the  result of ansynchronous method calls.
sfcli Volume listasyncresults <options> Lists the results of all currently running & completed async methods.
sfcli Volume liststatsbyaccessgroup <options> Get total activity measurements for all volumes of the volume access group.
sfcli Volume listbulkjobs Retreive info about each bulk volume read or write operation.
sfcli Volume clone <options> Create a copy of a volume.
sfcli Volume modify <options> Modify settings on an existing volume.
sfcli Volume restoredeleted <volume_id> Marks a deleted volume as active again.
sfcli Volume copy <options> Overwrite contents of existing volume with contents of another volume.
sfcli Volume listactive <options> Return a list of active volumes in the system.
sfcli Volume list <options> Get a list of volumes in the cluster.
sfcli Volume clonemultiple <options> Create a clone of a group of specified volumes.
sfcli Volume setdefaultqos <options> Configure default QoS values for a volume.
sfcli Volume getstats <options> Retreive high level activity information for a single volume.
sfcli Volume listforaccount <options> List active and pending deleted volumes for an account.
sfcli Volume getcount Get the number of volumes in the system.
sfcli Volume cancelgroupclone <group_clone_id> Stop an ongoing process for cloning multiple volumes.
sfcli Volume delete <volume_id> Marks an active volume for deletion.
sfcli Volume createqospolicy <name> <qos> Create a QoS policy object that you can later apply to a volume.
sfcli Volume deleteqospolicy <qospolicyid> Delete a QoS policy.
sfcli Volume getqospolicy <qospolicyid> Get details about a specific QoS policy.
sfcli Volume listqospolicies List the settings of all QoS policies.
sfcli Volume modifyqospolicy <options> Modify an existing QoS policy.
Volume Access Group Commands
sfcli VolumeAccessGroup create <options> Create a new Volume Access Group
sfcli VolumeAccessGroup modify <options> Update Initiators/Remove Volumes from a volume access group.
sfcli VolumeAccessGroup modifylunassignments <options> Define custom LUN assignments for specific volumes.
sfcli VolumeAccessGroup list <options> Return information about the volume access groups in the system.
sfcli VolumeAccessGroup getlunassignments <options> Retrieve details on LUN mappings of a specific volume access group.
sfcli VolumeAccessGroup getefficiency <options> Retrieve efficiency info about a volume access group.
sfcli VolumeAccessGroup delete <id> Delete a volume access group.

 

Advertisements

NetApp Clustered Data ONTAP Command Line Reference Guide (CDOT CLI)

Other CLI Reference Guides:
Isilon CLI  |  EMC ECS CLI  |  VNX NAS CLI  |  ViPR Controller CLI  Data Domain CLI  |  Brocade FOS CLI  | EMC XTremIO CLI

This is a comprehensive CLI command line reference guide for NetApp Clustered Data ONTAP.  The commands are based on Version 9.x.  It includes a list of commands for Autobalance, Cluster, Event, Job, LUN, Metrocluster, Network, QoS, Security, SnapLock, SnapMirror, Statistics, Storage, System, Volume, and Vcenter.  For complete documentation and additional options for each of these commands, I recommend you visit the official NetApp ONTAP 9 documentation page.

Autobalance Commands
autobalance aggregate show-aggregate-state -instance Display the Auto Balance Aggregate state for an aggregate
autobalance aggregate show-unbalanced-volume-state Display the Auto Balance Aggregate state for a volume
autobalance aggregate config modify Modify the Auto Balance Aggregate feature configuration
autobalance aggregate config show Display the Auto Balance Aggregate feature configuration
autobalance volume show rebalance -vserver vs1 -volume repo_vol -storage-service gold Display Auto Balance Volume progress for an Infinite Volume
autobalance volume rebalance start Start Auto Balance Volume for an Infinite Volume
autobalance volume rebalance stop Stop Auto Balance Volume for an Infinite Volume
Cluster Commands
cluster contact-info modify Manage contact information for the cluster.
cluster contact-info show Display contact information for the cluster
cluster ha modify -configured true Manage high-availability configuration
cluster ha show Show high-availability configuration status for the cluster
cluster date modify -date “01/01/2011 01:00:00” Modify the current date and time for the nodes in the cluster
cluster date show Display the current date and time for the nodes in the cluster
cluster image cancel-update Cancel an update
cluster image pause-update Pause an update
cluster image resume-update Resume an update
cluster image show-update-history Display the update history
cluster image show-update-log Display the update transaction log
cluster image show-update-log-detail Display detailed information about nondisruptive update events
cluster image show-update-progress Display the update progress
cluster time-service ntp server create Add an NTP Server
cluster time-service ntp server delete Delete a NTP Server
cluster time-service ntp server modify Modify NTP Server Options
cluster time-service ntp server reset Reset NTP server list to a default selection
cluster time-service ntp server show Display a list of NTP Servers
cluster image update Manage an update
cluster image validate Validates the cluster’s update eligibility
cluster image package delete Remove a package from the cluster image package repository
cluster image package get Fetch a package file from a URL into the cluster image package repository
cluster image package show-repository Display information about packages available in the cluster image package repository
cluster kernel-service show Display cluster service state in the kernel
cluster identity modify Modify the cluster’s attributes
cluster identity show Display the cluster’s attributes including Name, Serial Number, Cluster UUID, Location and Contact
cluster log-forwarding create Create a log forwarding destination
cluster log-forwarding delete Delete a log forwarding destination
cluster log-forwarding modify Modify log forwarding destination settings
cluster log-forwarding show Display log forwarding destinations
cluster peer create -peer-addrs cluster2-d2,10.10.1.1 -username admin Create a new cluster peer relationship
cluster peer delete -cluster cluster1 Delete a cluster peer relationship
cluster peer modify Modify cluster peer relationships
cluster peer show -instance Show cluster peer relationships
cluster peer modify-local-name -name cluster1 -new-name cluster1A Modify the local name for a cluster peer
cluster peer ping Initiate intercluster connectivity test
cluster peer show {-instance} Display peer cluster information
cluster peer connection show Show current peering connections for a cluster
cluster peer health show Check peer cluster health
cluster peer offer cancel -cluster cluster2 Cancel the outstanding offer to authenticate with a peer cluster
cluster peer offer show Display outstanding offers to authenticate with a peer cluster
cluster quorum-service options modify Modify the settings for cluster quorum-service
cluster quorum-service options show Display the settings for cluster quorum-service
cluster ring show Display cluster node member’s replication rings
cluster statistics show Display cluster-wide statistics
cluster add-node {-node-ip x.x.x.x | -node-count x} Expand the cluster by discovering and adding new nodes
cluster create -clustername cluster1 -node-count 4 Create a cluster
cluster join -clusteripaddr 192.0.1.1 Join an existing cluster using the specified member’s IP address or by cluster name
cluster modify -node node8 -eligibility true Modify cluster node membership attributes
cluster ping-cluster -node node1 Ping remote cluster interfaces and perform RPC server check
cluster setup Setup wizard
cluster show Display cluster node members
cluster unjoin -node node4  {-force} Unjoin or remove a node from the cluster
Event Commands
event config modify Modify log configuration parameters
event config set-proxy-password Modify password for proxy server
event config show Display log configuration parameters
event catalog show Display event definitions
event filter copy Copy an event filter
event filter show -filter-name filter1 Displays the event catalog
event filter create -filter-name filter1 Create a new event filter.
event filter delete Delete existing event filters
event filter rename Rename an event filter
event filter show Display the list of existing event filters.
event filter test Test an event filter
event filter rule add Add a rule for an event filter
event filter rule delete Delete a rule for an event filter
event filter rule reorder Modify the index of a rule for an event filter
event log show Display latest log events
event notification create Create an event notification
event notification delete Delete event notifications
event notification modify Modify event notifications
event notification show Display event notifications
event notification destination create Create an event notification destination
event notification destination delete Delete existing event destinations
event notification destination modify Modify an event notification destination
event notification destination show Display event notification destinations
event notification history show Display latest events sent to destination
event status show -node node1 Display event status
Job Commands
job schedule delete -name backup1 Delete a schedule
job schedule show {-type cron} Display a list of available schedules
job schedule show-jobs Display the list of jobs by schedule
job schedule cron create -name weekendcron -dayofweek “Saturday, Sunday” -hour 3 Create a cron schedule
job schedule cron delete -name dailycron Delete a cron schedule
job schedule cron modify -name dailycron -hour 7 -minute 20 Modify a cron schedule
job schedule cron show Show cron schedules
job schedule interval create Create a schedule that runs on an interval
job schedule interval delete -name daily Delete an interval schedule
job schedule interval show Show interval schedules
job delete -id 99 Delete a job
job pause -id 99 Pause a job
job resume -id 99 Resume a job
job show {-node node1} Display a list of jobs
job show-bynode Display a list of jobs by node
job show-cluster Display a list of cluster jobs
job show-completed Display a list of completed jobs
job stop -id 99 Stop a job
job unclaim Unclaim a cluster job
job watch-progress -vserver vs0 -id 99 -interval 3 Watch the progress of a job
job history show Display a history of jobs
job initstate show Display init state for job managers
job private delete -node node2 -id 99 Delete a job
jobs private pause -node node2 -id 99 Pause a job
job private resume -node node2 -id 99 Resume a job
job private show -node local Display a list of jobs
job private show-completed Display a list of completed jobs
job private stop -node node2 -id 99 Stop a job
job private watch-progress -node node1 -id 99 -interval 2 Watch the progress of a job
LUN Commands
lun copy cancel -vserver vs1 -destination-path /vol/vol2/lun3 Cancel a LUN copy operation before the new LUN has been created
lun copy modify -vserver vs1 -destination-path /vol/vol2/lun3 Modify an ongoing LUN copy operation
lun copy pause -vserver vs1 -destination-path /vol/vol2/lun3 Pause an ongoing LUN copy operation
lun copy resume -vserver vs1 -destination-path /vol/vol2/lun3 Resume a paused LUN copy operation
lun copy show Display a list of LUNs currently being copied
lun copy start -vserver vs1 -destination-path /vol/vol2/lun2 -source-path /vol/vol1/vol3 Start copying a LUN from one volume to another within a cluster
lun create -vserver vs1 -path /vol/vol1/lun1 -size 100M -ostype linux Create a new LUN
lun delete -vserver vs1 -path /vol/vol1/lun1 Delete the LUN
lun maxsize -volume vol0 -ostype netware Display the maximum possible size of a LUN on a given volume or qtree.
lun modify -path /vol/vol1/lun1 -comment “new comment” Modify a LUN
lun move-in-volume -vserver vs1 -volume vol1 -lun lun1 -new-lun newlun1 Move a LUN within a volume
lun resize -vserver vs1 -path /vol/vol2/lun3 -size 100M -force Changes the size of the LUN to the input value size.
lun show -vserver vs0 -path /vol/vol1/lun1 -instance Display a list of LUNs
lun bind create -vserver vs1 -protocol-endpoint-path /vol/VV1/PE1 -vvol-path /vol/VV1/vol3 Bind a VVol LUN to a protocol endpoint
lun bind destroy -protocol-endpoint-path /vol/VV/pe9 -vvol-path /vol/VV4/dir -vserver vs9 Unbind a VVol LUN from a protocol endpoint
lun bind show -vserver vs1 Show list of Vvol bindings
lun igroup add -vserver vs1 -igroup ig1 -initiator iqn.2018-01.com.thesanguy.mvinitiator Add initiators to an initiator group
lun igroup bind -vserver vs1 -igroup ig1 -portset-name ps1 Bind an existing initiator group to a given portset
lun igroup create Create a new initiator group
lun igroup delete -vserver vs1 -igroup ig1 Delete an initiator group
lun igroup disable-aix-support Disables SAN AIX support on the cluster
lun igroup modify -vserver vs1 -igroup ig1 -ostype windows Modify an existing initiator group
lun igroup remove -vserver vs1 -igroup ig1 -initiator iqn.2018-01.com.thesanguy.mvinitiator Remove initiators from an initiator group
lun igroup rename -vserver vs1 -igroup ig1 -new-name ignew1 Rename an existing initiator group
lun igroup show Display a list of initiator groups
lun igroup unbind Unbind an existing initiator group from a portset
lun import create Create an import relationship
lun import delete -vserver vs1 -path /vol/vol3/lun3 Deletes the import relationship of the specified LUN or the specified foreign disk
lun import pause Pause the import for the specified LUN
lun import prepare-to-downgrade Prepares LUN import to be downgraded
lun import resume Resume the import for the specified LUN
lun import show Display a list of import relationships
lun import start -vserver vs1 -path /vol/vol3/lun3 Start the import for the specified LUN
lun import stop -vserver vs1 -path /vol/vol3/lun3 Stop the import for the specified LUN
lun import throttle -vserver vs1 -path /vol/vol3/lun3 -max-throughput-limit 3M Modify the max throughput limit for the specified import relationship
lun import verify start -vserver vs1 -path /vol/vol3/lun3 Start the verification of the foreign disk and LUN data
lun import verify stop -vserver vs1 -path /vol/vol3/lun3 Stop the verify for the specified LUN
lun mapping add-reporting-nodes -vserver vs1 -path /vol/vol3/lun4 -igroup ig1 Add Reporting Nodes
lun mapping create -vserver vs1 -path /vol/vol8/lun9 -igroup ig9 -lun-id 11 Map a LUN to an initiator group
lun mapping delete -vserver vs1 -path /vol/vol5/lun8 -igroup ig3 Unmap a LUN from an initiator group
lun mapping remove-reporting-nodes -vserver vs1 -path /vol/vol4/lun7 -igroup ig5 Remove Reporting Nodes
lun mapping show Lists the mappings between LUNs and initiator groups.
lun move cancel -vserver vs1 -destination-path /vol/vol3/lun9 Cancel a LUN move operation before the new LUN has been created
lun move modify -vserver vs1 -destination-path /vol/vol6/lun8 Modify an ongoing LUN move operation
lun move pause -vserver vs1 -destination-path /vol/vol6/lun8 Pause an ongoing LUN move operation
lun move resume -vserver vs1 -destination-path /vol/vol6/lun8 Resume a paused LUN move operation
lun move show Display a list LUNs currently being moved
lun move start -vserver vs1 -destination-path /vol/vol3/lun4 -source-path /vol/vol5/lun6 Start moving a LUN from one volume to another within a Vserver
lun persistent-reservation clear -vserver vs1 -path /vol/vol3/lun5 Clear the SCSI-3 persistent reservation information for a given LUN
lun persistent-reservation show -vserver vs1 /vol/vol8/lun9 Display the current reservation information for a given LUN
lun portset add -vserver vs1 -portset ps1 -port-name lif1 Add iSCSI/FCP LIFs to a portset
lun portset create -vserver vs1 -portset ps1 -protocol mixed Creates a new portset
lun portset delete Delete the portset
lun portset remove Remove iSCSI/FCP LIFs from a portset
lun portset show -protocol iscsi Displays a list of portsets
lun transition show -vserver vs1 Display the status of LUN transition processing
lun transition start -vserver vs1 -volume thesanguyvol_1 Start LUN Transition Processing
Metrocluster Commands
metrocluster check disable-periodic-check Disable Periodic Check
metrocluster check enable-periodic-check Enable Periodic Check
metrocluster check run Check the MetroCluster setup
metrocluster check show Show the results of the last instance of MetroCluster check
metrocluster check cluster show Show results of MetroCluster check for the cluster components
metrocluster check aggregate show Show results of MetroCluster check for aggregates
metrocluster check config-replication show Display MetroCluster config-replication status information
metrocluster check config-replication show-aggregate-eligibility Displays the MetroCluster configuration replication aggregate eligibility.
metrocluster check config-replication show-capture-status Display MetroCluster capture status information
metrocluster check lif repair-placement Repair LIF placement for the sync-source Vserver LIFs in the destination cluster
metrocluster check lif show Show results of MetroCluster check results for the data LIFs
metrocluster check node show Show results of MetroCluster check for nodes
metrocluster config-replication cluster-storage-configuration modify Modify MetroCluster storage configuration information
metrocluster config-replication cluster-storage-configuration show Display MetroCluster storage configuration information
metrocluster config-replication resync-status show Display MetroCluster Configuration Resynchronization Status
metrocluster configure Configure MetroCluster and start DR mirroring for the node and its DR group
metrocluster heal -phase aggregates Heal DR data aggregates and DR root aggregates
metrocluster modify -node-name clusA-01 -node-object-limit on Modify MetroCluster configuration options
metrocluster show Display MetroCluster configuration information
metrocluster switchback Switch back storage and client access
metrocluster switchover -forced-on-disaster true Switch over storage and client access
metrocluster interconnect adapter modify Modify MetroCluster interconnect adapter settings
metrocluster interconnect adapter show Display MetroCluster interconnect adapter information
metrocluster interconnect mirror show Display MetroCluster interconnect mirror information
metrocluster interconnect mirror multipath show Display multipath information
metrocluster node show Display MetroCluster node configuration information
metrocluster operation show Display details of the last MetroCluster operation
metrocluster operation history show Display details of all MetroCluster operations
metrocluster vserver recover-from-partial-switchback Recover vservers from partial switchback
metrocluster vserver recover-from-partial-switchover Recover vservers from partial switchover
metrocluster vserver resync Resynchronize Vserver with it’s partner Vserver
metrocluster vserver show Display MetroCluster Vserver relationships
Network Commands
network ping -node thesanguy -destination 10.1.1.22 Ping
network ping6 -node node1 -destination ipv6.thesanguy.com Ping an IPv6 address
network test-path -source-node node1 -destination-cluster cluster1 -destination-node node2 Test path performance between two nodes
network raceroute -node node1 -destination 10.1.1.1 -maxttl 8 Traceroute
network traceroute6 -node node1 -vserver vs1 Traceroute an IPv6 address
network cloud routing-table create -route-table-id eni-999 Create a new external routing table
network cloud routing-table delete -route-table-id eni-999 Delete an existing external routing table
network arp create -vserver vs1 -remotehost 10.1.1.1 -mac 80:45:32:14:39:f1 Create static ARP entry
network arp delete -vserver vs1 -remotehost 10.1.1.1 Delete static ARP entry
network arp show -vserver vs1 Display static ARP entries
network arp active-entry delete Delete active ARP entry
network arp active-entry show -vserver vs1 Display active ARP entries
network connections active show Show the active connections in this cluster
network connections active show-clients Show a count of the active connections by client
network connections active show-lifs Show a count of the active connections by logical interface
network connections active show-protocols Show a count of the active connections by protocol
network connections active show-services Show a count of the active connections by service
network connections listening show Show the listening connections in this cluster
network fcp adapter modify -node node1 -adapter 0d -speed 2 Modify the fcp adapter settings
network fcp adapter show -instance -node thesanguy1 -adapter 0b Display FCP adapters
network device-discovery show Display device discovery information
network interface create Create a logical interface
network interface delete Delete a logical interface
network interface migrate Migrate a logical interface to a different port
network interface migrate-all -node local Migrate all data logical interfaces away from the specified node
network interface modify -vserver vs0 -lif lif1 -netmask 255.255.255.0 Modify a logical interface
network interface rename -vserver vs0 -lif clusterlif0 -newname clusterlif1 Rename a logical interface
network interface revert -vserver * -lif * Revert a logical interface to its home port
network interface show Display logical interfaces
network interface start-cluster-check Start the cluster check function
network interface capacity show Display the number of IP data LIFs capable of being configured on the cluster.
network interface capacity details show Display details about the IP data LIFs capable of being configured on each node.
network interface check failover show Discover if any LIFs might become inaccessible during a node outage, due to over-provisioning
network interface dns-lb-stats show Show the DNS load-balancer stats for this node
network interface lif-weights show Show the load-balancer LIF weights
network interface failover-groups add-targets Add failover targets to a failover group
network interface failover-groups create Create a new failover group
network interface failover-groups delete Delete a failover group
network interface failover-groups modify Modify a failover group
network interface failover-groups remove-targets Remove failover targets from a failover group
network interface failover-groups rename Rename a logical interface failover Group
network interface failover-groups show Display logical interface failover groups
network ipspace create -name ipspace1 Create a new IPspace
network ipspace delete -ipspace ipspace1 Delete an IPspace
network ipspace rename -ipspace ipsA -new-name ipsB Rename an IPspace
network ipspace show Display IPspace information
network ndp neighbor create Create a static NDP neighbor entry
network ndp neighbor delete -vserver vs_1 -neighbor 10:10::10 Delete a static NDP neighbor entry
network ndp neighbor show Display static NDP neighbor entries
network ndp neighbor active-entry delete Delete active neighbor entry
network ndp neighbor active-entry show Display active neighbor entries
network ndp default-router delete-all -ipspace ipspace1 Delete default routers on a given IPspace
network ndp default-router show -port a0d -node local Display default routers
network ndp prefix delete-all -ipspace ips1 Delete IPv6 prefixes on a given IPspace
network ndp prefix show Display IPv6 prefixes
network options cluster-health-notifications modify cluster health notification options
network options cluster-health-notifications show {-node node1} Display cluster health notification options
network options ipv6 modify Modify IPv6 options
network options ipv6 show Display IPv6 options
network options load-balancing modify Modify load balancing algorithm
network options port-health-monitor disable-monitors Disable one or more port health monitors
network options port-health-monitor enable-monitors Enable one or more port health monitors
network options port-health-monitor modify Modify port health monitors configuration
network options port-health-monitor show Display port health monitors configuration
network options send-soa modify Modify Send SOA settings
network options send-soa show Display Send SOA settings
network options switchless-cluster modify Modify switchless cluster network options
network port delete Delete a network port
network port modify Modify network port attributes
network port show Display network port attributes
network port show-address-filter-info Print the port’s address filter information
network port broadcast-domain add-ports Add ports to a layer 2 broadcast domain
network port broadcast-domain create Create a new layer 2 broadcast domain
network port broadcast-domain delete Delete a layer 2 broadcast domain
network port broadcast-domain merge Merges two layer 2 broadcast domains
network port broadcast-domain modify Modify a layer 2 broadcast domain
network port broadcast-domain remove-ports Remove ports from a layer 2 broadcast domain
network port broadcast-domain rename Rename a layer 2 broadcast domain
network port broadcast-domain show Display layer 2 broadcast domain information
network port broadcast-domain split Splits a layer 2 broadcast domain into two layer 2 broadcast domains.
network port ifgrp add-port Add a port to an interface group
network port ifgrp create Create a port interface group
network port ifgrp delete Destroy a port interface group
network port ifgrp remove-port Remove a port from an interface group
network port ifgrp show Display port interface groups
network port vlan create -node node1 -vlan-name f1d-90 Create a virtual LAN
network port vlan delete -node node1 -vlan-name f1d-90 Delete a virtual LAN
network port vlan show Display virtual LANs
network qos-marking modify Modify the QoS marking values
network qos-marking show -ipspace thesanguy Display the QoS marking values
network route create -vserver vserver0 -destination 10.0.0.0/0 -gateway 10.1.9.100 Create a static route
network route delete -vserver vserver0 -destination 0.0.0.0/0 Delete a static route
network route show Display static routes
network route show-lifs Show the Logical Interfaces for each route entry
network route active-entry show Display active routes
network subnet add-ranges -ipspace thesanguy -subnet-name s1 -ip-ranges “10.1.1.10-10.1.1.50” Add new address ranges to a subnet
network subnet create Create a new layer 3 subnet
network subnet delete -ipspace thesanguy -subnet-name sub3 Delete an existing subnet object
network subnet modify Modify a layer 3 subnet
network subnet remove-ranges Remove address ranges from a subnet
network subnet rename -ipspace thesanguy -subnet sub9 -new-name sub5 Rename a layer 3 subnet
network subnet show Display subnet information
network test-link run-test Test link bandwidth
network test-link show Display test results
network test-link start-server -node node1 Start server for bandwidth test
network test-link stop-server -node node1 Stop server for bandwidth test
QoS Commands
qos settings cache modify -default true -cache-setting random_read_write-random_write Cache QoS settings
qos settings cache show Display list of cache policies
qos statistics latency show -iterations 50 -rows 3 Display latency breakdown data per QoS policy group
qos statistics characteristics show -iterations 50 -rows 4 Display QoS policy group characterization
qos statistics resource cpu show -node sanguyA -iterations 50 -rows 3 Display CPU resource utilization data per QoS policy group
qos statistics resource disk show Display disk resource utilization data per QoS policy group
qos statistics performance show -iterations 50 -rows 3 Display system performance data per QoS policy group
qos statistics volume latency show -iterations 50 -rows 3 Display latency breakdown data per volume
qos statistics volume resource cpu show -node thesanguy -iterations 50 -rows 3 Display CPU resource utilization data per volume
qos statistics volume resource disk show Display disk resource utilization data per volume
qos statistics volume performance show -iterations 50 -rows 3 Display system performance data per volume
qos statistics volume characteristics show Display volume characteristics
qos statistics workload latency show -iterations 50 -rows 5 Display latency breakdown data per QoS workload
qos statistics workload characteristics show -iterations 50 -rows 4 Display QoS workload characterization
qos statistics workload performance show -iterations 50 -rows 3 Display system performance data per QoS workload
qos statistics workload resource cpu show -node thesanguy -iterations 80 -rows 4 Display CPU resource utilization data per QoS workload
qos statistics workload resource disk show Disk utilization
qos workload show -class user-defined Display a list of workloads
qos policy-group create p1 -vserver vserverA Create a policy group
qos policy-group delete p1 {-force} Delete a policy group
qos policy-group modify p1 -max-throughput 99IOPS Modify a policy group
qos policy-group rename -policy-group psanguy -new-name psanguy_new Rename a policy group
qos policy-group show Display a list of policy groups
Security Commands
security certificate create -vserver vs1 -common-name www.thesanguy.com -type server Create and Install a Self-Signed Digital Certificate
security certificate delete Delete an Installed Digital Certificate
security certificate generate-csr Generate a Digital Certificate Signing Request
security certificate install Install a Digital Certificate
security certificate prepare-to-downgrade Restore Certificate Management to releases earlier than Data ONTAP 8.3.1.
security certificate show Display Installed Digital Certificates
security certificate sign Sign a Digital Certificate using Self-Signed Root CA
security certificate ca-issued revoke Revoke a Digital Certificate
security certificate ca-issued show Display CA-Issued Digital Certificates
security audit modify Set administrative audit logging settings
security audit show Show administrative audit logging settings
security audit log show Display audit entries merged from multiple nodes in the cluster
security config modify Modify Security Configuration Options
security config show Display Security Configuration Options
security config status show Display Security Configuration Status
security key-manager add -address 10.10.1.250 Add a key management server
security key-manager create-key Create a new authentication key
security key-manager delete -address 10.10.1.250 Delete a key management server
security key-manager query Displays the key IDs stored in a key management server and whether restored
security key-manager restore Restore the authentication key and key ID pairs from the key management servers.
security key-manager setup Configure key manager connectivity
security key-manager show Display key management servers
security key-manager certificate update -type server -address 10.10.10.23 Update key manager SSL certificates
security key-manager backup show Show salt and wrapped keys as a hex dump
security key-manager key show Display Encryption Key IDs
security login create Add a login method
security login delete Delete a login method
security login expire-password Expire user’s password
security login lock Lock a user account with password authentication method
security login modify Modify a login method
security login password -username admin -vserver sanguy1 Modify a password for a user
security login password-prepare-to-downgrade Reset password features introduced in the Data ONTAP version
security login show Show user login methods
security login unlock Unlock a user account with password authentication method
security login whoami Show the current user and role of this session
security login domain-tunnel create Add authentication tunnel Vserver for administrative Vserver
security login domain-tunnel delete Delete authentication tunnel Vserver for administrative Vserver
security login domain-tunnel modify -vserver vs322 Modify authentication tunnel Vserver for administrative Vserver
security login domain-tunnel show Show authentication tunnel Vserver for administrative Vserver
security login banner modify Modify the login banner message
security login banner show Display the login banner message
security login ns-switch group-authentication commands The group-authentication directory
security login ns-switch group-authentication prepare-to-downgrade Remove Ns-switch Groups for Downgrade
security login motd modify Modify the message of the day
security login motd show Display the message of the day
security login publickey create Add a new public key
security login publickey delete Delete a public key
security login publickey load-from-uri Load one or more public keys from a URI
security login publickey modify Modify a public key
security login publickey prepare-to-downgrade Restore publickey features compatible with releases earlier than ONTAP 9.0.
security login publickey show Display public keys
security login role create Add an access control role
security login role delete Delete an access control role
security login role modify Modify an access control role
security login role prepare-to-downgrade Update role configurations so that they are compatible with earlier releases of Data ONTAP
security login role show Show access control roles
security login role show-ontapi Display the mapping between Data ONTAP APIs and CLI commands
security login role config modify Modify local user account restrictions
security login role config reset Reset RBAC characteristics supported on releases later than Data ONTAP 8.1.2
security login role config show Show local user account restrictions
security protocol modify -application rsh -enabled true Modify application configuration options
security protocol show Show application configuration options
security snmpusers Show SNMP users
security session kill-cli -node node1 -session-id 99 Kill an active CLI session
security session show -node node1 Show active CLI & ONTAPI sessions
security session limit create -interface ontapi -category application -max-active-limit 5 Create default session limit
security session limit delete -interface cli -category * Delete default session limit
security session limit modify -interface cli -category location -max-active-limit 4 Modify default session limit
security session limit show Show default session limits
security session limit application create Create per-application session limit
security session limit application delete Delete per-application session limit
security session limit application modify Modify per-application session limit
security session limit application show Show per-application session limits
security session limit location create -interface cli -location 10.1.1.1 -max-active-limit 1 Create per-location session limit
security session limit location delete Delete per-location session limit
security session limit location modify Modify per-location session limit
security session limit location show Show per-location session limits
security session limit request create Create per-request session limit
security session limit request delete Delete per-request session limit
security session limit request modify Modify per-request session limit
security session limit request show Show per-request session limits
security session limit user create Create per-user session limit
security session limit user delete Delete per-user session limit
security session limit user modify Modify per-user session limit
security session limit user show Show per-user session limits
security session limit vserver create Create per-vserver session limit
security session limit vserver delete Delete per-vserver session limit
security session limit vserver modify Modify per-vserver session limit
security session limit vserver show Show per-vserver session limits
security session request-statistics show-by-application Show session request statistics by application
security session request-statistics show-by-location Show session request statistics by location
security session request-statistics show-by-request Show session request statistics by request name
security session request-statistics show-by-user Show session request statistics by username
security session request-statistics show-by-vserver Show session request statistics by Vserver
security ssh add Add SSH configuration options
security ssh modify Modify SSH configuration options
security ssh prepare-to-downgrade Restore SSH configuration to releases earlier than Data ONTAP 9.0.0.
security ssh remove Remove SSH configuration options
security ssh show Display SSH configuration options
security ssl modify Modify the SSL configuration for HTTP servers
security ssl show Display the SSL configuration for HTTP servers
SnapLock Commands
snaplock log create Create audit log configuration for a Vserver.
snaplock log delete Delete audit log configuration for a Vserver.
snaplock log modify Modify audit log configuration for a Vserver.
snaplock log show Display audit log configuration.
snaplock log file archive Archive Active Log Files in Log Volume
snaplock log file show Display audit log file information.
snaplock compliance-clock initialize Initializes the node ComplianceClock
snaplock compliance-clock show Displays the node ComplianceClock
SnapMirror Commands
snapmirror config-replication commands The config-replication directory
snapmirror config-replication cluster-storage-configuration show Display SnapMirror storage configuration information
snapmirror config-replication status show SnapMirror configuration replication status information
snapmirror config-replication status show-aggregate-eligibility Display the SnapMirror configuration replication aggregate eligibility
snapmirror config-replication status show-communication Display SnapMirror configuration replication communication status information
snapmirror abort Abort an active transfer
snapmirror break Make SnapMirror destination writable
snapmirror create Create a new SnapMirror relationship
snapmirror delete Delete a SnapMirror relationship
snapmirror initialize Start a baseline transfer
snapmirror initialize-ls-set Start a baseline load-sharing set transfer
snapmirror list-destinations Display a list of destinations for SnapMirror sources
snapmirror modify Modify a SnapMirror relationship
snapmirror promote Promote the destination to read-write
snapmirror quiesce Disable future transfers
snapmirror release Remove source information for a SnapMirror relationship
snapmirror restore Restore a Snapshot copy from a source volume to a destination volume
snapmirror resume Enable future transfers
snapmirror resync Start a resynchronize operation
snapmirror set-options Display/Set SnapMirror options
snapmirror show Display a list of SnapMirror relationships
snapmirror show-history Displays history of SnapMirror operations.
snapmirror update Start an incremental transfer
snapmirror update-ls-set Start an incremental load-sharing set transfer
snapmirror policy add-rule Add a new rule to SnapMirror policy
snapmirror policy create Create a new SnapMirror policy
snapmirror policy delete Delete a SnapMirror policy
snapmirror policy modify Modify a SnapMirror policy
snapmirror policy modify-rule Modify an existing rule in SnapMirror policy
snapmirror policy remove-rule Remove a rule from SnapMirror policy
snapmirror policy show Show SnapMirror policies
snapmirror snapshot-owner create Add an owner to preserve a Snapshot copy for a SnapMirror mirror-to-vault cascade configuration
snapmirror snapshot-owner delete Delete an owner used to preserve a Snapshot copy for a SnapMirror mirror-to-vault cascade configuration
snapmirror snapshot-owner show Display Snapshot Copies with Owners
Statistics-v1 Commands
statistics-v1 nfs show-mount -node node1 Display mount statistics
statistics-v1 nfs show-statusmon Display status monitor statistics
statistics-v1 nfs show-v3 Display NFSv3 statistics
statistics-v1 nfs show-v4 -node node1 Display NFSv3 statistics
statistics-v1 protocol-request-size show -stat-type nfs3_* -node sanguy_n2 Display size statistics for CIFS and NFS protocol read and write requests
Statistics Commands
statistics disk show Disk throughput and latency metrics
statistics nfs show-mount Display mount statistics
statistics nfs show-statusmon Display status monitor statistics
statistics nfs show-v3 Display NFSv3 statistics
statistics nfs show-v4 Display NFSv4 statistics
statistics start -object system -counter avg_processor_busy|cpu_busy -sample-id smpl_1 Display performance data for a time interval
statistics show-periodic Continuously display current performance data at regular interval
statistics start -object system -sample-id smpl_1 Start data collection for a sample
statistics stop -sample-id smpl_1 Stop data collection for a sample
statistics aggregate show Aggregate throughput and latency metrics
statistics cache flash-pool show Flash pool throughput metrics
statistics catalog counter show -object processor Display the list of counters in an object
statistics catalog instance show Display the list of instances associated with an object
statistics lif show Logical network interface throughput and latency metrics
statistics lun show LUN throughput and latency metrics
statistics node show System utilization metrics for each node in the cluster
statistics oncrpc show-rpc-calls Display ONC RPC Call Statistics
statistics port fcp show FCP port interface throughput and latency metrics
statistics preset delete Delete an existing Performance Preset
statistics preset import Import Performance Preset configuration from source URI
statistics preset modify Modify an existing Performance Preset
statistics preset show Display information about Performance Presets
statistics preset detail show Display information about Performance Preset Details
statistics samples delete Delete statistics samples
statistics samples show Display statistics samples
statistics settings modify Modify settings for the statistics commands
statistics settings show Display settings for the statistics commands
statistics system show System utilization metrics for the cluster
statistics top client show Most active clients
statistics top file show Most actively accessed files
statistics volume show Volume throughput and latency metrics
statistics vserver show Vserver throughput and latency metrics
statistics workload show QoS workload throughput and latency metrics
Storage Commands
storage automated-working-set-analyzer show Display running instances
storage automated-working-set-analyzer start Command to start Automated Working Set Analyzer on node or aggregate
storage automated-working-set-analyzer stop -node vsim21 -aggregate aggr233 Command to stop Automated Working Set Analyzer on node or aggregate
storage automated-working-set-analyzer volume show Displays the Automated Working Set Analyzer volume table
storage aggregate add-disks -aggregate aggr0 -diskcount 6 -raidgroup rg1 Add disks to an aggregate
storage aggregate create -aggregate aggr0 -mirror Create an aggregate
storage aggregate delete -aggregate aggr1 Delete an aggregate
storage aggregate mirror Mirror an existing aggregate
storage aggregate modify -aggregate aggr0 -raidtype raid_dp Modify aggregate attributes
storage aggregate offline Offline an aggregate
storage aggregate online -aggregate aggr1 Online an aggregate
storage aggregate remove-stale-record Remove a stale aggregate record
storage aggregate rename -aggregate aggr0 -newname thesanguy-aggr Rename an aggregate
storage aggregate restrict -aggregate aggr2 -unmount-volumes true Restrict an aggregate
storage aggregate scrub Aggregate parity scrubbing
storage aggregate show Display a list of aggregates
storage aggregate show-efficiency Display aggregate storage efficiency details
storage aggregate show-resync-status Display aggregate resynchronization status
storage aggregate show-scrub-status Display aggregate scrubbing status
storage aggregate show-space Display details of space utilization within an aggregate.
storage aggregate show-spare-disks -owner-name thesanguy_node1 Display spare disks
storage aggregate show-status -aggregate node1_flashpool_0 Display aggregate configuration
storage aggregate verify Verify an aggregate
storage aggregate inode-upgrade resume -aggregate aggr1 Resume suspended inode upgrade
storage aggregate inode-upgrade show Display inode upgrade progress
storage aggregate resynchronization modify -aggregate aggr1 -resync-priority high Modify aggregate resynchronization priorities
storage aggregate resynchronization options show Display node specific aggregate resynchronization options
storage aggregate plex delete -aggregate aggr1 -plex plex1 Delete a plex
storage aggregate plex offline Offline a plex
storage aggregate plex online -aggregate aggr1 -plex plex1 Online a plex
storage aggregate plex show Show plex details
storage aggregate reallocation quiesce Quiesce reallocate job on aggregate
storage aggregate reallocation restart Restart reallocate job on aggregate
storage aggregate reallocation schedule Modify schedule of reallocate job on aggregate
storage aggregate reallocation show Show reallocate job status for improving free space layout
storage aggregate reallocation start Start reallocate job on aggregate
storage aggregate reallocation stop Stop reallocate job on aggregate
storage aggregate relocation show Display relocation status of an aggregate
storage aggregate relocation start Relocate aggregates to the specified destination
storage array modify -name hardware1 -model FastTier Make changes to an array’s profile.
storage array remove Remove a storage array record from the array profile database.
storage array rename -name NetAppClus1 -new-name THESANGUY_Array1 Change the name of a storage array in the array profile database.
storage array show Display information about SAN-attached storage arrays.
storage array config show Display connectivity to back-end storage arrays.
storage array disk paths show Display a list of LUNs on the given array
storage array port modify Make changes to a target port record.
storage array port remove Remove a port record from an array profile.
storage array port show Display information about a storage array’s target ports.
storage bridge add -address 10.1.1.33 Add a bridge for monitoring
storage bridge modify Modify a bridge’s configuration information
storage bridge refresh Refresh storage bridge info
storage bridge remove Remove a bridge from monitoring
storage bridge show Display bridge information
storage encryption disk destroy 1.8.4 Cryptographically destroy a self-encrypting disk
storage encryption disk modify Modify self-encrypting disk parameters
storage encryption disk revert-to-original-state Revert a self-encrypting disk to its original, as-manufactured state
storage encryption disk sanitize 1.8.4 Cryptographically sanitize a self-encrypting disk
storage encryption disk show Display self-encrypting disk attributes
storage encryption disk show-status Display status of disk encryption operation
storage errors show Display storage configuration errors.
storage disk assign -all -node node1 Assign ownership of a disk to a system
storage disk fail -disk 2.3.36 -i true Fail the file system disk
storage disk refresh-ownership Refresh the disk ownership information on a node
storage disk remove -disk 2.3.36 Remove a spare disk
storage disk remove-reservation Removes reservation from an array LUN marked as foreign.
storage disk removeowner -disk 3.8.15 Remove disk ownership
storage disk replace -disk 2.3.36 -replacement 3.2.24 -action start Initiate or stop replacing a file-system disk
storage disk set-foreign-lun -disk EMC-2.3 -is-foreign-lun true Sets or Unsets an array LUN as foreign
storage disk set-led Identify disks by turning on their LEDs
storage disk show Display a list of disk drives and array LUNs
storage disk unfail -disk 1.5.11 -spare Unfail a broken disk
storage disk zerospares Zero non-zeroed spare disks
storage disk error show Display disk component and array LUN configuration errors.
storage disk firmware revert Revert disk firmware
storage disk firmware show-update-status Display disk firmware update status.
storage disk firmware update Update disk firmware
storage disk show -fields firmware-revision Show disk firmware
storage disk option modify Modify disk options
storage disk option show Display a list of disk options
storage failover giveback -fromnode node1 Return failed-over storage to its home node
storage failover modify -node node0 -enabled true Modify storage failover attributes
storage failover show Display storage failover status
storage failover show-giveback Display giveback status
storage failover show-takeover Display takeover status
storage failover takeover -bynode node0 -option immediate Take over the storage of a node’s partner
storage failover hwassist show Display hwassist status
storage failover hwassist test Test the hwassist functionality
storage failover hwassist stats clear -node cluster1-02 Clear the hwassist statistics
storage failover hwassist stats show -node ha1 Display hwassist statistics
storage failover internal-options show Display the internal options for storage failover
storage failover mailbox-disk show Display information about storage failover mailbox disks
storage failover progress-table show Display status information about storage failover operations
storage firmware download Download disk, ACP processor and shelf firmware
storage iscsi-initiator add-target Add an iSCSI target
storage iscsi-initiator connect Connect to an iSCSI target
storage iscsi-initiator disconnect Disconnect from an iSCSI target
storage iscsi-initiator remove-target Remove the iSCSI targets
storage iscsi-initiator show Display the iSCSI targets
storage load balance Balance storage I/O across controller’s initiator ports
storage load show Display I/O statistics to array LUNs, grouped by initiator port.
storage path quiesce Quiesce I/O on a path to array
storage path resume Resume I/O on a path to array
storage path show Display a list of paths to attached arrays.
storage path show-by-initiator Display a list of paths to attached arrays from the initiator’s perspective
storage pool add -storage-pool SP1 -disk-list 2.1.13 -simulate Add disks to a storage pool
storage pool create -storage-pool SP1 -disk-count 6 Create a new storage pool
storage pool delete Delete an existing storage pool
storage pool reassign Reassign capacity from one node to another node in storage pool
storage pool show Display details of storage pools
storage pool show-aggregate -storage-pool SP1 -instance Display aggregates provisioned from storage pools
storage pool show-available-capacity Display available capacity of storage pools
storage pool show-disks Display disks in storage pools
storage port disable -node thesanguy_node1a -port 0b Disable a storage port
storage port enable Enable a storage port
storage port rescan -node nodeB -port 0b Rescan a storage port
storage port reset Reset a storage port
storage port reset-device -node node1 -port 1a -loop-id 10 Reset a device behind a storage port
storage port show Show storage port information
storage raid-options modify Modify a RAID option
storage raid-options show Display RAID options
storage shelf show Display a list of storage shelves
storage shelf acp configure Configure alternate control path (ACP)
storage shelf acp show Show connectivity information
storage shelf acp module show Show modules connected to the cluster
storage shelf firmware show-update-status Display the Shelf Firmware Update (SFU) Status.
storage shelf firmware update Update Shelf Firmware
storage shelf location-led modify Modify the state of the shelf Location LED
storage shelf location-led show Display the Location LED status
storage switch add -address 10.1.1.4 -snmp-community public Add a switch for monitoring
storage switch modify Modify information about a switch’s configuration
storage switch refresh Refresh storage switch info
storage switch remove Remove a switch from monitoring
storage switch show Display switch information
storage tape offline -node cluster1-01 -name thesanguy99 Take a tape drive offline
storage tape online Bring a tape drive online
storage tape position -node thesanguy1-01 -name tape1 -operation rewind Modify a tape drive cartridge position
storage tape reset Reset a tape drive
storage tape show Display information about tape drives and media changers
storage tape show-errors Display tape drive errors
storage tape show-media-changer Display information about media changers
storage tape show-supported-status Displays the qualification and supported status of tape drives
storage tape show-tape-drive Display information about tape drives
storage tape trace -node thesanguy1-01 -is-trace-enabled true Enable/disable tape trace operations
storage tape alias clear -node thesanguy1-01 -name st0 Clear alias names
storage tape alias set Set an alias name for tape drive or media changer
storage tape alias show Displays aliases of all tape drives and media changers
storage tape library config show Display connectivity to back-end storage tape libraries.
storage tape library path show Display a list of Tape Libraries on the given path
storage tape library path show-by-initiator Display a list of LUNs on the given tape library
storage tape config-file delete -filename thesanguy_LTO-6.TCF Delete a tape config file
storage tape config-file get Get a tape drive configuration file
storage tape config-file show Display the list of tape drive configuration files on the given node
storage tape load-balance modify Modify the tape load balance configuration
storage tape load-balance show Displays the tape load balance configuration
System Commands
system controller show Display the controller information
system controller bootmedia show Display the Boot Media Device Health Status
system controller bootmedia serial show Display the Boot Media Device serial number
system controller clus-flap-threshold show Display the controller cluster port flap threshold
system controller config show-errors Display configuration errors
system controller config pci show-add-on-devices Display PCI devices in expansion slots
system controller config pci show-hierarchy Display PCI hierarchy
system controller environment show Display the FRUs in the controller
system controller fru show Display Information About the FRUs in the Controller
system controller fru led disable-all Turn off all the LEDs Data Ontap has lit
system controller fru led enable-all Light all the LEDs
system controller fru led modify Modify the status of FRU LEDs
system controller fru led show Display the status of FRU LEDs
system controller ioxm show Displays IOXM Device Health Status
system controller memory dimm show Display the Memory DIMM Table
system controller pci show Display the PCI Device Table
system controller pcicerr threshold modify Modify the Node PCIe error alert threshold
system controller pcicerr threshold show Display the Node PCIe error alert threshold
system controller sp config show Display the Service Processor Config Table
system controller sp upgrade show Display the Service Processor Upgrade Table
system chassis show Display all the chassis in the cluster
system chassis fru show Display the FRUs in the cluster
system cluster-switch create Add information about a cluster switch or management switch
system cluster-switch delete -device SwitchA Delete information about a cluster switch or management switch
system cluster-switch modify Modify information about a switch’s configuration
system cluster-switch prepare-to-downgrade Changes the model number of manually created switches based on the switch support provided in the Data ONTAP releases prior to 8.2.1
system cluster-switch show Display the configuration for cluster and management switches
system cluster-switch show-all Displays the list of switches that were added and deleted
system cluster-switch polling-interval modify -polling-interval 99 Modify the polling interval for monitoring cluster and management switch health
system cluster-switch polling-interval show Display the polling interval for monitoring cluster and management switch health
system cluster-switch threshold show Display the cluster switch health monitor alert thresholds
system configuration recovery node restore Restore node configuration from a backup
system configuration recovery cluster modify -recovery-status complete Modify cluster recovery status
system configuration recovery cluster recreate Recreate cluster
system configuration recovery cluster rejoin Rejoin a cluster
system configuration recovery cluster show Show cluster recovery status
system configuration recovery cluster sync Sync a node with cluster configuration
system configuration backup copy Copy a configuration backup
system configuration backup create Create a configuration backup
system configuration backup delete Delete a configuration backup
system configuration backup download Download a configuration backup
system configuration backup rename Rename a configuration backup
system configuration backup show Show configuration backup information
system configuration backup upload Upload a configuration backup
system configuration backup settings modify Modify configuration backup settings
system configuration backup settings set-password Modify password for destination URL
system configuration backup settings show Show configuration backup settings
system feature-usage show-history Display Feature Usage History
system feature-usage show-summary Display Feature Usage Summary
system ha interconnect config show Display the high-availability interconnect configuration information
system ha interconnect link off Turn off the interconnect link
system ha interconnect link on Turn on the interconnect link
system ha interconnect port show Display the high-availability interconnect device port information
system ha interconnect ood clear-error-statistics -node ic-f33270-05 Clear error statistics
system ha interconnect ood clear-performance-statistics Clear performance statistics
system ha interconnect ood disable-optimization Disable coalescing work requests
system ha interconnect ood disable-statistics Disable detailed statistics collection
system ha interconnect ood enable-optimization Enable coalescing work requests
system ha interconnect ood enable-statistics Enable detailed statistics collection
system ha interconnect ood send-diagnostic-buffer Send diagnostic buffer to partner
system ha interconnect ood status show Display the high-availability interconnect device out-of-order delivery (OOD) information
system ha interconnect statistics clear-port Clear the high-availability interconnect port counters
system ha interconnect statistics clear-port-symbol-error Clear the high-availability interconnect port symbol errors
system ha interconnect statistics show-scatter-gather-list Display the high-availability interconnect scatter-gather list entry statistics
system ha interconnect statistics performance show Display the high-availability interconnect device performance statistics
system ha interconnect status show Display the high-availability interconnect connection status
system health alert delete Delete system health alert
system health alert modify Modify system health alert
system health alert show View system health alerts
system health alert definition show Display system health alert definition
system health config show Display system health configuration
system health autosupport trigger history show View system health alert history
system health policy definition modify Modify system health policy definition
system health policy definition show Display system health policy definitions
system health status show Display system health monitoring status
system health subsystem show Display the health of subsystems
system license add Add one or more licenses
system license clean-up Remove unnecessary licenses
system license delete -serial-number 1-61-0000000000000000000999999 -package NFS Delete a license
system license show Display licenses
system license capacity show displays the information about the licenses in the system related to capacity
system license entitlement-risk show Display Cluster License Entitlement Risk
system license status show Display license status
system halt -node cluster1 -reason ‘hardware maintenance’ Shut down a node
system node migrate-root Start the root aggregate migration on a node
system node modify Modify node attributes
system node reboot Reboot a node
system node rename Rename a node
system node restore-backup Restore the original backup configuration to the HA target node
system node revert-to Revert a node to a previous release of Data ONTAP
system node run Run interactive or non-interactive commands in the nodeshell
system node run-console Access the console of a node
system node show Display the list of nodes in the cluster
system node show-discovered Display all nodes discovered on the local network
system node show-memory-errors Display Memory Errors on DIMMs
system node autosupport invoke Generate and send an AutoSupport message
system node autosupport invoke-core-upload Generate and send an AutoSupport message with an existing core file.
system node autosupport invoke-performance-archive Generate and send an AutoSupport message with performance archives.
system node autosupport invoke-splog Generate and send an AutoSupport message with collected service-processor log files
system node autosupport modify Modify AutoSupport configuration
system node autosupport show Display AutoSupport configuration
system node autosupport check show Display overall status of AutoSupport subsystem
system node autosupport check show-details Display detailed status of AutoSupport subsystem
system node autosupport destinations show Display a summary of the current AutoSupport destinations
system node autosupport history cancel Cancel an AutoSupport Transmission.
system node autosupport history retransmit Selectively retransmit a previously collected AutoSupport.
system node autosupport history show Display recent AutoSupport messages
system node autosupport history show-upload-details Display upload details of recent AutoSupport messages
system node autosupport manifest show Display AutoSupport content manifest
system node autosupport trigger modify Modify AutoSupport trigger configuration
system node autosupport trigger show Display AutoSupport trigger configuration
system node coredump delete -node node0 -corename core.101689.2018-01-12.12_34_32.nz Delete a coredump
system node coredump delete-all Delete all coredumps owned by a node
system node coredump save Save an unsaved kernel coredump
system node coredump save-all Save all unsaved kernel coredumps owned by a node
system node coredump show Display a list of coredumps
system node coredump status Display kernel coredump status
system node coredump trigger Make the node dump system core and reset
system node coredump config modify Modify coredump configuration
system node coredump config show Display coredump configuration
system node coredump reports delete Delete an application core report
system node coredump reports show Display a list of application core reports
system node coredump segment delete Delete a core segment
system node coredump segment delete-all -node node1 Delete all core segments on a node
system node coredump segment show Display a list of core segments
system node environment sensors show Display the sensor table
system node hardware tape library show Display information about tape libraries
system node hardware tape drive show Displays information about tape drives
system node hardware unified-connect modify Modify the Fibre Channel and converged networking adapter configuration
system node hardware unified-connect show Displays information about Fibre Channel and converged networking adapters
system node external-cache modify -node node1 -is-enabled true Modify external cache settings.
system node external-cache show -node node1 Display external cache settings.
system node image abort-operation Abort software image ‘update’ or ‘get’ operation
system node image get Fetch a file from a URL
system node image modify Modify software image configuration
system node image show Display software image information
system node image show-update-progress Show progress information for a currently running update
system node image update Perform software image upgrade/downgrade
system node image package delete Delete a software package
system node image package show Display software package information
system node firmware download Download motherboard firmware and system diagnostics
system node internal-switch show Display onboard switch attributes
system node internal-switch dump eeprom Display onboard switch eeprom config
system node internal-switch dump port-mapping -node Node1 -switch-id 0 Display onboard switch port mapping
system node internal-switch dump stat Display onboard switch port statistics counter
system node power on Power nodes on
system node power show Display the current power status of the nodes
system node root-mount create Create a mount from one node to another node’s root volume.
system node root-mount delete Delete a mount from one node to another node’s root volume.
system node root-mount show Show the existing mounts from any node to another node’s root volume.
system node upgrade-revert show Display upgrade/revert node status.
system node upgrade-revert upgrade Run the upgrade at a specific phase.
system node virtual-machine instance show Display virtual machine instance information per node
system node virtual-machine instance show-system-disks Display information about Data ONTAP-v system disks
system node virtual-machine hypervisor modify-credentials Modify hypervisor IP address and its credentials
system node virtual-machine hypervisor show Display hypervisor information about Data ONTAP-v nodes
system node virtual-machine hypervisor show-credentials Display hypervisor IP address and its credentials
system node virtual-machine provider credential create Add provider credentials
system node virtual-machine provider credential delete Remove provider credentials
system node virtual-machine provider credential modify Modify provider credentials
system node virtual-machine provider credential show Display the provider credentials
system node virtual-machine provider proxy create Add a proxy server
system node virtual-machine provider proxy delete Remove the proxy server
system node virtual-machine provider proxy modify Modify the proxy server
system node virtual-machine provider proxy show Display the proxy server
system script delete Delete saved CLI session logs
system script show Display saved CLI session logs
system script start Start logging all CLI I/O to session log
system script stop Stops logging CLI I/O
system script upload Upload the selected CLI session log
system service-processor reboot-sp -node node1 -image primary Reboot the Service Processor on a node
system service-processor show Display the Service Processor information
system service-processor api-service modify -port 82001 Modify service processor API service configuration
system service-processor api-service renew-certificates Renew SSL and SSH certificates used for secure communication with Service Processor API service
system service-processor api-service show Display service processor API service configuration
system service-processor image modify -node local -autoupdate true Enable/Disable automatic firmware update
system service-processor image show Display the details of currently installed Service Processor firmware image
system service-processor image update Update Service Processor firmware
system service-processor image update-progress show Display status for the latest Service Processor firmware update
system service-processor log show-allocations Display the Service Processor log allocation map
system service-processor network modify Modify the network configuration
system service-processor network show Display the network configuration
system service-processor network auto-configuration disable Disable Service Processor Auto-Configuration
system service-processor network auto-configuration enable Enable Service Processor Auto-Configuration
system service-processor network auto-configuration show Display Service Processor Auto-Configuration Setup
system service-processor ssh add-allowed-addresses Add IP addresses to the list that is allowed to access the Service Processor
system service-processor ssh remove-allowed-addresses Remove IP addresses from the list that is allowed to access the Service Processor
system service-processor ssh show Display SSH security information about the Service Processor
system services firewall modify Modify firewall status
system services firewall show Show firewall status
system services firewall policy clone Clone an existing firewall policy
system services firewall policy create Create a firewall policy entry for a network service
system services firewall policy delete Remove a service from a firewall policy
system services firewall policy modify Modify a firewall policy entry for a network service
system services firewall policy show Show firewall policies
system services manager install show Display a list of installed services
system services manager policy add -service diagnosis -version 1.0 Add a new service policy
system services manager policy remove Remove a service policy
system services manager policy setstate -service diagnosis -version 1.0 -state off Enable/disable a service policy
system services manager policy show Display service policies
system services manager status show Display the status of a service
system services ndmp kill Kill the specified NDMP session
system services ndmp kill-all -node node1 Kill all NDMP sessions
system services ndmp probe Display list of NDMP sessions
system services ndmp status Display list of NDMP sessions
system services ndmp modify -node node1 Modify NDMP service configuration
system services ndmp service show Display NDMP service configuration
system services ndmp service start Start the NDMP service
system services ndmp service stop -node node0 Stop the NDMP service
system services ndmp service terminate Terminate all NDMP sessions
system services web modify -wait-queue-capacity 256 Modify the cluster-level configuration of web protocols
system services web show Display the cluster-level configuration of web protocols
system services web node show Display the status of the web servers at the node level
system smtape abort -session 99 Abort an active SMTape session
system smtape backup Backup a volume to tape devices
system smtape break Make a restored volume read-write
system smtape continue Continue SMTape session waiting at the end of tape
system smtape restore Restore a volume from tape devices
system smtape showheader Display SMTape header
system smtape status clear Clear SMTape sessions
system smtape status show Show status of SMTape sessions
system timeout modify -timeout 10 Set the CLI inactivity timeout value
system timeout show Display the CLI inactivity timeout value
system snmp authtrap Enables or disables SNMP authentication traps
system snmp contact Displays or modifies contact details
system snmp init Enables or disables SNMP traps
system snmp location Displays or modifies location information
system snmp show Displays SNMP settings
system snmp community add Adds a new community with the specified access control type
system snmp community delete Deletes community with the specified access control type
system snmp community show Displays communities
system snmp traphost add Add a new traphost
system snmp traphost delete Delete a traphost
system snmp traphost showDisplays traphosts Displays traphosts
Volume Commands
vol autosize vol1 -maximum-size 1t -mode grow Set/Display the autosize settings of the flexible volume.
volume create -vserver vs0 -volume vol_cached -aggregate aggr1 -state online -caching-policy auto Create a new volume
volume delete -vserver vs0 -volume vol1_old Delete an existing volume
volume make-vsroot -vserver vs0 -volume root_vs0_backup Designate a non-root volume as a root volume of the Vserver
volume modify -volume vol2 -autosize-mode grow -max-autosize 500g Modify volume attributes
volume mount -vserver vs0 -volume sanguy1 -junction-path /user/sanguy -active true -policy-override false Mount a volume on another volume with a junction-path
volume offline vol23 Take an existing volume offline
volume online vol1 Bring an existing volume online
volume rehost -vserver vs1 -volume vol0 -destination-vserver thesanguy2 Rehost a volume from one Vserver into another Vserver
volume rename -vserver vs0 -volume vol3_bckp -newname vol3_new Rename an existing volume
volume restrict vol1 Restrict an existing volume
volume show -vserver vs1 Display a list of volumes
volume show-footprint Display a list of volumes and their data and metadata footprints in their associated aggregate.
volume show-space Display space usage for volume(s)
volume size Set/Display the size of the volume.
volume transition-prepare-to-downgrade Verifies that there are no volumes actively transitioning from 7-mode to clustered Data ONTAP
volume unmount -vserver vs0 -volume vol2 Unmount a volume
volume efficiency check -vserver vs1 -volume vol1 -delete-checkpoint true Scrub efficiency metadata of a volume
volume efficiency modify -vserver vs1 -volume vol1 -policy policy1 Modify the efficiency configuration of a volume
volume efficiency on Enable efficiency on a volume
volume efficiency prepare-to-downgrade Identify any incompatable volumes or Snapshot copies before downgrade
volume efficiency revert-to Reverts volume efficiency metadata
volume efficiency show -vserver vs1 Display a list of volumes with efficiency
volume efficiency start -volume vol1 -vserver vs1 Starts efficiency operation on a volume
volume efficiency stat -l -vserver vs1 -volume vol1 Show volume efficiency statistics
volume efficiency stop Stop efficiency operation on a volume
volume efficiency undo Undo efficiency on a volume
volume efficiency policy create Create an efficiency policy
volume efficiency policy delete Delete an efficiency policy
volume efficiency policy modify -policy policy1 -schedule hourly Modify an efficiency policy
volume efficiency policy show Show efficiency policies
volume clone create Create a FlexClone volume
volume clone show Display a list of FlexClones
volume clone split commands Commands to manage FlexClone split
volume clone split show Show the status of FlexClone split operations in-progress
volume clone split start Split a FlexClone from the parent volume
volume clone split stop Stop an ongoing FlexClone split job
volume aggregate vacate Move all Infinite Volume constituents from one aggregate to another.
volume file compact-data Apply Adaptive Data Compaction to a Snapshot copy of a file
volume file modify Manage the association of a QoS policy group with a file
volume file privileged-delete Perform a privileged-delete operation on unexpired WORM files on a SnapLock enterprise volume
volume file reservation Get/Set the space reservation info for the named file.
volume file show-disk-usage Show disk usage of file
volume file show-filehandle Show the file handle of a file
volume file show-inode Display file paths for a given inode
volume file clone autodelete Enable/Disable autodelete
volume file clone create Create file or LUN full or sub file clone
volume file clone show-autodelete Show the autodelete status for a file or LUN clone
volume file clone deletion add-extension Add new supported file extensions to be deleted with clone delete
volume file clone deletion modify -volume vol1 -vserver vs1 -minimum-size 100M Used to change the required minimum clone file size of a volume for clone delete
volume file clone deletion remove-extension Remove unsupported file extensions for clone delete
volume file clone deletion show Show the supported file extensions for clone delete
volume file clone split load*> modify -node clone-01 -max-split-load 100KB Modify maximum split load on a node
volume file clone split load show Show split load on a node
volume file fingerprint abort Abort a file fingerprint operation
volume file fingerprint dump Display fingerprint of a file
volume file fingerprint show -vserver vs0 -volume nfs_slc Display fingerprint operation status
volume file fingerprint start Start a file fingerprint computation on a file
volume file retention show Display retention time of a WORM file.
volume inode-upgrade prepare-to-downgrade Prepare volume to downgrade to a release earlier than Data ONTAP 9.0.0
volume inode-upgrade resume -vserver vs0 -volume vol1 Resume suspended inode upgrade
volume inode-upgrade show Display Inode Upgrade Progress
volume move abort -vserver vs0 -volume vol1 Stop a running volume move operation
volume move modify Modify parameters for a running volume move operation
volume move show -vserver vs0 -volume vol2 Show status of a volume moving from one aggregate to another aggregate
volume move start Start moving a volume from one aggregate to another aggregate
volume move trigger-cutover Trigger cutover of a move job
volume move recommend show Display Move Recommendations
volume move target-aggr show List target aggregates compatible for volume move
volume qtree create -vserver vs0 -volume vol1 -qtree qtree1 -security-style mixed Create a new qtree
volume qtree delete -vserver vs0 -volume vol1 -qtree qtree4 Delete a qtree
volume qtree modify Modify qtree attributes
volume qtree oplocks Modify qtree oplock mode
volume qtree rename Rename an existing qtree
volume qtree security Modify qtree security style
volume qtree show Display a list of qtrees
volume qtree statistics -vserver vs0 Display qtree statistics
volume qtree statistics-reset -vserver vs0 -volume vol1 Reset qtree statistics in a volume
volume quota modify Modify quota state for volumes
volume quota off -vserver vs0 -volume vol1 Turn off quotas for volumes
volume quota on -vserver vs0 -volume vol1 Turn on quotas for volumes
volume quota report Display the quota report for volumes
volume quota resize -vserver vs0 -volume vol1 Resize quotas for volumes
volume quota show -vserver vs0 Display quota state for volumes
volume quota policy copy Copy a quota policy
volume quota policy create -vserver vs0 -policy-name quota_policy_0 Create a quota policy
volume quota policy delete -vserver vs0 -policy-name quota_sanguy_2 Delete a quota policy
volume quota policy rename Rename a quota policy
volume quota policy show Display the quota policies
volume quota policy rule create Create a new quota rule
volume quota policy rule delete Delete an existing quota rule
volume quota policy rule modify Modify an existing quota rule
volume quota policy rule show Display the quota rules
volume quota policy rule count show -vserver vs0 -policy-name default Display count of quota rules
volume reallocation measure Start reallocate measure job
volume reallocation off Disable reallocate jobs
volume reallocation on Enable reallocate jobs
volume reallocation quiesce Quiesce reallocate job
volume reallocation restart Restart reallocate job
volume reallocation schedule Modify schedule of reallocate job
volume reallocation show Show reallocate job status
volume reallocation start Start reallocate job
volume reallocation stop Stop reallocate job
volume schedule-style prepare-to-downgrade Disables volume schedule style feature and sets schedule style to default
volume snaplock modify -volume vol_slc -maximum-retention-period infinite Modify SnapLock attributes of a SnapLock volume
volume snaplock show Display SnapLock attributes of a SnapLock volume
volume snapshot compute-reclaimable Calculate the reclaimable space if specified snapshots are deleted
volume snapshot create -vserver vs0 -volume vol3 -snapshot vol3_snap -comment “snapme” -foreground false Create a snapshot
volume snapshot delete -vserver vs0 -volume vol3 -snapshot vol3_daily Delete a snapshot
volume snapshot modify Modify snapshot attributes
volume snapshot modify-snaplock-expiry-time Modify expiry time of a SnapLock Snapshot copy
volume snapshot partial-restore-file Restore part of a file from a snapshot
volume snapshot prepare-for-revert -node node1 Deletes multiple Snapshot copies of the current File System version.
volume snapshot rename Rename a snapshot
volume snapshot restore -vserver vs0 -volume vol3 -snapshot vol3_snap_archive Restore the volume to a snapshot.
volume snapshot restore-file Restore a file from a snapshot
volume snapshot show Display a list of snapshots
volume snapshot show-delta Computes delta between two Snapshot copies
volume snapshot autodelete modify Modify autodelete settings
volume snapshot autodelete show Display autodelete settings
volume snapshot policy add-schedule Add a schedule to snapshot policy
volume snapshot policy create Create a new snapshot policy
volume snapshot policy delete Delete a snapshot policy
volume snapshot policy modify Modify a snapshot policy
volume snapshot policy modify-schedule Modify a schedule within snapshot policy
volume snapshot policy remove-schedule Remove a schedule from snapshot policy
volume snapshot policy show Show snapshot policies
volume transition-convert-dir show Display 7-Mode directories being converted
volume transition-convert-dir start Start converting a 7-Mode directory to Cluster-mode
Vserver Commands
vserver add-aggregates -vserver vs.thesanguy.com -aggregates aggr1,aggr2 Add aggregates to the Vserver
vserver add-protocols -vserver vs0.thesanguy.com -protocols cifs Add protocols to the Vserver
vserver context -vserver vs0.thesanguy.com Set Vserver context
vserver create -vserver vs0.thesanguy.com -ipspace ipspace1 -rootvolume root_vs0 -aggregate aggr0 -language en_US.UTF-8 -rootvolume-security-style mixed Create a Vserver
vserver delete -vserver vs2.thesanguy.com Delete an existing Vserver
vserver modify Modify a Vserver
vserver prepare-for-revert Prepares Vservers to be reverted
vserver remove-aggregates -vserver vs.example.com -aggregates aggr1,aggr2 Remove aggregates from the Vserver
vserver remove-protocols -vserver vs0.example.com -protocols cifs Remove protocols from the Vserver
vserver rename Rename a Vserver
vserver show Display Vservers
vserver show-aggregates -vserver vs Show details of aggregates in a Vserver
vserver show-protocols -vserver vs1 Show protocols for Vserver
vserver start -vserver vs0.thesanguy.com -foreground false Start a Vserver
vserver stop -vserver vs0.thesanguy.com -foreground false Stop a Vserver
vserver unlock -vserver vs1.thesanguy.com -force true Unlock Vserver configuration
vserver active-directory create -vserver vs1 -account-name ADSERVER1 -domain www.thesanguy.com Create an Active Directory account.
vserver active-directory delete Delete an Active Directory account
vserver active-directory modify Modify the domain of an Active Directory account.
vserver active-directory password-change -vserver vs1 Change the domain account password for an Active Directory account
vserver active-directory password-reset Reset the domain account password for an Active Directory account
vserver active-directory show Display Active Directory accounts
vserver check lif-multitenancy run -vserver vs0 Run check for LIF multitenancy
vserver check lif-multitenancy show Show the summary of the latest multitenancy network run
vserver check lif-multitenancy show-results -vserver vs0 Show the results of the latest multitenancy network run
vserver audit create Create an audit configuration
vserver audit delete Delete audit configuration
vserver audit disable Disable auditing
vserver audit enable Enable auditing
vserver audit modify -vserver vs1 -rotate-size 10MB -rotate-limit 3 Modify the audit configuration
vserver audit rotate-log -vserver vs1 Rotate audit log
vserver audit show Display the audit configuration
vserver cifs add-netbios-aliases Add NetBIOS aliases for the CIFS server name
vserver cifs create -vserver vs1 -cifs-server CIFSSERVER1 -domain sample.com Create a CIFS server
vserver cifs delete -vserver vs1 Delete a CIFS server
vserver cifs modify -vserver vs1 -default-site default -status-admin up Modify a CIFS server
vserver cifs nbtstat Display NetBIOS information over TCP connection
vserver cifs prepare-to-downgrade Restore the CIFS Configurations to Earlier Release of Data ONTAP Version
vserver cifs remove-netbios-aliases Remove NetBIOS aliases
vserver cifs repair-modify Repair a partially-failed Vserver CIFS server modify operation
vserver cifs show Display CIFS servers
vserver cifs start Start a CIFS server
cifs stop -vserver vs1 Stop a CIFS server
vserver cifs branchcache create -vserver vs1 -hash-store-path /vs1_hash_store Create the CIFS BranchCache service
vserver cifs branchcache delete -flush-hashes true -vserver vs1 Stop and remove the CIFS BranchCache service
vserver cifs branchcache hash-create Force CIFS BranchCache hash generation for the specified path or file
vserver cifs branchcache hash-flush -vserver vs1 Flush all generated BranchCache hashes
vserver cifs branchcache modify Modify the CIFS BranchCache service settings
vserver cifs branchcache show Display the CIFS BranchCache service status and settings
vserver cifs character-mapping create Create character mapping on a volume
vserver cifs character-mapping delete Delete character mapping on a volume
vserver cifs character-mapping modify Modify character mapping on a volume
vserver cifs character-mapping show Display character mapping on volumes
vserver cifs connection show Displays established CIFS connections
vserver cifs domain discovered-servers reset-servers Reset and rediscover servers for a Vserver
vserver cifs domain discovered-servers show Display discovered server information
vserver cifs domain name-mapping-search add Add to the list of trusted domains for name-mapping
vserver cifs domain name-mapping-search modify Modify the list of trusted domains for name-mapping search
vserver cifs domain name-mapping-search remove Remove from the list of trusted domains for name-mapping search
vserver cifs domain name-mapping-search show Display the list of trusted domains for name-mapping searches
vserver cifs domain password change -vserver vs1 Generate a new password for the CIFS server’s machine account and change it in the Windows Active Directory domain.
vserver cifs domain password reset Reset the CIFS server’s machine account password in the Windows Active Directory domain.
vserver cifs domain password schedule modify Modify the domain account password change schedule
vserver cifs domain preferred-dc add -vserver vs1 -domain example.com -preferred-dc 10.1.1.1 Add to a list of preferred domain controllers
vserver cifs domain preferred-dc remove Remove from a list of preferred domain controllers
vserver cifs domain preferred-dc show Display a list of preferred domain controllers
vserver cifs domain trusts rediscover Reset and rediscover trusted domains for a Vserver
vserver cifs domain trusts show Display discovered trusted domain information
vserver cifs group-policy modify -vserver vs1 -status enabled Change group policy configuration
vserver cifs group-policy show Show group policy configuration
vserver cifs group-policy show-applied Show currently applied group policy setting
vserver cifs group-policy show-defined Show applicable group policy settings defined in Active Directory
vserver cifs group-policy update -vserver vs1 -force-reapply-all-settings true Apply group policy settings defined in Active Directory
vserver cifs group-policy central-access-policy show-applied Show currently applied central access policies
vserver cifs group-policy central-access-policy show-defined Show applicable central access policies defined in the Active Directory
vserver cifs group-policy central-access-rule show-applied Show currently applied central access rules
vserver cifs group-policy central-access-rule show-defined Show applicable central access rules defined in the Active Directory
vserver cifs group-policy restricted-group show-applied Show the applied restricted-group settings.
vserver cifs group-policy restricted-group show-defined Show the defined restricted-group settings.
vserver cifs home-directory modify Modify attributes of CIFS home directories
vserver cifs home-directory show Display home directory configurations
vserver cifs home-directory show-user Display the Home Directory Path for a User
vserver cifs home-directory search-path add -vserver vs1 -path /home1 Add a home directory search path
vserver cifs home-directory search-path remove Remove a home directory search path
vserver cifs home-directory search-path reorder -vserver vs1 -path /home1 -to-position 1 Change the search path order used to find a match
vserver cifs home-directory search-path show Display home directory search paths
vserver cifs options modify Modify CIFS options
vserver cifs options show Display CIFS options
vserver cifs security modify Modify CIFS security settings
vserver cifs security show Display CIFS security settings
vserver cifs session close -node * -protocol-version SMB2 Close an open CIFS session
vserver cifs session show Display established CIFS sessions
vserver cifs session file close Close an open CIFS file
vserver cifs session file show Display opened CIFS files
vserver cifs share create -vserver vs1 -share-name SALES_SHARE -path /sales -symlink properties enable Create a CIFS share
vserver cifs share delete -vserver vs1 -share-name share1 Delete a CIFS share
vserver cifs share modify Modify a CIFS share
vserver cifs share show Display CIFS shares
vserver cifs share properties add Add to the list of share properties
vserver cifs share properties remove Remove from the list of share properties
vserver cifs share properties show Display share properties
vserver cifs share access-control create Create an access control list
vserver cifs share access-control delete Delete an access control list
vserver cifs share access-control modify Modify an access control list
vserver cifs share access-control show Display access control lists on CIFS shares
vserver cifs superuser create -domain thesanguy.com -accountname username -vserver vs1 Adds superuser permissions to a CIFS account
vserver cifs superuser delete Deletes superuser permissions from a CIFS account
vserver cifs superuser show Display superuser permissions for CIFS accounts
vserver cifs symlink create Create a symlink path mapping
vserver cifs symlink delete Delete a symlink path mapping
vserver cifs symlink modify Modify a symlink path mapping
vserver cifs symlink show Show symlink path mappings
vserver cifs users-and-groups update-names Update the names of Active Directory users and groups
vserver cifs users-and-groups local-group add-members Add members to a local group
vserver cifs users-and-groups local-group create Create a local group
server cifs users-and-groups local-group delete -vserver vs1 -group-name CIFS_SERVER Delete a local group
vserver cifs users-and-groups local-group modify Modify a local group
vserver cifs users-and-groups local-group remove-members Remove members from a local group
vserver cifs users-and-groups local-group rename Rename a local group
vserver cifs users-and-groups local-group show -vserver vs1 Display local groups
vserver cifs users-and-groups local-group show-members -vserver vs1 Display local groups’ members
vserver cifs users-and-groups privilege add-privilege Add local privileges to a user or group
vserver cifs users-and-groups privilege remove-privilege Remove privileges from a user or group
vserver cifs users-and-groups privilege reset-privilege Reset local privileges for a user or group
vserver cifs users-and-groups privilege show Display privileges
vserver cifs users-and-groups local-user create Create a local user
vserver cifs users-and-groups local-user delete Delete a local user
vserver cifs users-and-groups local-user modify Modify a local user
vserver cifs users-and-groups local-user rename Rename a local user
vserver cifs users-and-groups local-user set-password Set a password for a local user
vserver cifs users-and-groups local-user show Display local users
vserver cifs users-and-groups local-user show-membership Display local users’ membership information
vserver config-replication pause Temporarily pause Vserver configuration replication
vserver config-replication resume Resume Vserver configuration replication
vserver config-replication show Display Vserver configuration replication resume time
vserver data-policy export -vserver vs1 Display a data policy
vserver data-policy import Import a data policy
vserver data-policy validate Validate a data policy without import
vserver export-policy check-access Given a Volume And/or a Qtree, Check to See If the Client Is Allowed Access
vserver export-policy copy Copy an export policy
vserver export-policy create Create a rule set
vserver export-policy delete Delete a rule set
vserver export-policy rename Rename an export policy
vserver export-policy show Display a list of rule sets
vserver export-policy access-cache config modify -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200 Modify exports access cache configuration
vserver export-policy access-cache config modify-all-vservers -ttl-positive 36000 -ttl-negative 3600 -harvest-timeout 43200 Modify exports access cache configuration for all Vservers
vserver export-policy access-cache config show Display exports access cache configuration
vserver export-policy access-cache config show-all-vservers Display exports access cache configuration for all Vservers
vserver export-policy netgroup check-membership Check to see if the client is a member of the netgroup
vserver export-policy netgroup cache show -vserver vs1 -netgroup netgroup1 Show the Netgroup Cache
vserver export-policy netgroup queue show Show the Netgroup Processing Queue
vserver export-policy cache flush -vserver vs0 -cache access Flush the Export Caches
vserver export-policy rule add-clientmatches Add list of clientmatch strings to an existing rule
vserver export-policy rule create Create a rule
vserver export-policy rule delete Delete a rule
vserver export-policy rule modify Modify a rule
vserver export-policy rule remove-clientmatches -vserver vs1 -policyname default_expolicy -ruleindex 1 -clientmatches “1.1.1.1” Remove list of clientmatch strings from an existing rule
vserver export-policy rule setindex Move a rule to a specified index
vserver export-policy rule show Display a list of rules
vserver fcp create Create FCP service configuration
vserver fcp create -vserver vsanguy_1 Manage the FCP service on a Vserver
vserver fcp delete -vserver vsanguy_1 Delete FCP service configuration
vserver fcp modify -vserver vsanguy_1 -status-admin down Modify FCP service configuration
vserver fcp show Display FCP service configuration
vserver fcp start Starts the FCP service
vserver fcp stop Stops the FCP service
vserver fcp interface show Display configuration information for an FCP interface
vserver fcp ping-igroup show Ping FCP by Igroup
vserver fcp initiator show Display FCP initiators currently connected
vserver fcp ping-initiator show Ping FCP initiator
vserver fcp portname set -vserver vs_1 -lif vs_1.fcp -wwpn SA:NG:UY:B0:58:9b:F6:33 Assigns a new WWPN to a FCP adapter
vserver fcp portname show Display WWPN for FCP logical interfaces
vserver fcp wwn blacklist commands Manage blacklisted WWNs
vserver fcp wwn blacklist show Displays the blacklisted WWNs
vserver fcp wwpn-alias remove -vserver vs_1 -wwpn ff:b1:TH:ES:AN:GU:Ya:23 Removes an alias for a World Wide Port Name of an initiator.
vserver fcp wwpn-alias set Set an alias for a World Wide Port Name of an initiator that might login to the target.
vserver fcp wwpn-alias show Displays a list of the WWPN aliases configured for initiators
vserver fpolicy disable Disable a policy
vserver fpolicy enable Enable a policy
vserver fpolicy engine-connect Establish a connection to FPolicy server
vserver fpolicy engine-disconnect Terminate connection to FPolicy server
vserver fpolicy prepare-to-downgrade Restore the FPolicy configuration to Earlier Release of Data ONTAP
vserver fpolicy show Display all policies with status
vserver fpolicy show-enabled Display all enabled policies
vserver fpolicy show-engine Display FPolicy server status
vserver fpolicy show-passthrough-read-connection Display connection status for FPolicy passthrough-read
vserver fpolicy policy create Create a policy
vserver fpolicy policy delete Delete a policy
vserver fpolicy policy modify Modify a policy
vserver fpolicy policy show Display policy configuration
vserver fpolicy policy external-engine create Create an external engine
vserver fpolicy policy external-engine delete Delete an external engine
vserver fpolicy policy external-engine modify Modify an external engine
vserver fpolicy policy external-engine show Display external engines
vserver fpolicy policy scope create Create scope
vserver fpolicy policy scope delete Delete scope
vserver fpolicy policy scope modify Modify scope
vserver fpolicy policy scope show Display scope
vserver fpolicy policy event create Create an event
vserver fpolicy policy event delete -vserver vs1.example.com -event-name cifs_event Delete an event
vserver fpolicy policy event modify Modify an event
vserver fpolicy policy event show Display events
vserver group-mapping create Create a group mapping
vserver group-mapping delete Delete a group mapping
vserver group-mapping insert Create a group mapping at a specified position
vserver group-mapping modify Modify a group mapping’s pattern, replacement pattern, or both
vserver group-mapping show Display group mappings
vserver group-mapping swap Exchange the positions of two group mappings
vserver iscsi create -vserver vs_1 Create a Vserver’s iSCSI service
vserver iscsi delete Delete a Vserver’s iSCSI service
vserver iscsi modify Modify a Vserver’s iSCSI service
vserver iscsi show Display a Vserver’s iSCSI configuration
vserver iscsi start Starts the iSCSI service
vserver iscsi stop Stops the iSCSI service
vserver iscsi connection show Display active iSCSI connections
vserver iscsi connection shutdown Shut down a connection on a node
vserver iscsi command show Display active iSCSI commands
vserver iscsi initiator show Display iSCSI initiators currently connected
vserver iscsi interface disable Disable the specified interfaces for iSCSI service
vserver iscsi interface enable Enable the specified interfaces for iSCSI service
vserver iscsi interface modify Modify network interfaces used for iSCSI connectivity
vserver iscsi interface show -vserver vs_1 Show network interfaces used for iSCSI connectivity
vserver iscsi interface accesslist add Add the iSCSI LIFs to the accesslist of the specified initiator
vserver iscsi interface accesslist remove Remove the iSCSI LIFs from the accesslist of the specified initiator
vserver iscsi interface accesslist show Show accesslist of the initiators for iSCSI connectivity
vserver iscsi isns create Configure the iSNS service for the Vserver
vserver iscsi isns delete Remove the iSNS service for the Vserver
vserver iscsi isns modify Modify the iSNS service for the Vserver
vserver iscsi isns show Show iSNS service configuration
vserver iscsi isns start -vserver vs_1 Starts the iSNS service
vserver iscsi isns stop Stops the iSNS service
vserver iscsi isns update Force update of registered iSNS information
vserver iscsi session show Display iSCSI sessions
vserver iscsi session shutdown Shut down a session on a node
vserver iscsi session parameter show Display the parameters used to establish an iSCSI session
vserver iscsi security create Create an iSCSI authentication configuration for an initiator
vserver iscsi security delete -vserver vs_1 -initiator iqn.1992-08.com.thesanguy:abcdefg Delete the iSCSI authentication configuration for an initiator
vserver iscsi security modify Modify the iSCSI authentication configuration for an initiator
vserver iscsi security show Show the current iSCSI authentication configuration
vserver nfs create Create an NFS configuration for a Vserver
vserver nfs delete -vserver vs2 Delete the NFS configuration of a Vserver
vserver nfs modify -vserver vs0 -access true -v3 enabled -udp disabled -tcp enabled Modify the NFS configuration of a Vserver
vserver nfs off -vserver vs0 Disable the NFS service of a Vserver
vserver nfs on -vserver vs0 Enable the NFS service of a Vserver
vserver nfs prepare-for-v3-ms-dos-client-downgrade Disable NFSv3 MS-DOS Client Support
vserver nfs show Display the NFS configurations of Vservers
vserver nfs start -vserver vs0 Start the NFS service of a Vserver
vserver nfs status -vserver vs0 Display the status of the NFS service of a Vserver
vserver nfs stop Stop the NFS service of a Vserver
vserver nfs kerberos realm create Create a Kerberos realm configuration
vserver nfs kerberos realm delete -vserver AUTH -realm security.thesanguy.com Delete a Kerberos realm configuration
vserver nfs kerberos realm modify Modify a Kerberos realm configuration
vserver nfs kerberos realm show Display Kerberos realm configurations
vserver nfs kerberos interface disable -vserver vs0 -lif datalif1 Disable NFS Kerberos on a LIF
vserver nfs kerberos interface enable Enable NFS Kerberos on a LIF
vserver nfs kerberos interface modify Modify the Kerberos configuration of an NFS server
vserver nfs kerberos interface show Display the Kerberos configurations of NFS servers
vserver nfs pnfs devices create Create a new pNFS device and its mapping
vserver nfs pnfs delete -mid 2 Delete a pNFS device
vserver nfs pnfs devices show Display pNFS device information
vserver nfs pnfs devices cache show Display the device cache
vserver nfs pnfs devices mappings show Display the list of pNFS device mappings
vserver locks break Break file locks based on a set of criteria
vserver locks show Display current list of locks
vserver name-mapping create Create a name mapping
vserver name-mapping delete Delete a name mapping
vserver name-mapping insert Create a name mapping at a specified position
vserver name-mapping modify Modify a name mapping’s pattern, replacement pattern, or both
vserver name-mapping refresh-hostname-ip Refresh the IP addresses for configured hostnames
vserver name-mapping show Display name mappings
vserver name-mapping swap Exchange the positions of two name mappings
vserver peer accept -vserver pvs1.example.com -peer-vserver lvs1.thesanguy.com Accept a pending Vserver peer relationship
vserver peer create Create a new Vserver peer relationship
vserver peer delete Delete a Vserver peer relationship
vserver peer modify Modify a Vserver peer relationship
vserver peer modify-local-name Modify the local name for a peer Vserver
vserver peer reject Reject a Vserver peer relationship
vserver peer repair-peer-name -vserver vs1.thesanguy.com Repair the peer vserver name that was not updated during the last rename operation
vserver peer resume Resume a Vserver peer relationship
vserver peer show Display Vserver peer relationships
vserver peer suspend -vserver lvs1.thesanguy.com -peer-vserver pvs1.thesanguy.com Suspend a Vserver peer relationship
vserver peer transition create Create a new transition peer relationship between a 7-Mode system and a Vserver.
vserver peer transition delete Delete a transition peer relationship.
vserver peer transition modify Modify a transition peer relationship.
vserver peer transition show Display transition peer relationships.
vserver san prepare-to-downgrade Restore the SAN Configurations to Earlier Release of Data ONTAP Version.
vserver security file-directory apply -vserver vs0 -policy-name p1 Apply security descriptors on files and directories defined in a policy to a Vserver
vserver security file-directory remove-slag Removes Storage-Level Access Guard
vserver security file-directory show Display file/folder security information
vserver security file-directory ntfs create Create an NTFS security descriptor
vserver security file-directory ntfs delete -ntfs-sd sd1 -vserver vs1 Delete an NTFS security descriptor
vserver security file-directory ntfs modify Modify an NTFS security descriptor
vserver security file-directory ntfs show Display an NTFS security descriptors
vserver security file-directory ntfs dacl add Add a DACL entry to NTFS security descriptor
vserver security file-directory ntfs dacl modify Modify an NTFS security descriptor DACL entry
vserver security file-directory ntfs dacl remove Remove a DACL entry from NTFS security descriptor.
vserver security file-directory ntfs dacl show Display NTFS security descriptor DACL entries
vserver security file-directory ntfs sacl add Add a SACL entry to NTFS security descriptor
vserver security file-directory ntfs sacl modify Modify an NTFS security descriptor SACL entry
vserver security file-directory ntfs sacl remove Remove a SACL entry from NTFS security descriptor
vserver security file-directory ntfs sacl show Display NTFS security descriptor SACL entries
vserver security file-directory policy create -policy-name policy1 -vserver server1 Create a file security policy
vserver security file-directory policy delete Delete a file security policy
vserver security file-directory policy show Display file security policies
vserver security file-directory policy task add Add a policy task
vserver security file-directory policy task modify Modify policy tasks
vserver security file-directory policy task remove Remove a policy task
vserver security file-directory policy task show Display policy tasks
vserver security file-directory job show Display a list of file security jobs
vserver security trace trace-result delete -vserver vserver_1 -node Node_1 -seqnum 999 Delete trace results
vserver security trace trace-result show Show trace results
vserver security trace filter create Create a security trace entry
vserver security trace filter delete -vserver vs0 -index 1 Delete a security trace entry
vserver security trace filter modify Modify a security trace entry
vserver security trace filter show Display a security trace entry
vserver services name-service dns create Create a new DNS table entry
vserver services name-service dns delete -vserver vs0 Remove a DNS table entry
vserver services name-service dns modify Change a DNS table entry
vserver services name-service dns show Display DNS configuration
vserver services name-service dns hosts create Create a new host table entry
vserver services name-service dns hosts delete Remove a host table entry
vserver services name-service dns hosts modify -vserver -vs1 -address 10.0.0.57 -hostname www.thesanguy.com Modify hostname or aliases
vserver services name-service dns hosts show Display IP address to hostname mappings
vserver services name-service dns dynamic-update modify Modify a Dynamic DNS Update Configuration
vserver services name-service dns dynamic-update prepare-to-downgrade Disable the Dynamic DNS update feature to be compatible with releases earlier than Data ONTAP 8.3.1
vserver services name-service dns dynamic-update show Display Dynamic DNS Update Configuration
vserver services name-service getxxbyyy getaddrinfo Gets the IP address information by using the host name.
vserver services name-service getxxbyyy getgrbygid Gets the group members by using the group identifier or GID.
vserver services name-service getxxbyyy getgrbyname Gets the group members by using the group name.
vserver services name-service getxxbyyy getgrlist Gets the group list by using the user name.
vserver services name-service getxxbyyy gethostbyaddr Gets the host information from the IP address.
vserver services name-service getxxbyyy gethostbyname Gets the IP address information from host name.
vserver services name-service getxxbyyy getnameinfo Gets the name information by using the IP address.
vserver services name-service getxxbyyy getpwbyname Gets the password entry by using the user name.
vserver services name-service getxxbyyy getpwbyuid Gets the password entry by using the user identifier or UID.
vserver services name-service getxxbyyy netgrp Checks if a client is part of a netgroup.
vserver services name-service getxxbyyy netgrpbyhost Check if a client is part of a netgroup using netgroup-by-host query
vserver services name-service ldap create -vserver vs1 -client-config corp Create an LDAP configuration
vserver services name-service ldap delete -vserver vs1 Delete an LDAP configuration
vserver services name-service ldap modify -vserver vs1 -client-config corpnew Modify an LDAP configuration
vserver services name-service ldap show Display LDAP configurations
vserver services name-service ldap client create -vserver vs1 -client-config corp – servers 192.16.0.100,192.16.0.101 Create an LDAP client configuration
vserver services name-service ldap client delete -vserver vs1 -client-config corp Delete an LDAP client configuration
vserver services name-service ldap client modify Modify an LDAP client configuration
vserver services name-service ldap client modify-bind-password Modify Bind Password of an LDAP client configuration
vserver services name-service ldap client show Display LDAP client configurations
vserver services name-service ldap client schema show Display LDAP schema templates
vserver services name-service netgroup load Load netgroup definitions from a URI
vserver services name-service netgroup status Display local netgroup definitions status
vserver services name-service netgroup file delete -vserver vs1 Remove a local netgroup file
vserver services name-service netgroup file show Display a local netgroup file
vserver services name-service nis-domain create Create a NIS domain configuration
vserver services name-service nis-domain delete -vserver vs2 -domain testnisdomain Delete a NIS domain configuration
vserver services name-service nis-domain modify Modify a NIS domain configuration
vserver services name-service nis-domain show Display NIS domain configurations
vserver services name-service nis-domain show-bound Display binding status of a NIS domain configuration
vserver services name-service ns-switch commands Manage Name Services Switch ordering
vserver services name-service ns-switch create Create a new Name Service Switch table entry
vserver services name-service ns-switch delete -vserver vs0 -database hosts Remove a Name Service Switch table entry
vserver services name-service ns-switch modify Change a Name Service Switch table entry
vserver services name-service ns-switch show Display Name Service Switch configuration
vserver services name-service remote-admin-auth prepare-to-downgrade Disable remote admin authentication feature to be compatible with releases earlier than Data ONTAP 8.3.1
vserver services name-service unix-group adduser Add a user to a local UNIX group
vserver services name-service unix-group create -vserver vs0 -name sanguy -id 99 Create a local UNIX group
vserver services name-service unix-group delete Delete a local UNIX group
vserver services name-service unix-group deluser Delete a user from a local UNIX group
vserver services name-service unix-group load-from-uri Load one or more local UNIX groups from a URI
vserver services name-service unix-group modify vserver services name-service unix-group modify -vserver vs0 -group hr -id 65
vserver services name-service unix-group show Display local UNIX groups
vserver services name-service unix-group max-limit modify -limit 33792 Change Configuration Limits for UNIX-Group
vserver services name-service unix-group max-limit show Display Configuration Limits for UNIX-Group
vserver services name-service unix-user create Create a local UNIX user
vserver services name-service unix-user delete -vserver vs0 -user testuser Delete a local UNIX user
vserver services name-service unix-user load-from-uri Load one or more local UNIX users from a URI
vserver services name-service unix-user modify Modify a local UNIX user
vserver services name-service unix-user show Display local UNIX users
vserver services name-service unix-user max-limit modify Change Configuration Limits for UNIX-User
vserver services name-service ypbind start Start ypbind
vserver services name-service ypbind status Current ypbind status
vserver services name-service ypbind stop Stop ypbind
vserver services ndmp generate-password Generates NDMP password for a user
vserver services ndmp kill 1001:9022 -vserver vserverA Kill the specified NDMP session
vserver services ndmp kill-all This command terminates all NDMP sessions on a particular Vserver in the cluster.
vserver services ndmp modify Modify NDMP Properties
vserver services ndmp off -vserver vs1 Disable NDMP service
vserver services ndmp on -vserver vs1 Enable NDMP service
vserver services ndmp probe Display list of NDMP sessions
vserver services ndmp show Display NDMP Properties
vserver services ndmp status Display list of NDMP sessions
vserver services ndmp extension modify -is-extension-0x2050-enabled true Modify NDMP extension status
vserver services ndmp extensions show Display NDMP extension status
vserver services ndmp log start Start logging for the specified NDMP session
vserver services ndmp log stop Stop logging for the specified NDMP session
vserver services ndmp restartable-backup delete Delete an NDMP restartable backup context
vserver services ndmp restartable-backup show Display NDMP restartable backup contexts
vserver services web modify Modify the configuration of web services
vserver services web show Display the current configuration of web services
vserver services web access create -name ontapi -role auditor Authorize a new role for web service access
vserver services web access delete -name ontapi -role auditor Remove role authorization for web service access
vserver services web access show Display web service authorization for user roles
vserver smtape break -vserver vserver0 -volume datavol Make a restored volume read-write
vserver snapdiff-rpc-server off -vserver vs0 Stop the SnapDiff RPC server
vserver snapdiff-rpc-server on Start the SnapDiff RPC Server
vserver snapdiff-rpc-server show Display the SnapDiff RPC server configurations of Vservers
vserver vscan disable Disable Vscan on a Vserver
vserver vscan enable Enable Vscan on a Vserver
vserver vscan reset Discard cached scan information
vserver vscan show Display Vscan status
vserver vscan show-events Display Vscan events
vserver vscan connection-status show Display Vscan servers connection status summary
vserver vscan connection-status show-all Display Vscan servers connection status
vserver vscan connection-status show-connected Display connection status of connected Vscan servers
vserver vscan connection-status show-not-connected Display connection status of Vscan servers which are allowed to connect but not yet connected
vserver vscan on-access-policy create Create an On-Access policy
vserver vscan on-access-policy delete Delete an On-Access policy
vserver vscan on-access-policy disable Disable an On-Access policy
vserver vscan on-access-policy enable Enable an On-Access policy
vserver vscan on-access-policy modify Modify an On-Access policy
vserver vscan on-access-policy show Display On-Access policies
vserver vscan on-access-policy file-ext-to-include add Add to the list of file extensions to include
vserver vscan on-access-policy file-ext-to-include remove Remove from the list of file extensions to include
vserver vscan on-access-policy file-ext-to-include show Display list of file extensions to include
vserver vscan on-access-policy file-ext-to-exclude add Add to the list of file extensions to exclude
vserver vscan on-access-policy file-ext-to-exclude remove Remove from the list of file extensions to exclude
vserver vscan on-access-policy file-ext-to-exclude show Display list of file extensions to exclude
vserver vscan on-access-policy paths-to-exclude add Add to the list of paths to exclude
vserver vscan on-access-policy paths-to-exclude remove Remove from the list of paths to exclude
vserver vscan on-access-policy paths-to-exclude show Display list of paths to exclude
vserver vscan on-demand-task create Create an On-Demand task
vserver vscan on-demand-task delete -vserver vs1 -task-name t1 Delete an On-Demand task
vserver vscan on-demand-task modify Modify an On-Demand task
vserver vscan on-demand-task run -vserver vs1 -task-name t1 Run an On-Demand task
vserver vscan on-demand-task schedule Schedule an On-Demand task
vserver vscan on-demand-task show Display On-Demand tasks
vserver vscan on-demand-task unschedule -vserver vs1 -task-name t1 Unschedule an On-Demand task
vserver vscan on-demand-task report delete Delete an On-Demand report
vserver vscan on-demand-task report show Display On-Demand reports
vserver vscan scanner-pool apply-policy -vserver vs1 -scanner-pool p1 -scanner-policy primary -cluster cluster2 Apply scanner-policy to a scanner pool
vserver vscan scanner-pool create Create a scanner pool
vserver vscan scanner-pool delete Delete a scanner pool
vserver vscan scanner-pool modify Modify a scanner pool
vserver vscan scanner-pool show Display scanner pools
vserver vscan scanner-pool show-active Display active scanner pools
vserver vscan scanner-pool privileged-users add Add to the list of privileged users
vserver vscan scanner-pool privileged-users remove Remove from the list of privileged users
vserver vscan scanner-pool privileged-users show Display list of privileged users
vserver vscan scanner-pool servers add Add to the list of hostnames
vserver vscan scanner-pool servers remove Remove from the list of hostnames
vserver vscan scanner-pool servers show Display list of servers

NetApp FAS Zero disk procedure

We recently had a need to zero out and reinstall a NetApp FAS 8080 in order to move it from test to production.  Below are the steps to zero out the disks in the array.

Steps:

  1. SSH to each nodes service-processor
  2. Halt each node.
    1. system node halt -node Node1 -inhibit-takeover true
    2. system node halt -node Node2
  3. At the Loader prompt for each node boot ONTAP (You might want to do these one at a time so you don’t miss the CTRL-C for the Boot Menu)
    1. LOADER A> boot_ontap
    2. LOADERB> boot_ontap
  4. Press Ctrl + C when you see the message below to enter the Boot Menu and select option 4 to wipe the configuration and zero disks (Do this on each node)
******************************* 
*                             * 
* Press Ctrl-C for Boot Menu. * 
*                             * 
******************************* 

(1) Normal Boot.
(2) Boot without /etc/rc. 
(3) Change password. 
(4) Clean configuration and initialize all disks. 
(5) Maintenance mode boot. 
(6) Update flash from backup config. 
(7) Install new software first. 
(8) Reboot node. Selection (1-8)? 4

5. Enter y to the questions that follow:

Zero disks, reset config and install a new file system?: y

This will erase all the data on the disks, are you sure?: y

The node will reboot and start initializing the disks.  Once the disks are zeroed the system should reboot to the cluster setup.