Sign Up
Log In
Home
discussion
Exam 200-301 Question id=5391 IP Connectivity

Which command is used to view the entire routing table?

A. show route-map
B. show ip mroute
C. show ip route
D. show ip protocols

The show ip route command is used to view the entire routing table. The output of this command consists of codes, gateway of last resort, directly connected networks, and routes learned through different protocols working on the network. The syntax of the show ip route command is as follows:

show ip route [address [mask] [longer-prefixes]] | [protocol [process-id]]

The parameters of the show ip route command are as follows:
* address: Specifies the address for which the routing information should be displayed.
* mask: Specifies the subnet mask.
* longer-prefixes: Specifies the combination of mask and address.
* protocol: Specifies the name of the routing protocols such as Routing Information Protocol (RIP), or Open Shortest Path First (OSPF).
* protocol-id: Specifies the protocol ID used to identify a process of a particular protocol.

The show route-map command is incorrect because this command is used to view the route-maps configured on the router.

The show ip mroute command is incorrect because this command is used to view the contents of the IP multicast routing table.

The show ip protocols command is incorrect because this command is used to view the routing protocols parameters, and the current timer values.