Route Print Command – Show Routing Table on Windows
To display the routing table on Windows, we can use route print
or netstat -r
command. The output of both commands is identical. However, the route
command has command options to filter the output to show the routing table for IPv4
or IPv6
separately.
To show the routing table, open a CDM (or PowerShell window) and type the following command:
route print
You will see an output similar to the following.
The output of the route print
command includes the following sections: Interface List, IPv4 Route Table, and IPv6 Route Table. The persistent Routes section shows permanent static routes.
Route Print Command Options
To show IPv4 routing table, Type:
route print -4
To show IPv6 routing table, Type:
route print -6
Using the wildcard character (*), you can create search patterns. For example route print 192.*
only prints those routes that have a destination IP address start with 192
.