2018-03-01 11:36 GMT+01:00 Pierre Emeriaud <[email protected]>:
> Hello,
>
>
> I found an interesting behavior with bgplg when used as cgi-bin. It
> fails with "show ip bgp {as|source-as|transit-as}" at least when as is
> < 10.
>
> No issues whatsoever with bgplgsh:
>
> lg.synhacx.eu.org> show ip bgp as 3
> flags: * = Valid, > = Selected, I = via IBGP, A = Announced, S = Stale
> origin: i = IGP, e = EGP, ? = Incomplete
> flags destination gateway lpref med aspath origin
> *> 2603:4000::/32 2001:470:12:1b6::1 100 0 6939 3 i
> * 2603:4000::/32 2a06:e880:100f:fffe:25::1 100 0
> 200753 6939 3 i
> <snip>
>
> but this same request
> https://lg.synhacx.eu.org/cgi-bin/bgplg?cmd=show+ip+bgp+as&req=3 in
> the cgi just outputs "failed."
>
> If you want to check with a router that only have legacy IP, AS1 and 2
> originate only a few routes.
>
> Thanks,
> pierre