Freigeben über


IPv6 rtu (Windows CE 5.0)

Send Feedback

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

ipv6 [-p] rtuPrefix IfIndex[/Address] [life Valid[/Preferred]] [preferenceP] [publish] [age] [splSitePrefixLength] 

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.

  • preferenceP
    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.

  • splSitePrefixLength
    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

IPv6

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.