Vyatta NOS documentation

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

show ip route forward

Displays routes stored in the Forwarding Information Base (FIB).

show ip route forward [ ipv4net ]

Displays routes stored in the FIB.

ipv4net
Optional. A route for which information from the kernel forwarding table is displayed.

Operational mode

Use this command to display routes that are stored in the FIB.

The FIB contains multiple equal-cost paths, if they exist. Multiple equal-cost paths are needed before equal-cost multipath (ECMP) routing or WAN load balancing is performed.

The following example shows how to display routes stored in the FIB.

vyatta@vyatta:~$ show ip route forward
default via 10.1.0.1 dev dp0p0p0  proto zebra
10.1.0.0/24 dev dp0p0p0  proto kernel  scope link  src 10.1.0.62
10.192.32.0/24 via 10.1.0.45 dev dp0p0p0  proto zebra  metric 20
10.192.128.0/24 via 10.1.0.66 dev dp0p0p0  proto zebra  metric 11
10.192.128.1 via 10.1.0.66 dev dp0p0p0  proto zebra  metric 11
10.192.129.0/24 via 10.1.0.66 dev dp0p0p0  proto zebra  metric 11
10.192.130.0/24 via 10.1.0.66 dev dp0p0p0  proto zebra  metric 11
10.192.131.0/24 via 10.1.0.66 dev dp0p0p0  proto zebra  metric 11
172.16.0.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.1.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.2.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.3.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.4.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.5.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.6.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.7.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.8.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.9.0/24 via 10.1.0.4 dev dp0p0p0  proto zebra  metric 11
172.16.234.0/25 dev dp0p0p1  proto kernel  scope link  src 172.16.234.23
192.94.202.0/24 via 172.16.234.27 dev dp0p0p1  proto zebra
vyatta@vyatta:~$

The following example shows how to display information from the FIB about the 10.1.0.0/24 route.

vyatta@vyatta:~$ show ip route forward 10.1.0.0/24
10.1.0.0/24 dev dp0p0p0  proto kernel  scope link  src 10.1.0.62
vyatta@vyatta:~$