ask mikrotik bgp command "show ip bgp neighbor"

what mikrotik command that similar with this command below:

show ip bgp neighbor 218.100.27.129 advertise

thx

/routing bgp advertisment print PEER-NAME

Gregor

thx Gregor for you info...

i have filter like this :

4 chain=bgp-out prefix=203.191.43.0/24 prefix-length=24 invert-match=no
action=accept

5 chain=bgp-out prefix=202.180.55.0/24 prefix-length=24 invert-match=no
action=accept

6 chain=bgp-out prefix=202.180.54.0/24 prefix-length=24 invert-match=no
action=accept

7 chain=bgp-out prefix=202.180.53.0/24 prefix-length=24 invert-match=no
action=accept

8 chain=bgp-out prefix=202.180.48.0/24 prefix-length=24 invert-match=no
action=accept

9 chain=bgp-out prefix=202.180.49.0/24 prefix-length=24 invert-match=no
action=accept

10 chain=bgp-out invert-match=no action=discard

then i look at :

routing bgp advertisements> pr
DST-ADDRESS NEXTHOP PEER AS-PATH ORIGIN LOCAL-PREF
202.180.55.0/24 202.53.225.174 peer1... igp
202.180.54.0/24 202.53.225.174 peer1... igp
202.180.53.0/24 202.53.225.174 peer1... igp
202.180.48.0/24 202.53.225.174 peer1... igp
202.180.49.0/24 202.53.225.174 peer1... igp

routing bgp network> pr
Flags: X - disabled

NETWORK

0 202.180.55.0/24
1 202.180.54.0/24
2 202.180.53.0/24
3 202.180.48.0/24
4 203.191.43.0/24
5 202.180.49.0/24


why network 203.191.43.0/24 can't advertise to peer...
any suggest......
also i have problem when advertise new blok ip to peer, the peer router and my mikrotik must be
clear bgp or reset bgp peer before it can work.

I don’t think mikrotik great for bgp right now…
I’ve problem with it since 2.9.20+++, never tried it again then ;p


I think 203.191.43.0/24 already advertised by other provider??
Is this your own ip? your customer ip? or your upstream provider ip?

203.191.43.0/24 is my customer IP. and this IP not advertised to any peer before only from my mikrotik. now, it solve.... i modify my network...

Flags: X - disabled

NETWORK

0 202.180.54.0/23
1 202.180.53.0/24
2 202.180.48.0/23
3 203.191.43.0/24

routing bgp advertisements> pr
DST-ADDRESS NEXTHOP PEER AS-PATH ORIGIN LOCAL-PREF
202.180.54.0/23 202.53.225.174 peer1... igp
202.180.53.0/24 202.53.225.174 peer1... igp
202.180.48.0/23 202.53.225.174 peer1... igp
203.191.43.0/24 202.53.225.174 peer1... igp

next question, is mikrotik only can handle 5 blok IP network ? please, i hope someone can verify this....

bgp networks were only introduces a few versions back and haven’t been stress tested much I assume … I’ve always thrown the subnets I want to announce onto a loopback interface - this causes them to be in the routing table and get announced. I have been hesitant to use the networks commands because it just came out and I haven’t tested it.

Sam

Also, what version are you using? There was a bug with the networks command that was fixed in the past release or so.

i now use mikrotik ver 2.9.38, i also got this error with my bgp.

i just restart the router and BGP can established again, but the connection to internet is very slow. what’s meaning this error?

dec/26 23:09:09 route,bgp,info TCP connection established
dec/26 23:09:09 route,bgp,info RemoteAddr=202.180.54.138
dec/26 23:09:09 route,bgp,info RemotePort=179
dec/26 23:09:09 route,bgp,error Received notification
dec/26 23:09:09 route,bgp,error cease: connection collision resolution
dec/26 23:09:09 route,bgp,info Connection terminated

http://www.freesoft.org/CIE/RFC/1771/29.htm

I receive similar message while trying few mikrotik version from 2.9.24++