ONTAP Discussions

ping from ssh not recognized



I have a problem that I think was already discussed but I'm unable to find it in older posts.

The ping command works just if I'm direclty connected to netapp, it I executed by passing the command to ssh is not working.

Did you know how to solve this problem? I would like to check the connection on the Disaster Recovery site directly on netapp,

without the need to check the snapmirror status...


See below the example:

BASH-myuser@myserver.rpc.intra /home/myuser# ssh root@fas2

fas2> ping fas4

fas4 is alive

fas2> exit


Connection to fas2 closed.

BASH-myuser@myserver.rpc.intra /home/myuser#

BASH-myuser@myserver.rpc.intra /home/myuser#

BASH-myuser@myserver.rpc.intra /home/myuser# ssh root@fas2 ping fas4

ping not found.  Type '?' for a list of commands

BASH-myuser@myserver.rpc.intra /home/myuser# ssh root@fas2 help

?                   file                nfs                 snap               

acpadmin            flexcache           nfsstat             snaplock           

aggr                fpolicy             nis                 snapmirror         

autosupport         fsecurity           options             snapvault          

backup              ftp                 partner             snmp               

bmc                 halt                passwd              software           

cdpd                help                ping6               source             

cf                  hostname            pktt                sp           

BASH-myuser@myserver.rpc.intra /home/myuser# ssh root@fas2 priv


BASH-myuser@myserver.rpc.intra /home/myuser# ssh root@fas2 sysconfig

        NetApp Release 8.2.1RC2 7-Mode: Sun Feb  9 16:18:31 PST 2014



It's certainly weird behaviour, but it does work if you run "priv set diag" first e.g. ssh myfiler "priv set diag; ping myhost"


Hi Guys, 


            We have a NetApp filer whicch is running pretty old ontap version 7.1. I have not been able to ping the storage and cannot login via ssh or telnet. All the shares both cifs nad nfs have lost access to the data. I someohow was able to login to the filer via Serial COM port and did basic test and found the network cards e0a and e0b are up and fine. We have configured vif with both of these interfaces. 


Any help to fix the issue is much appreciated.





what is the output of ifconfig -a and rdfile /etc/rc


Hi, Did you get a chance to look at the ouput I have provided as requested by you?



yes and it looks fine, do you have any vlans on your network?


Yes, we do have VLANs in our network


if those vlans are used by hosts accessing the data then you need to add them to the rc file





Okay, I shall do that. First thing I should be able to ping the filer and able to access the filer via putty ssh or telnet which I am unable to. Currently I am able to access only via serial comm port.



Hi, here is the output



filer> ifconfig -a
e0a: flags=848043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 02:a0:98:05:55:75 (auto-1000t-fd-up) flowcontrol full
trunked vif1
e0b: flags=848043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 02:a0:98:05:55:75 (auto-1000t-fd-up) flowcontrol full
trunked vif1
inet netmask 0xff000000 broadcast
vif1: flags=848043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet netmask 0xfffffc00 broadcast
ether 02:a0:98:05:55:75 (Enabled virtual interface)

filer> rdfile /etc/rc
#Auto-generated by setup Mon Nov 2 06:33:36 EST 2015
hostname vcs0886
vif create multi vif1 -b ip e0a e0b
ifconfig vif1 `hostname`-vif1 mediatype auto netmask
route add default
routed on
options dns.domainname vcs.domain.com
options dns.enable on
options nis.domainname vlg
options nis.enable on

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner