Hi,
question how can I migrate a config file offline in to set commands without load the config file?
This is the script to convert offline from 1.x to newer versions
/usr/libexec/vyos/run-config-migration.py
exist similar script for my question above?
I found it here
:/opt/vyatta/share/vyatta-op/templates/show/configuration/commands$ cat node.def
help: Show running configuration as set commands
run: cli-shell-api showCfg --show-active-only | vyos-config-to-commands
that works for me
cat /home/vyos/config.bootv11 | vyos-config-to-commands
1 Like
system
Closed
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.