Netsh RAS IPv6 Context Commands

The following commands are specific to the ras IPv6 context within the Netsh environment.

To view the command syntax, click a command:

Set commands

Show commands

Netsh commands for ras IPv6

The following entries provide details for each command.

dump

Displays the IPv6 configuration of a remote access server in script form.

Syntax

dump

Remarks

  • You can dump the contents of the current configuration to a file that can be used to restore altered configuration settings.

Example

The following is the command to save the current configuration as a script in the rasipv6cfg.dmp file.

dump > rasipv6cfg.dmp

set negotiation

Specifies whether the remote access server should allow IPv6 to be configured for any client connections the server accepts.

Syntax

set negotiation

[mode=] {allow | deny}

Parameters

[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.

set access

Specifies whether IPv6 network traffic from any client should be forwarded to the network or networks to which the remote access server is connected.

Syntax

set access

[mode=] {all | serveronly}

Parameters

[mode=] {all | serveronly}


Required. Specifies whether clients should be 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.

set prefix

Sets the static IPv6 prefix that the remote access server users to advertise to clients.

Syntax

set prefix

[prefix=] IPv6Prefix

Parameters

[prefix=] IPv6Prefix


Required. Specifies the IPv6 prefix in the form: 'x:x:x:x::'

Example

The following sets the IPv6 prefix to 3ffe:ffff:a:1.

set prefix prefix=3ffe:ffff:a:1::

show config

Displays the current IP configuration of the remote access server.

Syntax

show config