Article ID: 141383 - View products that this article applies to.
This article was previously published under Q141383
The "P" switch for the Route command allows a user to make persistent entries in the routing table by adding a static route directly to the registry.
You can use the "P" switch for the Route command which allows a user to make persistent entries in the routing table by adding a static route directly to the registry. The use of the "P" switch is covered in the online command reference but is not in the printed TCP/IP reference.
Sample syntax from a command line:
route -p add 126.96.36.199 mask 255.255.255.0 188.8.131.52
The command forces the following registry entry to be read when the computer is restarted.
HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters \PersistentRoutes value: 184.108.40.206 255.255.255.0 220.127.116.11 Reg_SZ:
Article ID: 141383 - Last Review: February 20, 2007 - Revision: 2.2