extension-service (System Extensions)
Syntax
extension-service {
application {
file script-name {
arguments arguments;
cert-file path;
checksum (md5 | sha-256 | sha1) hash;
daemonize;
interpreter (bash | python | python3);
optional;
refresh;
refresh-from;
respawn-on-normal-exit;
routing-instance
source;
start {
start-options {
mem-factor percentage;
}
}
traceoptions {
file <filename> <files number> <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;
}
}
}
Hierarchy Level
[edit system extensions]
Description
CAUTION:
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Enable the Junos OS and Junos OS Evolved extension services.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 16.1.