Hey all, Is there a way to export the (running) config through cli? Output should be a config file we can IMPORT back into a new device. - NOT using SCP (we have restrictions on this) - NOT using the API (php/rest/browse.php/export::configuration) (we only have ssh access) 1) "show config running" or under configuration-mode "show" -> this will output the config, but is not in XML format and thus can not be imported 2) "set cli config-output-format xml" + under configuration-mode "show" -> this will output the config in xml format, but this is NOT importable in a PaloAlto. This is just a xml representation of the config, and not the config in xml format: there is a difference. (why you would want the "xml representation of the config" is a mystery to me, since you can not use it in any way) 3) "set cli config-output-format set" + under configuration-mode "show" -> this will output the config in set commands. This CAN technically be used to "import" the config, but importing a 1000+ lines of set commands is bound to fail somewhere down the line... Any of you guys got any other solutions, or maybe just a nice script that will rewrite the output of "set cli config-output-format xml" + "show" into an importable config file? Regards
... View more