Community discussions

MikroTik App
 
OleksandrL
just joined
Topic Author
Posts: 11
Joined: Tue Aug 19, 2014 10:17 am

Little bug is /routing bgp advertisements print ... detail ?

Fri Oct 10, 2014 9:56 am

Hi, dear MikroTik developers and users!
I have little bug in routeros.

Let me describe this problem:
[admin@mkt] > /routing bgp advertisements print where prefix =1.66.64.0/19
Print values of item properties in different formats.

<peer> --
append --
as-value --
brief -- Displays brief description
count-only --
detail -- Displays detailed information
file -- Print the content of the submenu into specific file
follow --
follow-only --
interval -- Displays information and refreshes it in selected time interval
terse -- Show details in compact and machine friendly format
value-list -- Show properties one per line
where --
without-paging -- Displays information in one piece


[admin@mkt] > /routing bgp advertisements print where prefix =1.66.64.0/19 detail
PEER     PREFIX               NEXTHOP          AS-PATH                 ORIGIN     LOCAL-PREF
[admin@mkt] > /routing bgp advertisements print where prefix =1.66.64.0/19
PEER     PREFIX               NEXTHOP          AS-PATH                 ORIGIN     LOCAL-PREF
bgp-p... 1.66.64.0/19         x.x.x.x    x,6453,2914,9605     igp               100
[admin@mkt] >
So, "detail" keyword does not works.
RouterOS version is 6.19.
Thank you.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Little bug is /routing bgp advertisements print ... deta

Fri Oct 10, 2014 11:52 am

Order is critical here, use
print detail where ...
 
OleksandrL
just joined
Topic Author
Posts: 11
Joined: Tue Aug 19, 2014 10:17 am

Re: Little bug is /routing bgp advertisements print ... deta

Fri Oct 10, 2014 2:27 pm

Order is critical here, use
print detail where ...
Thank you for your answer, but:
[admin@mkt] > /routing bgp advertisements print detail where prefix =1.66.64.0/19
input does not match any value of peer
[admin@mkt] >
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Little bug is /routing bgp advertisements print ... deta

Fri Oct 10, 2014 2:50 pm

prefix =1.66.64.0/19
most probably, just fix this (loose the unnecessary space)
 
OleksandrL
just joined
Topic Author
Posts: 11
Joined: Tue Aug 19, 2014 10:17 am

Re: Little bug is /routing bgp advertisements print ... deta

Fri Oct 10, 2014 3:08 pm

prefix =1.66.64.0/19
most probably, just fix this (loose the unnecessary space)
Thank you for your answer!
But this command works good without "detail".
I try several different commands without success:
[admin@mkt] > /routing bgp advertisements print detail where prefix = 1.66.64.0/19
syntax error (line 1 column 56)
[admin@mkt] > /routing bgp advertisements print detail where prefix="1.66.64.0/19"
input does not match any value of peer
[admin@mkt] > /routing bgp advertisements print detail where prefix=1.66.64.0/19
input does not match any value of peer
[admin@mkt] >
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Little bug is /routing bgp advertisements print ... deta

Fri Oct 10, 2014 3:19 pm

Press tabs and you will get tips for right syntax

For BGP advertisements you need to also specify peer name

/routing bgp advertisements print peer1 detail where ...

in other menus it will bee

/ip route print detail where ....
 
OleksandrL
just joined
Topic Author
Posts: 11
Joined: Tue Aug 19, 2014 10:17 am

Re: Little bug is /routing bgp advertisements print ... deta

Fri Oct 10, 2014 3:42 pm

Press tabs and you will get tips for right syntax

For BGP advertisements you need to also specify peer name

/routing bgp advertisements print peer1 detail where ...
.
yes, this works.
OK

Who is online

Users browsing this forum: ShindigNZ and 124 guests