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

license

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
license {
    autoupdate {
        url url <password password>;
    }
    keys {
        key key
    }
    renew {
        before-expiration number;
        interval interval-hours;
    }
    traceoptions { 
         file {
            filename;
            files number; 
            match regular-expression; 
            size maximum-file-size; 
            (world-readable | no-world-readable);
        }
        flag flag;
        no-remote-trace;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system]

Description

Specify license information for the device.

Options

autoupdate

Autoupdate license keys from license servers.

before-expiration number

License renewal lead time before expiration, in days.

  • Range: 0 through 60 days

interval interval-hours

License checking interval, in hours.

  • Range: 1 through 336 hours

keys key key

Configure one or more license keys. For example,

content_copy zoom_out_map
[edit]
user@device# set system license keys key "key_1" 
user@device# set system license keys key "key_2"
user@device# set system license keys key "key_3" 
user@device# set system license keys key "key_4" 
user@device# commit
commit complete
renew

License renewal lead time and checking interval.

url

URL of a license server.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 8.5.

Options keys introduced in Junos OS Release 14.1X53-D10.

footer-navigation