Fortinet black logo

CLI Reference

get router info routing-table

get router info routing-table

Use this command to display the routing table.

Syntax

FortiADC-VM # get router info routing-table ?

all show all routing table entries

kernel-all show all routing table entries

kernel-connected show connected routing table entries

kernel-llb show llb routing table entries

kernel-static show static routing table entries

Example

FortiADC-VM # get router info routing-table all

Codes: K - kernel route, C - connected, S - static, O - OSPF, P - PPPoE

> - selected route, * - FIB route

S>* 0.0.0.0/0 [10/0] via 172.30.147.254, port1

C>* 169.254.0.0/16 is directly connected, haport0

C>* 172.30.144.0/22 is directly connected, port1

get router info routing-table

get router info routing-table

Use this command to display the routing table.

Syntax

FortiADC-VM # get router info routing-table ?

all show all routing table entries

kernel-all show all routing table entries

kernel-connected show connected routing table entries

kernel-llb show llb routing table entries

kernel-static show static routing table entries

Example

FortiADC-VM # get router info routing-table all

Codes: K - kernel route, C - connected, S - static, O - OSPF, P - PPPoE

> - selected route, * - FIB route

S>* 0.0.0.0/0 [10/0] via 172.30.147.254, port1

C>* 169.254.0.0/16 is directly connected, haport0

C>* 172.30.144.0/22 is directly connected, port1