Re: print and bgp_large_community

2017-01-27 Thread Robert Sander
Am 27.01.2017 um 08:48 schrieb Robert Sander: > Am 25.01.2017 um 14:35 schrieb Ondrej Zajicek: >> On Tue, Jan 24, 2017 at 03:31:00PM +0100, Robert Sander wrote: > >>> Bummer. How do I apply a filter for a prefix from multiple protocols? >> >> Not sure what you want. Do you mean filter in route exp

Re: print and bgp_large_community

2017-01-26 Thread Robert Sander
Am 25.01.2017 um 14:35 schrieb Ondrej Zajicek: > On Tue, Jan 24, 2017 at 03:31:00PM +0100, Robert Sander wrote: >> Bummer. How do I apply a filter for a prefix from multiple protocols? > > Not sure what you want. Do you mean filter in route export? Yes. > In BGP, you could use 'add path' capabi

Re: print and bgp_large_community

2017-01-25 Thread Ondrej Zajicek
On Tue, Jan 24, 2017 at 03:31:00PM +0100, Robert Sander wrote: > On 24.01.2017 15:13, Ondrej Zajicek wrote: > > > Well i see two routes here, one from ospf1 and one from static_bgp. Don't > > you apply the filter just for the first one? That would be true in say > > export filter. You could add 'p

Re: print and bgp_large_community

2017-01-24 Thread Robert Sander
On 24.01.2017 15:13, Ondrej Zajicek wrote: > Well i see two routes here, one from ospf1 and one from static_bgp. Don't > you apply the filter just for the first one? That would be true in say > export filter. You could add 'print proto;' to see the protocol source > of the route. Bummer. How do I

Re: print and bgp_large_community

2017-01-24 Thread Ondrej Zajicek
On Tue, Jan 24, 2017 at 02:27:11PM +0100, Robert Sander wrote: > In a function in a filter like this: > > print bgp_community; > print bgp_large_community; > > Self defined variables like "lc set test" can be printed with > > print test; > > without issues. > > Wait a minute. If I only get "(l

Re: print and bgp_large_community

2017-01-24 Thread Robert Sander
On 24.01.2017 14:19, Ondrej Zajicek wrote: > On Tue, Jan 24, 2017 at 02:02:39PM +0100, Robert Sander wrote: >> Hi, >> >> I need to print the bgp_large_community for debugging purposes but all I >> get is the output "(lclist )". >> > How are you using it? In a function in a filter like this: print

Re: print and bgp_large_community

2017-01-24 Thread Ondrej Zajicek
On Tue, Jan 24, 2017 at 02:02:39PM +0100, Robert Sander wrote: > Hi, > > I need to print the bgp_large_community for debugging purposes but all I > get is the output "(lclist )". > > Are these list not printable? Hi Works for me: filter/test.conf : ... ll = --- empty ---; ll = add(ll, (t

print and bgp_large_community

2017-01-24 Thread Robert Sander
Hi, I need to print the bgp_large_community for debugging purposes but all I get is the output "(lclist )". Are these list not printable? Regards -- Robert Sander Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin http://www.heinlein-support.de Tel: 030 / 405051-43 Fax: 030 / 405051-19