Netsh Routing Commands
Updated: June 3, 2009
Applies To: Windows Server 2008, Windows Server 2008 R2
The following commands are specific to the routing context within the Netsh environment.
To view the command syntax, click a command:
Netsh commands for routing
The following entries provide details for each command.
Displays the configuration of the remote access server in script form.
- You can dump the contents of the current configuration to a file that can be used to restore altered configuration settings.
The following commands save the current configuration as a script in the c:\test\routingcfg.dmp file.
From the command prompt:
netsh routing dump > c:\test\routingcfg.dmp
From the netsh routing context prompt:
set file open c:\test\routingcfg.dmp
set file close
You can use the netsh exec command to run the script created by the netsh dump command.
Resets IPv4 and IPv6 routing to a clean state.