Which command is used to display the IP routing table on Windows hosts?

Study for the CCST Cybersecurity Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which command is used to display the IP routing table on Windows hosts?

Explanation:
Displaying the IP routing table on Windows is done with the route command. Use route print to view the current IPv4 and IPv6 routes, including destination networks, subnet masks, gateways, the interface used, and the metric that influences route selection. The other options serve different purposes: nslookup queries DNS, nbstat shows NetBIOS over TCP/IP status, and grep is a text-search tool from Unix-like systems, not a Windows routing viewer. You can also modify routes with route add or route delete, but for simply viewing the routing information, route print is the correct approach.

Displaying the IP routing table on Windows is done with the route command. Use route print to view the current IPv4 and IPv6 routes, including destination networks, subnet masks, gateways, the interface used, and the metric that influences route selection. The other options serve different purposes: nslookup queries DNS, nbstat shows NetBIOS over TCP/IP status, and grep is a text-search tool from Unix-like systems, not a Windows routing viewer. You can also modify routes with route add or route delete, but for simply viewing the routing information, route print is the correct approach.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy