Compartilhar via


Configure interface attributes

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To configure interface attributes

  1. Open Command Prompt.

  2. At the command prompt, type netsh, and then press ENTER.

  3. Type interface ipv6, and then press ENTER.

  4. Type set interface [interface=]String [[forwarding=]{enabled | disabled}] [[advertise=]{enabled | disabled}] [[mtu=]Integer] [[siteid=]Integer] [[metric=]Integer] [[firewall=]{enabled | disabled}] [[siteprefixlength=]Integer] [[store=]{active | persistent}]

Where:

  • [ interface=] String
    Specifies the interface name.
  • [[ forwarding=]{ enabled| disabled}]
    Specifies whether packets arriving on this interface can be forwarded to other interfaces. The default is disabled.
  • [[ advertise=]{ enabled| disabled}]
    Specifies whether Router Advertisements are sent on this interface. The default is disabled.
  • [[ mtu=] Integer]
    Specifies the maximum transmission unit (MTU) of this interface. If mtu is not specified, the default MTU of the link is used.
  • [[ siteid=] Integer]
    Specifies the site scope zone identifier. The site identifier is used to distinguish among interfaces belonging to different administrative regions that use site-local addressing.
  • [[ metric=] Integer]
    Specifies the interface metric, which is added to route metrics for all routes over the interface.
  • [[ firewall=]{ enabled| disabled}]
    Specifies whether to operate in firewall mode.
  • [[ siteprefixlength=] Integer]
    Specifies the default length of the global prefix for the entire site.
  • [[ store=]{ active| persistent}]
    If active is specified, the change only lasts until the computer is restarted. If persistent is specified, the change is permanent. The default is Persistent.

Note

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

IPv6 routing
Neighbor Discovery (ND)
IPv6 utilities
Netsh commands for Interface IPv6