I need to find the as-path for x.x.x.x/xx so i run:-
/ip route print detail where dst-address =x.x.x.x/xx
and get:-
Code: Select all
/ip route print detail where dst-address =x.x.x.x/xx
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADb dst-address=x.x.x.x/x gateway=x.x.x.x
gateway-status=x.x.x.x reachable Inta distance=20
But if I want to page thru 970k routes it will show!
Code: Select all
/ip route print detail
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADb dst-address=x.x.x.x/x gateway=x.x.x.x
gateway-status=x.x.x.x reachable Inta distance=20 scope=40
target-scope=10 bgp-as-path="257,37,18,7" bgp-origin=igp
bgp-communities=32:825,32:308,32:502
received-from=BGProuter