Exam 200-301 | Question id=5491 | IP Connectivity |
Which Cisco IOS command will display the following partial output?
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.30.10.85 to network 10.71.0.0
E 168.23.0.0 [140/8] via 10.212.215.122, 0:03:34, serial0/0
E 172.43.0.0 [140/8] via 10.145.231.221, 0:43:54, Ethernet 2
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 168.28.0.0 [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.