FTP from SRX

admin@SRX> ftp

Oct 18 14:36:55

Connected to

220-FileZilla Server 0.9.60 beta

220-written by Tim Kosse (tim.kosse@filezilla-project.org)

220 Please visit https://filezilla-project.org/

Name ( <type here the username if not admin>

331 Password required for cloud


230 Logged on

Remote system type is UNIX.

ftp> put /var/tmp/Flow_PCAP.ge-0.0.4 Flow_PCAP.ge-0.0.4.zip

local: /var/tmp/Flow_PCAP.ge-0.0.4 remote: Flow_PCAP.ge-0.0.4.zip

200 Port command successful

150 Opening data channel for file upload to server of “/Flow_PCAP.ge-0.0.4.zip”

100% |**********************************************************************************************************************************************************| 12403 KB    –:– ETAA

226 Successfully transferred “/Flow_PCAP.ge-0.0.4.zip”

12701026 bytes sent in 3.38 seconds (3.59 MB/s)

ftp> bye

221 Goodbye


Security Director – Service Temporarily Unavailable

1- Folllowing KB3302, Still, the slipstream service does not start after manual start. So,  moving to step 2.

2- Contact JTAC and they advised to change the following as they suspect the /var/log is full because of the audit logs . So, we needed the clear the space by changing some configurations in the auditd.conf  file:

1. Change directory :  cd /etc/audit

2. Edit file: vi auditd.conf

3. Type i to enter insert/editing mode.

4. Make changes as stated nellow:

max_log_file_action = KEEP_LOGS >>>>>>replace KEEP_LOGS with ROTATE

space_left_action = SYSLOG >>>>>>replace SYSLOG with ROTATE

5. Press Esc to enter command mode.

6. Type :wq and press ↵ Enter.

7. Restart audit daemon: /etc/init.d/auditd restart

8. Start slipstream service after this: /etc/init.d/ slipstream start

Note: use chmod command if you don’t have permissions.

Note: Contact JTAC before doing any changes as yours might be a different situation.

Connection to node0 has been broken

If you need to save new configuration in cluster, and cluster is broken, like this:

admin@SRX# commit
configuration check succeeds
Connection to node0 has been broken
warning: pull configuration failed, fallback to push configuration method
error: remote load-configuration failed on node0
error: remote unlock-configuration failed on node0

Then there is a hidden command you can run:

admin@SRX_Marvad_Backup# commit synchronize force
commit complete


Installing SRX345 in cluster mode


So I just finished configuring 2x SRX345 in cluster mode and here are some of the challenges that I had to face when trying to convert old configuration from old SRX platform and some tips I learned through the maintenance:

  • There is no more VLAN  nterface . If you want to configure VLAN interface then it should be irb interface .
  • The fxp0 interface has a dedicated port , and it’s named MGMT . The first port after the console .
  • The is no problem to configure cluster of SRX345 that has one power supply and one that has two power supplies. That hardware does not matter . What does matter is the platform it self , As both should be SRX345.

Conflict between SD 17.2R1 and ND3.2


So after installing JS and SD (both version 17.2R1) I tried to install ND3.2 .

Installation shows good results in the Jobs section but the ND didn’t show up in the left menu.

So, after TAC review, there was some conflict between SD 17.2R1 and ND3.2 due to which deployment of the .ear files fails. So we needed to upgrade the Security Director to 17.2R2 first. And then executing the below command in Space CLI of VIP node:

/usr/local/jboss/bin/jboss-cli.sh –connect –controller=jmp-Cluster “deploy /usr/local/jboss/standalone/deployments/11/cm.ear –server-groups=platform”

** if you had the same issue, my advise to you, don’t run to run this cammand, it might be risky.. Open a JTAC case and let them review the issue.

Junos Space Traffic Graph for SRX interfaces

Navigate to the classical Junos Space view

Then “Network Monitoring” > “Reports” > “Resource Graphs”


Then search the device you want to view its traffic graph, then select the interfaces (of click graph all) , Then Graph selection:


You can change time period of the graph as you wish:


Tip: You can click on “Start NRT-Graphing for Bits In/Out (High Speed)” to view live data

Connecting Microsoft Radius Server to Junos Space

Basically, we need to do 3 steps in order to accomplish this task:

connecting the MS radius server to junos space. And this step is divided into 2 another steps:

a. Creating radius client:

Go to RADIUS Clients > right click > new


Type the IP address of J-Space (the one you’re using with CLI , not the virtual one) and type the shared secret you want to use.



b. In the J-Space go to Administration > Authentication Servers > add the radius IP address and all properties you want to use

notice: remember which protocol you’re going to use because you’ll be configuring that later in the radius server


Test the connection and then proceed

Second step is to configure remote profile. You’ll be creating remote profile to set permissions for remote authenticated users:

Go to Role Based Access Control > Remote Profiles > Create new

Set the profile name and the permissions you want to give the authenticated users

Remember the profile name because you’ll be using that in the last step.

Last step is to create network policy in the radius server:

Go to:



add the group users name which they should grant access to the J-Space



And now the important part: Vendor Specific

Junos code is : 2636

Attribute number : 11 , string

refer to : https://www.juniper.net/documentation/en_US/junos/topics/reference/general/radius-vendor-specific-attributes-juniper-networks.html

Attribute value should be the same remote profile name you’ve configured in the J-Space remote profiles.



If the authenticated user is part of a domain then in the J-Space login page you should login in this context: Domain\User