Community discussions

MikroTik App
GunnerAVS
newbie
Topic Author
Posts: 36
Joined: Tue Mar 23, 2010 5:26 am
Location:Russia Sayanogorsk

analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 6:09 am

Can any help with command ?
Top
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 6:27 am

Code:Select all
/ip route print where x.x.x.x in dst-address and bgp
Top
GunnerAVS
newbie
Topic Author
Posts: 36
Joined: Tue Mar 23, 2010 5:26 am
Location:Russia Sayanogorsk

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 6:43 am

/ip route print where 90.189.192.0/19 in dst-address and bgp

do nothing i need some look like this
Code:Select all
BGP routing table entry for 90.188.192.0/19, version 237336458 Paths: (2 available, best #1, table default) Multipath: eBGP Advertised to update-groups: 3 5 6 8 9 12 15 18 19 22 12389 41440, (received & used) 195.34.52.208 (metric 24) from 195.34.52.181 (195.34.52.181) Origin IGP, metric 0, localpref 120, valid, internal, best Community: 8359:200 8359:5017 Originator: 195.34.52.208, Cluster list: 83.59.83.59 12389 41440, (received & used) 195.34.52.208 (metric 24) from 195.34.52.182 (195.34.52.182) Origin IGP, metric 0, localpref 120, valid, internal Community: 8359:200 8359:5017 Originator: 195.34.52.208, Cluster list: 83.59.83.59
Top
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 6:50 am

Code:Select all
/ip route print where 90.189.192.1 in dst-address and bgp
Leave off the netmask, and choose an IP in that network. You will get all routes (not just the most specific one) that match that IP.

I am well aware of the IOS command you are trying to emulate. You're not going to get IOS output on RouterOS, however, since it isn't IOS. I do not have any ROS BGP routers (only IOS ones), but the below works for OSPF so you may find something similar in the BGP section. It won't summarize everything nicely like IOS does, though.
Code:Select all
/routing ospf route print where 10.255.255.233 in dst-address
Top
GunnerAVS
newbie
Topic Author
Posts: 36
Joined: Tue Mar 23, 2010 5:26 am
Location:Russia Sayanogorsk

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 7:00 am

So how i can see bgp routing table, community , path and etc ?
Top
blake
Member
Member
Posts: 426
Joined: Mon May 31, 2010 10:46 pm
Location:Arizona

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 9:29 am

Code:Select all
/ip route print detail where 90.189.192.1 in dst-address and bgp
Top
GunnerAVS
newbie
Topic Author
Posts: 36
Joined: Tue Mar 23, 2010 5:26 am
Location:Russia Sayanogorsk

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 9:58 am

/ip route print detail where 8.8.8.8 in dst-address and bgp
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B -黑洞,U -遥不可及的,P -禁止
action timed out - try again, if error continues contact MikroTik support and se
nd a supout file (13)

Fullview about 335000 records
Top
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6944
Joined: Wed Feb 07, 2007 12:45 pm
Location:Latvia
Contact:

Re: analog cisco sh ip bgp x.x.x.x

Wed Jan 12, 2011 12:13 pm

Top

Who is online

Users browsing this forum: No registered users and 3 guests