Juniper Configuration Convertor Display set
Rust Method
Windows
Install all needed packages
rustup uninstall toolchain stable-x86_64-pc-windows-msvc
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu
cargo install jcc-cli
Clone the repository
git clone https://github.com/584F525F/juniper-config-converter.git
Enter the juniper-config-converter
directory
cd juniper-config-converter
Copy your Juniper configuration file into this directory
Copy the Juniper configuration file into this directory, you can rename it to 'juniper_test.txt'
start the conversion process
jcc-cli --file juniper_test.txt
You should get the result of the conversion almost immediately.
Linux
Install rust, also installs cargo which is used to run the script
curl https://sh.rustup.rs -sSf | sh
Install the JCC-CLI
Clone the repository
git clone https://github.com/584F525F/juniper-config-converter.git
Run the script and pass your juniper config file parameter to it
jcc-cli --file juniper_test.txt
Python Method juniper_display_set
Clone the repository
git clone https://github.com/584F525F/juniper_display_set.git
Enter the juniper_display_set directory
python3 junos_converter.py --input ../sample_config.cfg > sample_config_set.set
If you check the new file, it will have the set config
Using another Juniper Method
you can always use any (similar) Juniper device and do
configure
load override terminal
#paste your config
<Crtl-D>
show | display set
rollback
exit