Cisco Systems 3750E Ipv6 route ipv6-prefix/prefix length, Ipv6-address interface-id ipv6-address

Models: 3750E

1 1236
Download 1236 pages 40.08 Kb
Page 969
Image 969

Chapter 39 Configuring IPv6 Unicast Routing

Configuring IPv6

Beginning in privileged EXEC mode, follow these steps to configure an IPv6 static route:

 

Command

Purpose

Step 1

configure terminal

Enter global configuration mode.

Step 2

 

 

ipv6 route ipv6-prefix/prefix length

Configure a static IPv6 route.

 

{ipv6-address interface-id [ipv6-address]}

ipv6-prefix—The IPv6 network that is the destination of the

 

[administrative distance]

 

static route. It can also be a hostname when static host routes are

 

 

 

 

configured.

 

 

/prefix length—The length of the IPv6 prefix. A decimal value

 

 

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 the decimal value.

 

 

ipv6-address—The IPv6 address of the next hop that can be used

 

 

to reach the specified network. The IPv6 address of the next hop

 

 

need not be directly connected; recursion is done to find the

 

 

IPv6 address of the directly connected next hop. The address

 

 

must be in the form documented in RFC 2373, specified in

 

 

hexadecimal using 16-bit values between colons.

 

 

interface-id—Specify direct static routes from point-to-point

 

 

and broadcast interfaces. With point-to-point interfaces, there is

 

 

no need to specify the IPv6 address of the next hop. With

 

 

broadcast interfaces, you should always specify the IPv6

 

 

address of the next hop, or ensure that the specified prefix is

 

 

assigned to the link, specifying a link-local address as the next

 

 

hop. You can optionally specify the IPv6 address of the next hop

 

 

to which packets are sent.

 

 

Note You must specify an interface-idwhen using a link-local

 

 

address as the next hop (the link-local next hop must also be

 

 

an adjacent router).

administrative distance—(Optional) An administrative distance. The range is 1 to 254; the default value is 1, which gives static routes precedence over any other type of route except connected routes. To configure a floating static route, use an administrative distance greater than that of the dynamic routing protocol.

Step 3 end

Return to privileged EXEC mode.

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

OL-9775-02

 

 

39-17

 

 

 

 

 

Page 969
Image 969
Cisco Systems 3750E Ipv6 route ipv6-prefix/prefix length, Ipv6-address interface-id ipv6-address, Administrative distance