Partager via


Netsh commands for Interface Teredo

Applies To: Windows Server 2008

This section contains the following commands

  • set state

  • show state

Interface Teredo commands

The following entries provide details for each command.

set state

Sets the Teredo state. A default argument to a parameter sets it to the system default.

Syntax

set state [ [ type= ] disabled | client | enterpriseclient | default ] [ [ servername= ] HostName | IPv4Address | default ] [ [ refreshinterval= ] Integer | default ] [ [ clientport= ] Integer | default ] [ [ supernode= ] HostName | IPv4Address | default ]

Parameters

  • type
    Optional. Specifies one of the following values: disabled: Disable the Teredo service. client: Enable the Teredo client. enterpriseclient: Skip managed network detection.
  • servername
    Optional. Specifies the Host Name or IPv4 address of the Teredo server.
  • refreshinterval
    Optional. Specifies an integer value for the client refresh interval (in seconds).
  • clientport
    Optional. Specifies the integer that is the client's UDP port (if default is specified, this value is chosen by system).
  • supernode
    Optional. Specifies the Super-Node to use when behind a firewall.

Examples

Following is an example of how to use the set state and ipv6 set interface commands to configure Teredo.

At the Teredo server configure two consecutive static IPv4 addresses on the same interface (i.e. - 5.5.1.10 and 5.5.1.11) and then: set state server 5.5.1.10

At the Teredo client: set state server 5.5.1.10

Enable forwarding between the Teredo interface and the native IPV6 interface with: int ipv6 set interface [interface id] forwarding=enabled

show state

Shows the Teredo state.

Syntax

show state