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

Prepare for the CCST Cybersecurity Test with comprehensive study guides and practice quizzes. Enhance your knowledge with interactive questions, complete with explanations and solutions. Excel in your exam with confidence!

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