2

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

What is equivalent on Juniper firewalls?

2
  • Please clarify if you're talking about NetScreen or SRX line of firewalls, they use two VERY different operating systems. Apr 12, 2012 at 18:33
  • @SpacemanSpiff sorry, I was talking about NetScreen.
    – Alex
    Apr 13, 2012 at 1:34

3 Answers 3

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

4
  • 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, 2012 at 1:35
  • It seems that you only need a plain telnet command :) telnet IP:PORT
    – Alex H
    Apr 13, 2012 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, 2012 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, 2012 at 8:28
1

I think the closest thing might be telnet

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .