Partager via


IPv6 rtu (Compact 2013)

3/26/2014

The ipv6 rtu (routing table update) command adds, removes, or modifies a route in the routing table.

Syntax

ipv6 rtu prefix ifindex/address [lifetime valid[/preferred]] [preference loopback] [publish] [age] [spl SitePrefixLength]

Options

The following tables describe each ipv6 rtu option. These options are not case-sensitive.

Option

Option

Description

prefix

Specifies the route prefix. This option is required.

ifindex

Indicates the index number of the network interface for which to add or remove a route from the routing table.

address

Indicates the address to add or remove from the routing table.

lifetime

valid/preferred

Specifies the lifetime of the route in seconds. You can specify a valid lifetime and a preferred lifetime (for more about valid and preferred lifetimes, see RFC 2462). If you do not specify a lifetime, the lifetime is infinite. If you specify only a valid lifetime, then the preferred lifetime is equal to the valid lifetime. If you specify the valid lifetime and the preferred lifetime, then preferred must be less than or equal to valid. If you specify a lifetime of zero (0) seconds, the route is removed. You can abbreviate lifetime as life.

preference

loopback

Indicates the source address preference for this route as compared to other routes. In Windows Embedded Compact, you can only specify a preference for the loopback address (::1/128) by entering the loopback option. When you do not specify a source address preference, ipv6 rtu defaults to the default unicast route address (::/0). You can abbreviate preference as pref.

publish

Advertise (publish) this route in route advertisements. By default, routes are not published. When you specify publish, this route is used in constructing router advertisements, so it does not age by default. A non-published route, however, always ages by default. You can abbreviate publish as pub, and you can substitute advertise for publish.

age

Indicates that you want this route to age. When a route ages, it is removed from the routing table at the end of its lifetime. By default, routes do not age. To explicitly indicate that you do not want this route to age, you can specify noage or immortal in place of age. The age option is useful when you want to force a published route to age.

spl

SitePrefixLength

Specifies the prefix length associated with the route. The site prefix length is used only when sending router advertisements.

Example

To remove the route 2001:DB8:616D:6B72::/64 from interface index 4, type the following:

\> ipv6 rtu 2001:DB8:616D:6B72::/64 4 life 0

See Also

Reference

IPv6