Network routes via Windows command-line
Print all routes
route print
Print a specific route
route print {:IPAddress:}
Create a new route
route add {:IPAddress:} mask {:SubnetMask:} {:GatewayIP:} metric {:Metric:}
Modify an existing route (if created rule with above add/create command double check metric)
route change {:IPAddress:} mask {:SubnetMask:} {:GatewayIP:} metric {:Metric:}
Delete a route (if created rule with above add/create command double check metric)
route delete {:IPAddress:} mask {:SubnetMask:} metric {:Metric:}
Note: You can specify which interface the route uses by appending “if {:InterfaceIndex:}” with interface indexes being found at the top of the results for the “route print” command