/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 …
I guess what you are looking for is something like “routes received” from bgp-peer.
If you query the routing table as in your example you probably will not see the route-server which is delivering the routes but is usually not the next-hop for those routes.
afaik neither anything like cisco style “sh bgp ipv6 unicast neighbors routes” nor “sh bgp ipv6 unicast neighbors received-routes” or juniper-style “show route receive-protocol bgp ” is available in ROSv7, but I’m happy to learn any time that I’m wrong as we also miss this feature for a sane bgp deployments using ROSv7.