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 variance console

Detects the routes that are missing from the RIB, kernel, and data plane table and displays the discrepancy at the console.

show ip route variance console

Operational mode

Compares the routes in the RIB, kernel, and data plane table, detects missing routes, and displays the discrepancy at the console . The discrepancy contains IPv4 routes and addresses that are missing from the RIB, kernel, and data plane table. A missing route is identified by using codes such as R for RIB, K for kernel, and D for data plane. This command verifies only active routes and interfaces and can help during debugging.
Note: Ciena recommends that you use the command in a stable environment to ensure that you do not get wrong results. The vRouter may take more time to generate the output if the system has millions of routes.

The following example shows how to display the discrepancy information at the console. The output displays the following information:

  • The interface variance table indicates that the 88.88.88.4 address which is configured on the lo4 interface is missing from the data plane.
  • The route variance table indicates that the 200.9.9.0/32 address route with the 12.12.12.20 nexthop is missing from both the kernel and data plane.
vyatta@vyatta# show ip route variance console
Codes: R - RIB, K - Kernel, D - Dataplane
(Indicates the table Id in which the address/route is missing)

Interface Variance Table:
D 	88.88.88.4 lo4 (present in Kernel)
K 	201.202.203.0 dp0s8 (present in RIB)
K 	6.6.6.0 dp0s7.1 (present in RIB)
R 	12.12.12.0 dp0s7 (present in Kernel)

Route Variance Table:
Table Absence  Route
def   D        100.4.4.4/32 via 12.12.12.18
def   K        100.1.1.1/32 via 12.12.12.19
def   KD       200.9.9.0/24 via 12.12.12.20
def   R        100.1.1.1/32 via 12.12.12.17
def   R        200.1.1.1/32 via 12.12.12.20
def   RK       100.4.4.4/32 via 12.12.12.28
def   RK       200.20.20.20/32 via 12.12.12.30

The following example shows how to display the discrepancy at the console. The output indicates that all tables are synchronized and that no routes and interfaces are missing.

vyatta@vyatta# show ip route variance console

No Variance, Inteface addresses and Routes are in sync