And if you had never heard of systemshell and need to set it up (on a lab system):
## First obtain the advanced privileges priv set advanced
## Then unlock and reset the diag users password useradmin diaguser unlock useradmin diaguser password
## Now you should be able to access the systemshell and use all the standard Unix ## commands systemshell login: diag password: ********
Warning: The system shell provides access to low-level diagnostic tools that can cause irreparable damage to the system if not used properly. Use this environment only when directed to do so by support personnel.
thanks
On Jun 5, 2012, at 5:56 PM, Blake Golliher wrote:
I love this list, cause it makes me hack a little bit. So if you are on ontap8, bust into systemshell.
There's a cool little command called tcp_client. Using it, to test if 10566 (snapmirror tcp port) is open goes like this.
odin% tcp_client usage: tcp_client my_ip my_port server_ip server_port odin% tcp_client 10.0.0.2 10289 10.0.0.1 10566 ***25 bytes sent server closed odin%
port 22 is specifically not open, so it hung here. And ctrl-c got me out. It may have wanted a lower source port too.
odin% tcp_client 10.0.0.2 10289 10.0.0.1 22
^C odin% man tcp_client man: Command not found. odin% tcp_client -h usage: tcp_client my_ip my_port server_ip server_port odin% tcp_client 10.0.0.2 10289 10.0.0.1 10566 ***25 bytes sent server closed odin%
On the remote side, we see this.
frigg> Tue Jun 5 17:48:48 PDT [frigg: snapmirror.src.versionMismatch:error]: Received SnapMirror request with incompatible version. Tue Jun 5 17:49:35 PDT [frigg: snapmirror.src.versionMismatch:error]: Received SnapMirror request with incompatible version.
frigg>
So that seems to be a way to do it. If there's an easier way, let's here it (besides asking the network guys).
-Blake
On Tue, Jun 5, 2012 at 4:16 PM, tmac tmacmd@gmail.com wrote:
If it is an active snapmirror session, then maybe a netstat -a and look for port 10566
On Jun 5, 2012 7:14 PM, "Iluhes" iluhes@yahoo.com wrote:
I need to check if the firewall is open between filers on snapmirror ports. I cannot find a "telnet" command so I can telnet from fi ler to to filer on specific port. How do I check from filer CMD line if the ports on the snapmirror partner are open Thanks!
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters