Which Cisco IOS command will display the following partial output?
A. show ip
B. show ip route
C. show ip route summary
D. show route summary
The show ip route command will display the output in this scenario. The command is used to display the present status of the routing table. The complete command syntax is:
show ip route [[ip-address [mask] [longer-prefixes]] | [protocol [process-id]] | [list access-list-number | access-list-name]]
The following is a sample partial output:
D 220.127.116.11 [140/8] via 10.212.215.122, 0:03:34, serial0/0
The first letter represents the routing protocol through which the route is learned. In this case, the route is learned by EIGRP. The command output also lists codes used for all the routing protocols.
The routing protocol code is followed by the IP address of the remote network.
The first number in the bracket represents the administrative distance of the routing protocol. The number followed by slash within the bracket represents the cost of the route. Different routing protocol uses different methods to calculate the cost of the route. The IP address followed by the keyword via shows the next router to the remote network. The next set of numbers is the time when the route was last updated, which is 0:03:34 in the example. Lastly, it displays the interface through which the network can be reached, which is serial0/0 in the example.
The show ip command is incorrect because it is not a valid Cisco IOS command.
The show ip route summary command is incorrect because this command is used to view the current state of the routing table. The show route summary command is incorrect because it is not a valid Cisco IOS command.