use "file" parameter
/ipv6/route/print where gateway=2001:xxxx file=gw6939-routes
dosnt work it shows the data in print ...
i also tried
ssh admin@router '/routing/route/print detail without-paging where protocol=bgp and afi=ip6 and gateway=2001:7f8:XXX output=json' > ipv6_routes.json
ok this works:
/ipv6/route> print file=test.txt where gateway=2001:7f8:3XXXXX
but wired thing in the gateway of the routeserver it shows no output - when i test with other peers it gives output ....
i can see routes on rootserver peers ...
gateway of rootserver is pingable and reachable.