Community discussions

 
Paternot
Long time Member
Long time Member
Topic Author
Posts: 607
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Output of "/routing bgp advertisements print" is truncated

Tue Apr 09, 2019 5:25 am

When dealing with IPv6 routes, the output of the command "/routing bgp advertisements print" is truncated: "PEER", "PREFIX" and "NEXTHOP" aren't big enough to display the output. Is it a bug? Or is there some parameter I can pass to solve it?
/routing bgp advertisements print
PEER     PREFIX               NEXTHOP          AS-PATH                                            ORIGIN     LOCAL-PREF
Escri... fdfd:fd00:0:2010:... fdfd:fd00:0:2...                                                    incomplete
Escri... fdfd:fd00:0:2010:... fdfd:fd00:0:2... 4200000007                                         incomplete
I'm running RoS 6.44.2
 
pe1chl
Forum Guru
Forum Guru
Posts: 5928
Joined: Mon Jun 08, 2015 12:09 pm

Re: Output of "/routing bgp advertisements print" is truncated  [SOLVED]

Tue Apr 09, 2019 2:47 pm

This is kind of common to all command-line access to RouterOS: the column width is fixed.
I am not aware of a way around that in commandmode.
You can either use winbox or webfig, or use API to retrieve this info to another system where you can print it the way you like.
 
Paternot
Long time Member
Long time Member
Topic Author
Posts: 607
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Output of "/routing bgp advertisements print" is truncated

Tue Apr 09, 2019 5:07 pm

This is kind of common to all command-line access to RouterOS: the column width is fixed.
I am not aware of a way around that in commandmode.
You can either use winbox or webfig, or use API to retrieve this info to another system where you can print it the way you like.
That's... disappointing. But thanks for the suggestions. :D
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 1437
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Randburg
Contact:

Re: Output of "/routing bgp advertisements print" is truncated

Sun Apr 28, 2019 3:21 am

Have you tried accessing the device with ssh and then run command?
MTCNA, MTCTCE, MTCRE & MTCINE
 
Paternot
Long time Member
Long time Member
Topic Author
Posts: 607
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Output of "/routing bgp advertisements print" is truncated

Sun Apr 28, 2019 3:26 am

Have you tried accessing the device with ssh and then run command?
That's exactly through SSH that I did this...
 
User avatar
sri2007
Member Candidate
Member Candidate
Posts: 191
Joined: Wed May 20, 2015 10:14 pm
Location: Quito

Re: Output of "/routing bgp advertisements print" is truncated

Tue Apr 30, 2019 5:38 am

Hi!! Seems like we're not able to use the export to a file either :( the result is truncated too.
MikroTik Soporte y Consultoría - Español / English +593 98 709 3502
https://www.safenet.ec/consultoria.html/ soporte@safenet.ec

Who is online

Users browsing this forum: No registered users and 8 guests