200-301 · Question #1496
Which Windows command is used instead of the route print command to display the contents of the IP routing table?
The correct answer is B. netstat -r. In Windows, the netstat -r command displays the IP routing table, providing similar information to the route print command.
Question
Options
- Aipconfig
- Bnetstat -r
- Cnetstat -n
- Difconfig
How the community answered
(42 responses)- A2% (1)
- B90% (38)
- C2% (1)
- D5% (2)
Why each option
In Windows, the `netstat -r` command displays the IP routing table, providing similar information to the `route print` command.
The `ipconfig` command displays current TCP/IP network configuration details for network adapters, not the routing table.
The `netstat -r` command in Windows is used to display the IP routing table, showing network destinations, netmasks, gateways, interfaces, and metrics for all network connections, effectively serving the same purpose as `route print`.
The `netstat -n` command displays active TCP connections and listening ports in numerical form, without resolving hostnames or port names, but does not show the routing table.
The `ifconfig` command is a Linux/Unix command for network interface configuration and display, not a command used in Windows.
Concept tested: Windows command-line routing table display
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat
Topics
Community Discussion
No community discussion yet for this question.