show route command syntax
Chris Herdt
cherdt at gmail.com
Thu Aug 23 17:31:09 CEST 2018
On Wed, Aug 22, 2018 at 4:33 PM Maria Jan Matějka <jan.matejka at nic.cz>
wrote:
> On August 22, 2018 8:40:16 PM GMT+02:00, Chris Herdt <cherdt at gmail.com>
> wrote:
> > I'm using BIRD v2.0.2. I have successfully peered with another host
> > and am
> > receiving iBGP routes.
> >
> > bird> show route count
> > 0 of 0 routes for 0 networks in table master4
> > 0 of 0 routes for 0 networks in table master6
> > 9763 of 9763 routes for 9763 networks in table vpntab4
> > 0 of 0 routes for 0 networks in table vpntab6
> > Total: 9763 of 9763 routes for 9763 networks in 4 tables
> >
> > I can use 'show route all' to see all the routes (IP addresses
> > replaced):
> >
> > bird> show route all
> > Table vpntab4:
> > 192.168.100.0:24 192.168.42.199/32 unreachable [peer1 13:22:47.245
> > from
> > 192.168.12.3] * (100/-) [AS65321i]
> > Type: BGP univ
> > BGP.origin: IGP
> > BGP.as_path: 65321
> > BGP.next_hop: 192.168.100.0
> > BGP.local_pref: 100
> > BGP.originator_id: 192.168.100.0
> > BGP.cluster_list: 192.168.12.3 192.168.100.1
> > BGP.ext_community: (rt, 65123, 65555)
> > BGP.mpls_label_stack: 54321
> > etc.
> >
> > However, I can't seem to figure out the syntax to retrieve a specific
> > route. E.g.:
> >
> > bird> show route for 192.168.42.199/32
> > Network not found
> >
> > Thanks in advance.
>
> Hello!
>
> You are using a vpn4 table so you should ask for a vpn4 prefix, like
>
> show route for 192.168.100.0:24 192.168.42.99/32
>
> I'm writing from my phone, not testing it. Anyway, it should work.
>
> Maria
>
That worked! Thanks for your help!
--
Chris Herdt
https://osric.com/chris/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180823/2d5341ca/attachment.html>
More information about the Bird-users
mailing list