While diagnosing an unrelated matter, I find that 'bgpctl show rib' has difficulty with the 'in' keyword. The 'out' counterpart works as expected. Looking at bgpctl(8), the following should work (but doesn't): $ bgpctl show rib in neighbor $peer ambiguous argument: in valid commands/args: <snip> invalid leaked in out <snip>
Note: tested this on a 7.3 (w/ bgpd erratum) release system. On a 7.2 release system, I don't see this regression (unsurprising, as bgpctl(8) there doesn't list 'invalid' as a valid 'show rib' option). I suspect this involves the logic in match_token() from src/usr.sbin/bgpctl/parser.c. I'll take a stab at providing a patch. Meanwhile, I'd appreciate any hints and/or a workaround for the mean time. Thanks in advance, Rogier

