IP CLI Commands
2/1553-ZAT 759 94 Uen B – December 2005
305
12.46
ip show route
12.46.1 Syntax
ip show route {<name>|<number>}
12.46.2 Description
This command displays the following information about a named route:
•
Destination IP address.
•
Netmask
address.
•
Gateway
IP
address.
•
Cost – the number of hops counted as the cost of the route.
•
Interface
name.
12.46.3 Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option Description
Default
value
name
A name that identifies an existing
route. To display route names, use the
ip list routes
command.
N/A
number
A number that identifies an existing
route. To display route numbers, use
the
ip list routes
command.
N/A
12.46.4 Example
-->
ip show route route3
IP route: route3
Destination: 192.168.102.3
Netmask: 255.255.255.0
Gateway: 192.168.108.3
Cost: 1
Interface: