How 7-Mode commands map to ONTAP commands
You can use the tables provided to find the ONTAP equivalents of 7-Mode commands, with the exception of the options command.
The following tables list the ONTAP equivalents of the 7-Mode options command. Information about understanding these tables is also provided.
A-E
A
7-Mode command | ONTAP command |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B
7-Mode command | ONTAP command |
---|---|
|
|
|
Not supported |
|
Not supported |
|
Not supported |
|
Not supported |
|
Not supported |
C
7-Mode command | ONTAP command |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Not supported |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vserver cifs {show instance|domain discovered-servers show -instance} |
|
|
|
|
|
|
cifs nbalias |
vserver cifs { add-netbios-aliases | remove-netbios-aliases | show -display-netbios-aliases } |
cifs prefdc |
vserver cifs domain preferred-dc |
cifs restart |
vserver cifs start |
cifs sessions |
vserver cifs sessions show |
cifs setup |
vserver cifs create |
cifs shares |
cifs shares vserver cifs share |
cifs stat |
statistics show -object cifs |
cifs terminate |
vserver cifs stop |
cifs testdc |
vserver cifs domain discovered-servers |
cifs resetdc |
cifs resetdc vserver cifs domain discovered-servers reset-servers |
clone clear |
Not supported |
clone start |
volume file clone create |
clone stop |
Not supported |
clone status |
volume file clone show |
config clone |
Not supported |
config diff |
Not supported |
config dump |
Not supported |
config restore |
Not supported |
coredump |
system node coredump |
D
7-Mode command | ONTAP command |
---|---|
date |
date { system | cluster } date { show | modify } |
dcb priority |
system node run -node nodename -command dcb priority |
dcb priority show |
system node run -node nodename -command dcb priority show |
dcb show |
system node run -node nodename -command dcb show |
df |
df |
df [aggr name] |
df -aggregate aggregate-name |
df [path name] |
df -filesys-name path- name |
df -A |
df -A |
df -g |
df -g df -gigabyte |
df -h |
df -h df -autosize |
df -i |
df -i |
df -k |
df -k df -kilobyte |
df -L |
df -L df -flexcache |
df -m |
df -m df -megabyte |
df -r |
df -r |
df -s |
df -s |
df -S |
df -S |
df -t |
df -t df -terabyte |
df -V |
df -V df -volumes |
df -x |
df -x df -skip-snapshot-lines |
disk assign |
disk assign storage disk assign |
disk encrypt |
system node run -node runnodename -command disk encrypt |
disk fail |
disk fail storage disk fail |
disk maint |
disk maint {start | abort | status | list } system node run -node {nodename|local} -command disk maint {start | abort | status | list } |
disk remove |
disk remove storage disk remove |
disk replace |
disk replace storage disk replace |
disk sanitize |
system node run -node nodename -command disk sanitize |
disk scrub |
storage aggregate scrub |
disk show |
storage disk show |
disk simpull |
system node run -node nodename -command disk simpull |
disk simpush |
system node run -node nodename -command disk simpush |
disk zero spares |
storage disk zerospares |
disk_fw_update |
system node image modify |
dns info |
dns show |
download |
system node image update |
du [path name] |
du -vserver vservername -path pathnamevolume file show-disk-usage -vserver vserver_name -path pathname |
du -h |
du -vserver vservername -path pathname -hvolume file show-disk-usage -vserver vserver_name -path pathname -h |
du -k |
du -vserver vservername -path pathname -kvolume file show-disk-usage -vserver vserver_name -path pathname -k |
du -m |
du -vserver vservername -path pathname -mvolume file show-disk-usage -vserver vserver_name -path pathname -m |
du -r |
du -vserver vservername -path pathname -rvolume file show-disk-usage -vserver vserver_name -path pathname -r |
du -u |
du -vserver vservername -path pathname -uvolume file show-disk-usage -vserver vserver_name -path pathname -u |
dump |
Not supportedYou must initiate the backup by using NDMP as described in tape backup documentation. For dump-to-null functionality, you must set the NDMP environment variable DUMP_TO_NULL. |
E
7-Mode command | ONTAP command |
---|---|
echo |
echo |
ems event status |
ems event status event status show |
ems log dump |
event log show -time >time-interval |
ems log dump value |
event log show |
environment chassis |
system node run -node {nodename|local} -command environment chassis |
environment status |
system node run -nodenodename -command environment status |
environment shelf |
Not supported You must use the “storage shelf” command set. |
environment shelf_log |
environment shelf_log system node run -node {nodename|local} -command environment shelf_log |
environment shelf_stats |
system node run -node {nodename|local} -command environment shelf_stats |
environment shelf_power_status |
Not supported You must use the “storage shelf” command set. |
environment chassis |
system node run -node {nodename|local} -command environment chassis |
environment chassis list-sensors |
system node run -node {nodename|local} environment sensors show |
exportfs |
vserver export policy [rule] |
exportfs -f |
vserver export-policy cache flush |
exportfs -o |
vserver export-policy rule |
exportfs -p |
vserver export policy rule |
exportfs -q |
vserver export policy [rule] |
F-J
F
7-Mode command | ONTAP command |
---|---|
fcadmin config |
system node run -node {nodename|local} -command fcadmin config |
fcadmin link_stats |
system node run -node {nodename|local} -command fcadmin link_stats |
fcadmin fcal_stats |
system node run -node {nodename|local} -command fcadmin fcal_stats |
fcadmin device_map |
system node run -node {nodename|local} -command fcadmin device_map |
fcnic |
Not supported |
fcp config |
network fcp adapter modify |
fcp nameserver |
fcp nameserver show vserver fcp nameserver show |
fcp nodename |
vserver fcp nodename |
fcp ping |
fcp ping-igroup show OR fcp ping-initiator show vserver fcp ping-igroup show OR vserver fcp ping-initiator show |
fcp portname |
fcp portname show vserver fcp portname show |
fcp show |
vserver fcp show |
fcp start |
fcp start vserver fcp start |
fcp stats |
fcp stats fcp adapter stats |
fcp status |
vserver fcp status |
fcp stop |
fcp stop vserver fcp stop |
fcp topology |
network fcp topology show OR vserver fcp topology show |
fcp wwpn-alias |
fcp wwpn-alias vserver fcp wwpn-alias |
fcp zone |
fcp zone show network fcp zone show |
fcp dump |
fcp adapter dump network fcp adapter dump |
fcp reset |
fcp adapter reset network fcp adapter reset |
fcstat link_stats |
system node run -node {nodename|local} -command fcstat link_stats |
fcstat fcal_stats |
system node run -node {nodename|local} -command fcstat fcal_stats |
fcstat device_map |
system node run -node {nodename|local} -command fcstat device_map |
file reservation |
volume file reservation |
filestats |
Not supported |
flexcache |
volume flexcache |
fpolicy |
fpolicy vserver fpolicy |
fsecurity show |
vserver security file-directory show |
fsecurity apply |
vserver security file-directory apply |
fsecurity status |
vserver security file-directory job-show |
fsecurity cancel |
vserver security file-directory job-stop |
fsecurity remove-guard |
vserver security file-directory remove-slag |
ftp |
Not supported |
H
7-Mode command | ONTAP command | ||
---|---|---|---|
halt |
system node halt -node nodename |
||
halt -f |
system node halt inhibit -takeover true |
||
halt -d |
system node halt -dump true |
||
help |
?
|
||
hostname |
hostname system hostname |
||
httpstat |
Not supportedYou must use the statistics command. |
I
7-Mode command | ONTAP command | ||
---|---|---|---|
if_addr_filter_info |
system node run -note nodename -command if_addr_filter_info |
||
ifconfig |
network interfacenetwork {interface | port} |
||
ifconfig -a |
network interface show network {interface | port} show |
||
ifconfig alias |
network interface create |
||
ifconfig down |
network interface modify -status-admin down |
||
ifconfig flowcontrol |
network port modify -flowcontrol-admin |
||
ifconfig mediatype |
network port modify {-duplex-admin | -speed-admin} |
||
ifconfig mtusize |
network port modify -mtu |
||
ifconfig netmask |
network interface modify -netmask |
||
ifconfig up |
network interface modify -status-admin up |
||
ifgrp create |
network port ifgrp create |
||
ifgrp add |
network port ifgrp add -port |
||
ifgrp delete |
network port ifgrp remove-port |
||
ifgrp destroy |
network port ifgrp delete |
||
ifgrp favor |
For ONTAP 9 releases, create a failover group for the two ports using the network interface failover-groups create command. Then use the network interface modify command to set the favored home port with the -home-port option and set the -autorevert option to true.
|
||
ifgrp nofavor |
For ONTAP 9 releases, use the same procedure for failover groups. |
||
ifgrp status |
system node run -node {nodename|local} -command ifgrp status |
||
ifgrp stat |
system node run -node {nodename|local} -command ifstat ifgrp-port |
||
ifgrp show |
network port ifgrp show |
||
ifinfo |
system node run -node {nodename|local} -command ifinfo |
||
ifstat |
system node run -node {nodename|local} -command ifstat |
||
igroup add |
igroup add lun igroup add |
||
igroup alua |
lun igroup modify -alua |
||
igroup bind |
igroup bind lun igroup bind |
||
igroup destroy |
igroup delete lun igroup delete |
||
igroup create |
igroup create lun igroup create |
||
igroup remove |
igroup remove lun igroup remove |
||
igroup rename |
igroup rename lun igroup rename |
||
igroup set |
igrouplun igroup set |
||
igroup show |
igroup show lun igroup show |
||
igroup set ostype |
igroup modify -ostype |
||
igroup unbind |
igroup unbind lun igroup unbind |
||
ipsec |
Not supported |
||
iscsi alias |
iscsi createvserver iscsi create OR iscsi modify vserver iscsi modify |
||
iscsi connection |
iscsi connection vserver iscsi connection |
||
iscsi initiator |
iscsi initiator vserver iscsi initiator |
||
iscsi interface |
iscsi interface vserver iscsi interface |
||
iscsi isns |
iscsi isns vserver iscsi isns |
||
iscsi portal |
iscsi portal vserver iscsi portal |
||
iscsi security |
iscsi security vserver iscsi security |
||
iscsi session |
iscsi session vserver iscsi session |
||
iscsi show |
iscsi show vserver iscsi show |
||
iscsi start |
iscsi start vserver iscsi start |
||
iscsi stats |
statistics {start|stop|show} -object object
|
||
iscsi stop |
iscsi stop vserver iscsi stop |
K-O
K
7-Mode command | ONTAP command |
---|---|
key_manager |
system node run -node {nodename|local} -command key_manager |
keymgr |
system node run -node {nodename|local} -command keymgr For management interface keys, you must use the “security certificates” commands. |
L
7-Mode command | ONTAP command | ||
---|---|---|---|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
Not supported |
||
|
|
||
|
|
M
7-Mode command | ONTAP command |
---|---|
man |
man |
maxfiles |
vol modify -max-number-of-files OR vol -fields files |
mt |
Not supported You must use the storage tape command set. |
N
7-Mode command | ONTAP command |
---|---|
nbtstat |
vserver cifs nbtstat |
ndmpd |
{system | server} services ndmp |
ndmpcopy |
system node run -node {nodename|local} ndmpcopy |
ndmpd on |
ndmpd on system services ndmpd on |
ndmpd off |
ndmpd off system services ndmpd off |
ndmpd status |
{system | vserver} services ndmp status |
ndmpd probe |
{system | vserver} services ndmp probe |
ndmpd kill |
{system | vserver} services ndmp kill |
ndmpd killall |
{system | vserver} services ndmp kill-all |
ndmpd password |
{system | vserver} services ndmp password |
ndmpd version |
{system | vserver} services ndmp version |
ndp |
system node run -node {nodename|local} keymgr |
netdiag |
Not supportedYou must use the network interface or netstat commands. |
netsat |
system node run node nodename command netstat |
network interface failover |
network interface show -failover |
network port vlan modify |
Not supported |
nfs off |
nfs off vserver nfs off |
nfs on |
nfs on vserver nfs on |
nfs setup |
vserver nfs create OR vserver setup |
nfs stat |
statistics {start | stop | show} -object nfs* |
nfs status |
vserver nfs status |
nfs vstorage |
vserver nfs modify -vstorage |
nfsstat |
statistics show -object nfs* |
O
7-Mode command | ONTAP command |
---|---|
orouted |
Not supported |
P-T
P
7-Mode command | ONTAP command |
---|---|
partner |
Not supported |
passwd |
security login password |
perf report -t |
statistics {start | stop | show} -object perf |
ping {host} |
network ping {-node nodename | -lif lif-name} -destination |
ping {count} |
network ping {-node nodename | -lif lif-name} -count |
ping -l interface |
network ping -lif lif-name |
ping -v |
network ping -node {nodename | -lif lif-name} -verbose |
ping -s |
network ping -node {nodename | -lif lif-name} -show-detail |
ping -R |
network ping -node {nodename | -lif lif-name} -record-route |
pktt delete |
system node run -node {nodename|local} pktt delete |
pktt dump |
system node run -node {nodename|local} pktt dump |
pktt list |
system node run -node {nodename|local} pktt list |
pktt pause |
system node run -node {nodename|local} pktt pause |
pktt start |
system node run -node {nodename|local} pktt start |
pktt status |
system node run -node {nodename|local} pktt status |
pktt stop |
system node run -node {nodename|local} pktt stop |
portset add |
portset add lun portset add |
portset create |
portset create lun portset create |
portset delete |
portset delete lun portset delete |
portset remove |
portset remove lun portset remove |
portset show |
portset show lun portset show |
priority hybrid-cache default |
Not supported |
priority hybrid-cache set |
volume modify -volume volume_name -vserver vserver_name -caching-policy policy_name |
priority hybrid-cache show |
volume show -volume volume_name -vserver vserver_name -fields caching -policy |
priv set |
set -privilege |
Q
7-Mode command | ONTAP command |
---|---|
qtree create |
qtree create volume qtree create |
qtree oplocks |
qtree oplocks volume qtree oplocks |
qtree security |
qtree security volume qtree security |
qtree status |
qtree show volume qtree show |
qtree stats |
qtree statisticsvolume qtree statistics |
quota allow |
quota modify -state volume quota modify -state on |
quota disallow |
quota modify -statevolume quota modify -state off |
quota off |
quota off volume quota off |
quota on |
quota on volume quota on |
quota report |
quota report volume quota report |
quota resize |
quota resize volume quota resize |
quota status |
quota show volume quota show |
quota logmsg |
volume quota show -fields logging, logging -interval |
R
7-Mode command | ONTAP command | ||
---|---|---|---|
radius |
Not supported |
||
rdate |
Not supported |
||
rdfile |
Not supported |
||
reallocate off |
reallocate off |
||
reallocate measure |
reallocate measure |
||
reallocate on |
reallocate on |
||
reallocate quiesce |
reallocate quiesce |
||
reallocate restart |
reallocate restart |
||
reallocate schedule |
reallocate schedule |
||
reallocate start |
reallocate start |
||
reallocate status |
reallocate show |
||
reallocate stop |
reallocate stop |
||
reboot |
reboot system node reboot -node nodename |
||
reboot -d |
reboot -d system node reboot -dump true -node nodename |
||
reboot -f |
reboot -f reboot -inhibit-takeover true -node nodename |
||
restore |
Not supported You must initiate the restore by using NDMP as described in tape backup documentation. |
||
restore_backup |
system node restore-backup
|
||
revert_to |
system node revert-to node nodename -version |
||
rlm |
Not supported |
||
route add |
route add network route create |
||
route delete |
route delete network route delete |
||
route -s |
route show network route show
|
S
7-Mode command | ONTAP command | ||
---|---|---|---|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
volume {modify|show} --fields percent-snapshot-space --volume storage aggregate {modify|show} --fields percent-snapshot-space --aggregate |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
Not supported |
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
Not supported |
||
|
Not supported |
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Not supported You must use the following commands as alternatives:
|
||
|
|
||
|
Not supported To view disk information, you must use the following commands:
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
T
7-Mode command | ONTAP command |
---|---|
timezone |
timezone |
traceroute -m |
traceroute -m network traceroute { -node nodename | -lif lif-name } -maxttl integer |
traceroute -n |
traceroute -n network traceroute -node {nodename| -lif lif-name} -numeric true |
traceroute -p |
traceroute -p network traceroute { -node nodename | -lif lif-name } --port integer |
traceroute -q |
traceroute -q network traceroute { -node nodename | -lif lif-name } -nqueries integer |
traceroute -s |
Not supported |
traceroute -v |
traceroute -v network traceroute { -node nodename | -lif lif-name } -verbose [ true ] |
traceroute -w |
traceroute -w network traceroute { -node nodename | -lif lif-name } -waittime integer |
U-Z
U
7-Mode command | ONTAP command |
---|---|
ucadmin |
system node hardware unified-connect |
ups |
Not supported |
uptime |
system node show -fields uptime |
useradmin domainuser add |
security login create |
useradmin domainuser delete |
security login delete |
useradmin domainuser list |
security login show |
useradmin domainuser load |
Not supported Use "vserver cifs users-and-groups" command set. |
useradmin group add |
security login role create |
useradmin group delete |
security login role delete |
useradmin group list |
security login role show |
useradmin group modify |
security login role modify |
useradmin role add |
security login role create |
useradmin role delete |
security login role delete |
useradmin role list |
security login role show |
useradmin role modify |
security login role modify |
useradmin user add |
security login create |
useradmin user delete |
security login delete |
useradmin user list |
security login show |
useradmin user modify |
security login modify |
V
7-Mode command | ONTAP command |
---|---|
version -b |
version -b OR system image show |
version -v |
version -v OR system image show |
vfiler |
Not supported |
vfiler run |
vserver |
vfiler start |
vserver start |
vfiler stop |
vserver stop |
vfiler status |
vserver show |
vfiler disallow |
vserver modify -disallowed-protocols |
vlan add |
network port vlan create |
vlan create |
network port vlan create |
vlan delete |
network port vlan delete |
vlan modify |
Not supported |
vlan stat |
system node run -node nodename -command vlan stat |
vmservices |
system node run -node {nodename|local} vmservices |
volume add |
Not supported |
volume autosize |
volume autosize |
volume clone |
volume clone |
volume clone split |
volume clone split |
volume container |
volume show -fields aggregate |
volume copy |
Not supportedYou must use one of the following methods as described in logical storage documentation:
|
volume create |
volume create |
vol destroy |
volume destroy |
volume file fingerprint |
Not supported |
volume media_scrub |
Not supported |
volume migrate |
Not supported |
vol mirror |
Not supported |
volume move |
volume move |
volume offline |
volume offline |
volume online |
volume online |
volume options |
volume {show | modify} |
volume quota allow |
Not supported |
volume quota disallow |
Not supported |
volume rename |
volume rename |
volume restrict |
volume restrict |
volume scrub |
Not supported |
volume size |
volume size |
volume snapshot delta |
Not supported |
volume snapshot reserve |
Not supported Alternative commands include the following:
|
volume split |
Not supported |
volume status |
volume show |
volume verify |
Not supported |
volume wafliron |
Not supported |
vscan |
vserver vscan |
vserver cifs adupdate |
Not supported |
vserver cifs broadcast |
Not supported |
vserver cifs comment |
Not supported |
vserver cifs top |
Not supported |
vserver iscsi ip_tpgroup add |
Not supported |
vserver iscsi ip_tpgroup create |
Not supported |
vserver iscsi ip_tpgroup destroy |
Not supported |
vserver iscsi ip_tpgroup remove |
Not supported |
vserver iscsi ip_tpgroup show |
Not supported |
vserver iscsi tpgroup alua set |
Not supported |
vserver iscsi tpgroup alua show |
Not supported |
vserver services name-service dns flush |
Not supported |
W
7-Mode command | ONTAP command |
---|---|
wrfile |
Not supported |
Y
7-Mode command | ONTAP command |
---|---|
ypcat |
Not supported |
ypgroup |
Not supported |
ypmatch |
Not supported |
ypwhich |
Not supported |