Hi,
What command on mikrotik to do “show ip bgp neighbors 114.57.172.50 received-routes” like Cisco ?
Already try to search on this forum, but only got Mikrotik version of “show … advertised-routes”
Thank you before.
Aldhy
Hi,
What command on mikrotik to do “show ip bgp neighbors 114.57.172.50 received-routes” like Cisco ?
Already try to search on this forum, but only got Mikrotik version of “show … advertised-routes”
Thank you before.
Aldhy
As far as I know there isn’t alternative for such command.
One way you can try is
/ip route print were gateway=“x.x.x.x”
This will work if gateway is the same as peer’s IP address.
Thank you mrz for your quick reply ![]()
I already tried that command, and it work ![]()
Yes you are right, it will work only when the gateway have the same ip with peer.
There is no hope for multihop peer.
BTW, I need to know the AS-PATH. When i try your command, it will not show the AS-PATH.
I already use “detail” on the command, but the AS-PATH still not shown.
/ip route print detail were gateway=“x.x.x.x”
Any option?
Thank you
Aldhy
If you use where and print detail together then detailed information is not printed. We will fix that behavior in future versions.
Currently you can use another method
/ip route print detail from=[find gateway~“^xx.xx.xx.xx[0x00-0xff]*”]
where xx.xx.xx.xx is desired gateway.
It works on peer with 6000~ received routes.
But when I tried on peer with 270.000(full route) routes, the terminal stop responding and the cpu load become 100% and memory keep decreasing.
I still able to close the terminal and open again the terminal but it is not responding and cpu load still 100% and memory keep decreasing..
So I have to reboot the router.
I think that command load the cpu twice since it need to run the -find gateway~“^xx.xx.xx.xx[0x00-0xff]*”- first and then run the detail.
Anyway, thank you for your help ![]()
I’ll wait for the next Mikrotik version.
BTW, It would be nice if the next version also have BGP route table for each peer and have command to explore it. I know it will consume cpu and memory resources, but on RB1000 with 2 full route peers and 40Mbps traffic the router only consume 40% cpu and there is still about 300MB mem available, so i think adding BGProute table on the next version will not hurt RB1000 so much ![]()
Just a noob 2 cents.
Once again thank you for your help ![]()
Searching in full feed table will take approximately 1 to 2 minutes.
You can refer to this FAQ http://wiki.mikrotik.com/wiki/Manual:BGP_HowTo_%26_FAQ
ip route print where received-from=<peer_name>