Community discussions

MikroTik App
 
phil
just joined
Topic Author
Posts: 19
Joined: Fri Feb 15, 2013 7:27 pm

Resend prefix from provider

Wed May 28, 2014 8:36 am

I would like to my upstream provider to resend prefixes to me, they give me their juniper command for reference:
clear ip bgp <neighbor_ip> soft in
please what is the command can do this in MikroTik?
I am using CCR1036 Ver 6.7

Many thanks!
 
User avatar
Etz
Member Candidate
Member Candidate
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Resend prefix from provider

Wed May 28, 2014 8:46 am

I would like to my upstream provider to resend prefixes to me, they give me their juniper command for reference:
clear ip bgp <neighbor_ip> soft in
It is not Juniper command, it is Cisco command... :wink:

And this should help you: http://wiki.mikrotik.com/wiki/Manual:BG ... n_RouterOS
 /routing bgp peer refresh
It is not 100% same, but result should be pretty much that you want to achieve.
 
phil
just joined
Topic Author
Posts: 19
Joined: Fri Feb 15, 2013 7:27 pm

Re: Resend prefix from provider

Wed May 28, 2014 9:11 am

Thanks for your soon reply.

Then, can I find prefix by a ip address?
For example:
I just know 121.21.100.207 is unreachable, but I don't know what is it's prefix.
I need to confirm received this prefix after peer refresh, how do I do?
Many thanks!
 
User avatar
Etz
Member Candidate
Member Candidate
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Resend prefix from provider

Wed May 28, 2014 9:42 am

/ip route print where dst-address = <prefix>
or
/ip route print where dst-address in <prefix range>
http://wiki.mikrotik.com/wiki/Manual:BG ... g_table.3F
 
phil
just joined
Topic Author
Posts: 19
Joined: Fri Feb 15, 2013 7:27 pm

Re: Resend prefix from provider

Wed May 28, 2014 9:59 am

Many thanks!!
 
phil
just joined
Topic Author
Posts: 19
Joined: Fri Feb 15, 2013 7:27 pm

Re: Resend prefix from provider

Sun Jul 06, 2014 11:37 am

I found the syntax:
    /ip route print where x.x.x.x in dst-address