Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request services advanced-anti-malware data-connection

Syntax

Description

Tests the connection between the SRX Series Firewall and the Juniper ATP Cloud by initiating a websocket connection and then sending data payloads of a given size. The SRX Series Firewall must already be enrolled with Juniper ATP Cloud before running this command.

Run this command when the show services advanced-anti-malware statistics CLI command shows that several files failed to be sent to the cloud (see the “File Send to Cloud Failed” result.)

Options

start <0-32768>

Start the data connection test and specify the packet payload size in bytes.

status

Returns the result of the data connection test. See Table 1.

Required Privilege Level

View

Output Fields

This CLI command returns a single line that indicates the data connection results. Table 1 lists the possible results.

Table 1: Data Connection Test Output

Message

Description

Test not started.

You cannot view the status without first running the data connection test. Run the request services advanced-anti-malware data-connection test start CLI command and then check the status again.

Test in progress.

The data connection test has not finished. Wait a few seconds and try the command again.

Depending on your environment, it can take up to 20 seconds for the test to complete.

Test OK.

The data connection test passed.

Test failed.

The data connection test failed and indicates where it failed. Possible failures are:

  • Connect error—The websocket connection cannot be established.

  • Ping pong error—Successfully connected to the cloud server, but the payload delivery is not reliable.

Sample Output

request services advanced-anti-malware data-connection test start

request services advanced-anti-malware data-connection test status

request services advanced-anti-malware data-connection test status

Release Information

Command introduced in Junos OS Release 15.1X49-D60.