Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


content-size (Security Antivirus Sophos Engine)


Hierarchy Level


If the content size exceeds a set limit, the content is either passed or blocked.


When you configure the content-size value, keep in mind that in certain cases, content size is available in the protocol headers, so the max-content-size fallback is applied before a scan request is sent. However, in many cases, content size is not provided in the protocol headers. In these cases, the TCP payload is sent to the antivirus scanner and accumulates until the end of the payload. If the accumulated payload exceeds the maximum content size value, then max-content-size fallback is applied. You might want to set the fallback action to block, in which case such a packet is dropped and a block message is sent to the client.


  • block—Log the error and deny the traffic

  • log-and-permit—Log the error and permit the traffic

  • permit—Permit the traffic

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.1.

The [edit security utm default-configuration] hierarchy level is introduced in Junos OS Release 18.2R1.