home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

R1: show ip route bgp

The following example shows the output of the show ip route bgp command for router R1 at this stage of the configuration.

vyatta@R1:~$ show ip route bgp 
B       10.0.0.0/8 [200/0] via 99.99.99.2, 00:12:04
B    *> 12.0.0.0/8 [20/0] via 88.88.88.2, dp0p161p1, 00:17:51
B    *> 172.16.0.0/12 [200/0] via 99.99.99.2 (recursive via 172.16.0.4 ), 00:12:04
B       172.16.0.0/24 [200/0] via 10.0.0.44, 00:18:37
B    *> 192.168.0.0/16 [200/0] via 99.99.99.2 (recursive via 172.16.0.4 ), 00:12:04

The show ip route bgp command displays the routes in the RIB that were learned via BGP. This is different from the output of show ip bgp, which shows all paths learned via BGP regardless of whether it is the best BGP path and whether the BGP candidate to the RIB for the prefix is the best route (for example, it has the lowest admin cost).

The output for the same operational BGP commands run on router R4 yields similar results.