2

On Linux there is a nice tool for testing connections, bandwidth, opening temp. connections etc: nc

What is equivalent on Juniper firewalls?

Alex
  • 1,828
  • 4
  • 31
  • 52

3 Answers3

2

get route , get tcp , it depends on what you want to accomplish .

Please have a look here http://fir3net.com/Netscreen/juniper-commands.html and here http://www.juniper.net/techpubs/en_US/junos/information-products/topic-collections/swcmdref-basics-services/swcmdref-basics-services.pdf

Alex H
  • 1,814
  • 11
  • 18
  • Can one of these commands listen on a "temporary" port (while the command is running)? Can one of these cmd test if a TCP port is open on a remote machine? – Alex Apr 13 '12 at 01:35
  • It seems that you only need a plain telnet command :) telnet IP:PORT – Alex H Apr 13 '12 at 06:08
  • This does not allow you to measure bandwidth and only allows one way connection. I am looking for a more powerful command – Alex Apr 25 '12 at 01:36
  • Seems Juniper does not provide any tools to measure bandwidth end to end. One can only do it via the connecting clients on both sides (with the proper routing/vpn in between). – Alex Jul 18 '12 at 08:28
1

I think the closest thing might be telnet

Lucas Kauffman
  • 16,880
  • 9
  • 58
  • 93
0

(I know this is a ScreenOS question but...)

In current JunOS nc isn't there, but you can just use telnet to arbitary ports.

If you need incoming you may have some luck using inetd.

LapTop006
  • 6,496
  • 20
  • 26