showing all possible AS-paths?

Ondrej Filip feela at network.cz
Tue Jun 22 16:36:35 CEST 2010


On 22.6.2010 14:17, Arjan Filius wrote:
> Hello Bird-users,
>
> Is there a way to get all route AS-path's information , and not just the
> slected path?
> either all, or just a specific route?

I don't undestand you problem. If you get a specific route from two 
(or more) different BGP protocols, all instances are stored in routing 
table. By 'show route all' you can see all the paths. Look at this 
example.

bird> show route 217.31.192.0/20
217.31.192.0/20    via 194.50.100.3 on eth1 [R25192x2 May05] * (100) 
[AS25192i]
                    via 194.50.100.13 on eth1 [R25192x1 14:56] (100) 
[AS25192i]
bird> show route 217.31.192.0/20 all
217.31.192.0/20    via 194.50.100.3 on eth1 [R25192x2 May05] * (100) 
[AS25192i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 25192
	BGP.next_hop: 194.50.100.3
	BGP.med: 0
	BGP.local_pref: 100
	BGP.atomic_aggr:
	BGP.aggregator: 217.31.205.209 AS25192
	BGP.community: (0,39392)
                    via 194.50.100.13 on eth1 [R25192x1 14:56] (100) 
[AS25192i]
	Type: BGP unicast univ
	BGP.origin: IGP
	BGP.as_path: 25192
	BGP.next_hop: 194.50.100.13
	BGP.local_pref: 100
	BGP.community: (0,39392)
bird>


> I can see all routes, with it's selected path, but not (or don't know
> how to do it) all possible AS-path's.
>
> Thanks in advance
>
> Regards,
>




More information about the Bird-users mailing list