Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

What is equivalent on Juniper firewalls?

share|improve this question
Please clarify if you're talking about NetScreen or SRX line of firewalls, they use two VERY different operating systems. – SpacemanSpiff Apr 12 '12 at 18:33
@SpacemanSpiff sorry, I was talking about NetScreen. – Alex Apr 13 '12 at 1:34
up vote 1 down vote accepted

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

Please have a look here and here

share|improve this answer
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 1:35
It seems that you only need a plain telnet command :) telnet IP:PORT – Alex H Apr 13 '12 at 6: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 1: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 8:28

I think the closest thing might be telnet

share|improve this answer

(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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.