request services advanced-anti-malware data-connection

 

Syntax

Release Information

Command introduced in Junos OS Release 15.1X49-D60.

Description

Tests the connection between the SRX Series device and the Juniper Sky ATP cloud by initiating a websocket connection and then sending data payloads of a given size. The SRX Series device must already be enrolled with Juniper Sky ATP 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.


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

Required Privilege Level

View

List of 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

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

user@host> request services advanced-anti-malware data-connection test start

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

user@host> request services advanced-anti-malware data-connection test status

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

user@host> request services advanced-anti-malware data-connection test status