Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


request system convert-json-configuration



Convert the JSON configuration data in the specified input file so that list keys precede any other siblings within a list entry as required by the Junos schema. The converted data is saved in the specified output file in the current working directory. The command does not emit output when the conversion is successful.

If the input file includes only OpenConfig configuration statements, or if it includes both OpenConfig and Junos configuration statements, include the origin-schema openconfig command option to specify the schema.



Path to the input JSON configuration file.

origin-schema schema (Optional) The schema that defines the input configuration data. Specify one of the following:
  • juniper—(Default) Input configuration data is defined only by the native Junos schema.

  • openconfig—Input configuration data is defined by the OpenConfig schema or a combination of the OpenConfig and Junos schemas.

output-filename output-filename Filename for the output JSON configuration file. The destination path is the current working directory, which default's to the user's home directory.

Required Privilege Level


Sample Output

request system convert-json-configuration

Release Information

Command introduced in Junos OS Release 22.1R1 and Junos OS Evolved Release 22.1R1.