Netsh RAS IPv6 Context Commands
Updated: June 3, 2009
Applies To: Windows Server 2008, Windows Server 2008 R2
The following commands are specific to the ras IPv6 context within the Netsh environment.
Netsh commands for ras IPv6 in Windows Server 2008
Netsh commands for RAS IPv6 in Windows Server 2008 R2
Note |
|---|
| All of the commands for Windows Server 2008 continue to apply to RRAS servers running Windows Server 2008 R2. This section documents new commands for Windows Server 2008 R2 that are not valid on earlier versions of Windows. |
Set commands
Show commands
The following entries provide details for each command.
Displays the IPv6 configuration of a remote access server in script form.
dump
-
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\rasipv6cfg.dmp file.
-
From the command prompt:
netsh ras ipv6 dump > c:\test\rasipv6cfg.dmp -
From the netsh ras ipv6 context prompt:
set file open c:\test\rasipv6cfg.dmp
dump
set file close
You can use the netsh exec command to run the script created by the netsh dump command.
Specifies whether IPv6 network traffic from any client are forwarded to the network or networks to which the remote access server is connected.
set access
[ mode = ] { all | serveronly }
- [ mode = ] { all | serveronly }
- Required. Specifies whether clients are able to reach the remote access server and any networks to which it is connected. The all parameter allows clients to reach networks through the server. The serveronly parameter allows clients to reach only the server and any share folders that it makes available.
Specifies whether the remote access server should allow IPv6 to be used by client connections that the server accepts.
set negotiation
[ mode = ] { allow | deny }
- [ mode = ] { allow | deny }
- Required. Specifies whether to permit IPv6 over client connections. The allow parameter allows IPv6 over client connections. The deny parameter prevents IPv6 over client connections.
Sets the static IPv6 prefix that the remote access server advertises to clients.
set prefix
[ prefix = ] IPv6Prefix
- [ prefix = ] IPv6Prefix
- Required. Specifies the IPv6 prefix in the form: 'x:x:x:x::'
The following sets the IPv6 prefix to 3ffe:ffff:a:1.
set prefix prefix=3ffe:ffff:a:1::
Displays the current IPv6 configuration of the remote access server.
show config
The commands in this section are new to RRAS in Windows Server 2008 R2, and are not available in previous versions of Windows.
Set commands
Specifies that the RRAS server is to advertise itself as a router on its attached networks.
set routeradvertise
[ mode = ] { enable | disable }
- [ mode = ] { enable | disable }
- Required. Specifies whether the router advertises itself as one on the locally attached networks.
- To advertise as a router, the computer must have a default route (::/0) that is configured to be published.
The following sets the router to advertise to its local connected networks..
set routeradvertise mode=enable

Note