beautypg.com

8 show ip route ospf – Fortinet 548B User Manual

Page 425

background image

- 425 -

Route Codes: Displays the key for the routing protocol codes that might appear in the routing table
output.

The command displays the routing tables in the following format:

Code IP-Address/Mask [Preference/Metric] via Next-Hop, Interface

Code: The codes for the routing protocols that created the routes.

IP-Address/Mask: The IP-Address and mask of the destination network corresponding to this route.

Preference: The administrative distance associated with this route. Routes with low values are
preferred over routes with higher values.

Metric: The cost associated with this route.

via Next-Hop: The outgoing router IP address to use when forwarding traffic to the next router (if
any) in the path toward the destination.

Interface: The outgoing router interface to use when forwarding traffic to the next destination.

8.2.1.8 show ip route ospf

This command displays Open Shortest Path First (OSPF) routes. The option all command displays all
(best and non-best) routes.

Syntax

show ip route ospf [all]

Default Setting

None

Command Mode

Privileged Exec

Display Message

Route Codes: Displays the key for the routing protocol codes that might appear in the routing table
output.

The command displays the routing tables in the following format:

Code IP-Address/Mask [Preference/Metric] via Next-Hop, Interface

Code: The codes for the routing protocols that created the routes.

IP-Address/Mask: The IP-Address and mask of the destination network corresponding to this route.

Preference: The administrative distance associated with this route. Routes with low values are
preferred over routes with higher values.

Metric: The cost associated with this route.