Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

extensions

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
extensions {
    extension-service {
        application {
            file script-name {
                arguments arguments;
                cert-file path;
                checksum hash-algorithm hash-value;
                daemonize;
                interpreter (bash | python | python3); 
                optional;                 refresh;
                refresh-from;
                routing-instance;
                source;
                start {
                    start-options {
                        mem-factor percentage;
                    }
                }
                traceoptions {
                    file <filename> <files number> <match regex> <size size> <world-readable | no-world-readable>;
                    flag flag;
                    no-remote-trace;
                }
                username username;
            }
            max-datasize max-datasize;
            start {
                start-options {
                    mem-factor percentage;
                }
            }
            traceoptions {
                
                file <filename> <files number> <size size> <world-readable | no-world-readable>;
                flag flag;
                no-remote-trace;
            }
        }
    }
    providers {
        provider-id {
            license-type license deployment-scope [ deployments ];
        }
    }




}

Hierarchy Level

content_copy zoom_out_map
[edit system]

Description

Configure extensions to Junos OS.

You must configure the providers statement to enable application packages developed using the Junos SDK to be deployed and run on the router.

You must configure the extension-service statement to enable application packages developed using the Juniper Extension Toolkit (JET) to be deployed and run on the device.

The remaining statements are explained separately. See CLI Explorer.

Note:

This configuration is optional in Junos OS Evolved. You can run JET applications directly using a Python interpreter instead of configuring and invoking them in the CLI.

Required Privilege Level

admin—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 9.0.

extension-service option introduced in Junos OS Release 16.1.

footer-navigation