Hi
On IOS XR routers, the command “sh run | file fn” can be used to capture the running config to the file “fn” in cmd format.
What is the equivalent command/way to capture the running-config in xml format to a file?
The below xml gets the running config in xml format and output to the stdout. Just need something similar but output to a file.
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get><Configuration Source="CurrentConfig"/></Get>
</Request>