Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure URL feed object. The URL feed object reduces your effort to add multiple URLs into a single URL pattern. The URL feed enables you to create a URL pattern automatically.

To create a URL pattern automatically, you need to create a URL feed file on the HTTP server. You should add the URLs that need to be added in the URL pattern to this file. When you configure the URL feed on your security device, the system downloads the file from the HTTP server and creates a URL pattern as follows:

  1. The system validates the list of URLs based on the existing validation criteria used for URL pattern.

  2. The system creates a URL pattern with _feed as suffix to the URL feed name.

    For example, if the URL feed name is juniper, then the system creates the URL pattern name as juniper_feed.

  3. The system adds only the URLs that have a valid syntax and ignores the URLs with invalid syntax.

  4. The system periodically downloads the file from the HTTP server based on the update-interval time you configure. There may be five minutes delay in the timer functionality.

  5. The system maintains a hash to check for any updates to the URL list in the downloaded file. The system skips the file validation and URL pattern updates if the hash matches with the previous file.

  6. The system does not automatically download the file and update the URL pattern if you configure no-autoupdate.

Limitations of URL Feed

  • Files on the HTTP server should be in plain text format.

  • File should contain only one URL in one line.

  • Number of URLs in a file should not exceed the limit of the corresponding platform. See Table 1.

  • The URL length should not be more than 249 characters.

  • The URL should not have invalid syntax.

  • Deletion of a URL feed does not delete corresponding URL pattern and corresponding custom URL category.

  • The system prioritizes the URL pattern that created automatically using URL feed over the URL pattern that you created manually using CLI.

  • The file size should not be more than 512 KB.

Table 1: Number of URLs Supported in One URL Pattern


Number of URLs Supported





SRX300, SRX320, SRX340, SRX345, and SRX380


SRX1500, SRX1600,SRX4200, SRX4600, and SPC3


SRX5400, SRX5600, and SRX5800



url-feed name

Configure the name of the URL feed object


Interval in hours for auto-updating list

  • Default: 24

  • Range: 1 through 168


Disable automatic update for URL feed pattern


Proxy profile


Routing instance name


Configure the HTTPS server file URL that contains the list of URLs

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 23.4R1.