User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 651
6.2.1.9. show ip route connected
This command displays directly connected routes.
Format show ip route [vrf <vrf-name>] connected
Default None
Mode Privileged EXEC
Display Message
The command displays the routing tables in the following format:
Code IP-Address/Mask [Preference/Metric] via Next-Hop, Interface
6.2.1.10. show ip route ospf
This command displays Open Shortest Path First (OSPF) routes. The option all command displays all (best and
non-best) routes.
Format show ip route [vrf <vrf-name>] ospf [all]
Default None
Pref
The preference value that is used for this route entry.
Fields
Definition
Route Codes
Displays the key for the routing protocol codes that might appear in the routing
table output.
Fields
Definition
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.