Share via


IPv6 rtu

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This command adds or removes a route in the routing table.

Syntax

ipv6 [-p] rtu Prefix IfIndex[/Address] [life Valid[/Preferred]] [preference P] [publish] [age] [spl SitePrefixLength] 

Parameters

  • -p
    Saves the setting in the registry.
  • Prefix
    Specifies the route prefix. This parameter is required.
  • IfIndex
    Indicates the interface index number for which to add or remove a route from the routing table. On-link prefixes require an interface. Off-link prefixes require an interface and a next-hop address.
  • Address
    Indicates the address to add or remove from the routing table.
  • life Valid /Preferred
    Indicates the lifetime of the route. A route can have a lifetime in seconds (the default is infinite) and a preference (the default is zero, which is preferred). Specifying a lifetime of zero causes the route to be deleted. You can abbreviate lifetime as life.
  • preference P
    Indicates the source address preference for this route as compared to other routes. For more information about address selection preference, see Default Address Selection for IPv6. You can abbreviate preference as pref.

    Lifetime is used when route is included in a router advertisement. However, the lifetime does not count down.

  • publish
    Indicates the route is advertised in Route Advertisements. You can abbreviate publish as pub. If the route is specified as published, and therefore used in constructing router advertisements, then it does not age by default. A nonpublished route, by default, always ages.
  • age
    Indicates the age of the route.
  • spl SitePrefixLength
    Specifies the prefix length associated with the route. The site prefix length is used only when sending router advertisements.

Remarks

The route lifetime does not count down, so it is effectively infinite. When the route is included in Router Advertisement messages, the lifetime is used. Optionally, a route can be specified as a published route that ages. A nonpublished route, by default, always ages.

See Also

Concepts

IPv6