Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers 3

up vote 1 down vote accepted

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

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
add comment

I think the closest thing might be telnet

share|improve this answer
add comment

(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
add comment

Your Answer

 
discard

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.