Ipv6 route distance – Dell PowerEdge M805 User Manual

Page 636

Advertising
background image

640

IPv6 Routing Commands

www

.dell.com | support.dell.com

Syntax

ipv6 route ipv6-prefix /prefix-length [interface {tunnel tunnel-id | vlan vlan-id}]next-hop-
address preference

no ipv6 route ipv6-prefix /prefix-length [interface {tunnel tunnel-id | vlan vlan-id}]next-hop-
address preference

ipv6-prefix—Is the IPv6 network that is the destination of the static route.

prefix-length—Is the length of the IPv6 prefix — a decimal value (usually 0-64) that
shows how many of the high-order contiguous bits of the address comprise the prefix (the
network portion of the address). A slash mark must precede it.

interface—Identifies direct static routes from point-to-point and broadcast interfaces,
and must be specified when using a link-local address as the next hop.

tunnel or vlan—Is the tunnel or vlan interface to associate with the route.

next-hop-address—Is the IPv6 address of the next hop that can be used to reach the
specified network.

preference—Is a value the router uses to compare this route with routes from other route
sources that have the same destination. (Range: 1-255)

Default Configuration

1 is the default value for preference.

Command Mode

Global Configuration mode

User Guidelines

This command has no user guidelines.

Example

The following example configure an IPv6 static route.

console(config)#ipv6 route 2020:1::1/64 2030:1::2

ipv6 route distance

Use the ipv6 route distance command in Global Configuration mode to set the default distance
(preference) for static routes. Lower route preference values are preferred when determining the
best route. The ipv6 route and ipv6 route default commands allow optional setting of the distance
of an individual static route. The default distance is used when no distance is specified in these
commands. Changing the default distance does not update the distance of existing static routes,
even if they were assigned the original default distance. The new default distance is applied to
static routes created after invoking the ipv6 route distance command.

Advertising