Fortinet black logo

CLI Reference

router info routing-table

router info routing-table

Use this command to display the routes in the routing table.

Syntax

get router info routing-table <keyword>

<keyword> Description

all

Show all entries in the routing table.

bgp

Show the BGP routes in the routing table.

connected

Show the connected routes in the routing table.

database

Show the routing information database.

details [<address_ipv4mask>]

Show detailed information about a route in the routing table, including the next-hop routers, metrics, outgoing interfaces, and protocol-specific information.

ospf

Show the OSPF routes in the routing table.

rip

Show the RIP routes in the routing table.

static

Show the static routes in the routing table.

router info routing-table

Use this command to display the routes in the routing table.

Syntax

get router info routing-table <keyword>

<keyword> Description

all

Show all entries in the routing table.

bgp

Show the BGP routes in the routing table.

connected

Show the connected routes in the routing table.

database

Show the routing information database.

details [<address_ipv4mask>]

Show detailed information about a route in the routing table, including the next-hop routers, metrics, outgoing interfaces, and protocol-specific information.

ospf

Show the OSPF routes in the routing table.

rip

Show the RIP routes in the routing table.

static

Show the static routes in the routing table.