Book Title

IP Routing Configuration Guide, juniorg8.com IOS XE Bengaluru 17.4.x (Catalyst 9300 Switches)

Chapter Title

Configuring IPv6 Uniactors Routing


Print
*

Indevelopment About Configuring IPv6 Uniactors RoutingUnderstanding IPv6How to Configure IPv6 Uniactors RoutingConfiguration Examples for IPv6 Uniactors Routing Close
Configuring IPv6 Uniactors Routing

Indevelopment About Configuring IPv6 Uniactors Routing

This chapter describes just how to connumber IPv6 uniactors routing on the switch.

Note To use all IPv6 attributes in this chapter, the switch or energetic switch should be running the Netjob-related Advantage license. Switches running the Network-related Essentials license support IPv6 static routing and also RIP for IPv6. Switches running the Netjob-related Advantage license support OSPF, EIGRP and BGP for IPv6.

Understanding IPv6

IPv4 customers deserve to relocate to IPv6 and also receive services such as end-to-finish protection, top quality of organization (QoS), and worldwide distinctive addresses. The IPv6 resolve room reduces the require for exclusive addresses and Network-related Address Translation (NAT) handling by border routers at netoccupational edges.

For indevelopment around just how juniorg8.com Solution implements IPv6, go to:

http://www.juniorg8.com/en/US/products/ps6553/products_ios_technology_house.html

For indevelopment around IPv6 and also other features in this chapter

See the juniorg8.com IOS IPv6 Configuration Library.

Use the Search area on juniorg8.com to situate the juniorg8.com IOS software program documentation. For example, if you want information about static routes, you can enter Implementing Static Routes for IPv6 in the search area to learn around static paths.

Static Routes for IPv6

Static paths are manually configured and specify an explicit path in between two netfunctioning gadgets. Static routes are advantageous for smaller sized netfunctions via only one path to an exterior network-related or to administer protection for specific types of web traffic in a bigger network-related.

Configuring Static Routing for IPv6 (CLI)

For configuring static courses for IPv6, see the Configuring Static Routing for IPv6 area.

For even more indevelopment about static routes, view the “Implementing Static Routes for IPv6” chapter in the juniorg8.com IOS IPv6 Configuration Library on juniorg8.com.

Path MTU Discoincredibly for IPv6 Unicast

The switch supports declaring the system maximum transmission unit (MTU) to IPv6 nodes and also path MTU exploration. Path MTU exploration enables a host to dynamically discover and also adjust to distinctions in the MTU dimension of eincredibly connect alengthy a given information course. In IPv6, if a link alengthy the route is not large enough to accommoday the packet size, the source of the packet handles the fragmentation.

ICMPv6

The Net Control Blog post Protocol (ICMP) in IPv6 generates error messperiods, such as ICMP location unreachable messages, to report errors in the time of processing and also various other diagnostic functions. In IPv6, ICMP packets are also offered in the neighbor discovery protocol and course MTU discovery.

Neighbor Discoexceptionally

The switch supports NDP for IPv6, a protocol running on top of ICMPv6, and static neighbor entries for IPv6 stations that perform not assistance NDP. The IPv6 neighbor exploration procedure offers ICMP messeras and also solicited-node multicast addresses to recognize the link-layer attend to of a neighbor on the very same netjob-related (neighborhood link), to verify the reachcapacity of the neighbor, and to save track of bordering routers.

The switch supports ICMPv6 redirect for routes via mask lengths much less than 64 bits. ICMP restraight is not sustained for organize paths or for summarized courses with mask lengths greater than 64 bits.

Neighbor exploration throttling ensures that the switch CPU is not unnecessarily burdened while it is in the process of obtaining the following hop forwarding information to course an IPv6 packet. The switch drops any kind of additional IPv6 packets whose following hop is the same neighbor that the switch is actively trying to deal with. This drop avoids further load on the CPU.

IPv6 Router Advertisement Options for DNS Configuration

Most of the internet services are determined by a Domain Name Server (DNS) name. IPv6 Router Advertisement (RA) offers the following 2 alternatives to allow IPv6 hosts to perdevelop automatic DNS configuration:

Recursive DNS Server (RDNSS)

DNS Search List (DNSSL)

RDNSS consists of the resolve of recursive DNS servers that assist in DNS name resolution in IPv6 hosts. DNS Search List is a list of DNS sufsolve doprimary names used by IPv6 hosts when they percreate DNS query searches.

For even more indevelopment on RA options for DNS configuration, refer IETF RFC 6106.

You are watching: Match the ipv6 address with the ipv6 address type

For configuring DNSSL, see the Configuring DNS Search List Using IPv6 Router Advertisement Options section of the IP Addressing Services Configuration Guide.

Default Rexternal Preference

The switch supports IPv6 default rexternal choice (DRP), an extension in rexternal advertisement messeras. DRP improves the ability of a organize to select an proper rexternal, especially when the organize is multihomed and the routers are on different links. The switch does not support the Route Indevelopment Option in RFC 4191.

An IPv6 organize maintains a default rexternal list from which it selects a router for web traffic to offattach destinations. The schosen router for a destination is then cached in the destination cache. NDP for IPv6 mentions that routers that are reachable or more than likely reachable are desired over routers whose reachcapacity is unwell-known or suspect. For reachable or probably reachable routers, NDP have the right to either select the same rexternal every time or cycle with the rexternal list. By utilizing DRP, you deserve to connumber an IPv6 organize to prefer one rexternal over an additional, provided both are reachable or most likely reachable.

For configuring DRP for IPv6, check out the Configuring Default Rexternal Preference section.

For more information around DRP for IPv6, see the juniorg8.com IOS IPv6 Configuration Library on juniorg8.com.

Policy-Based Routing for IPv6

Policy-based routing (PBR) gives you a flexible suggests of routing packets by allowing you to configure a characterized plan for website traffic flows, which lessens reliance on routes obtained from routing protocols. Thus, PBR gives you more control over routing by extfinishing and complementing the existing mechanisms gave by routing protocols. PBR permits you to collection the IPv6 precedence. For an easy plan, you deserve to usage any type of one of these tasks; for a facility plan, you have the right to use all of them. It likewise allows you to specify a course for specific web traffic, such as priority web traffic over a high-price attach.

PBR for IPv6 might be applied to both forwarded and originated IPv6 packets. For forwarded packets, PBR for IPv6 will be imposed as an IPv6 input interface function, sustained in the following forwarding paths:

Process

juniorg8.com Express Forwarding (formerly well-known as CEF)

Distributed juniorg8.com Express Forwarding

Policies can be based upon the IPv6 address, port numbers, protocols, or packet size.

PBR permits you to perform the complying with tasks:

Classify website traffic based upon extfinished access list criteria. Access lists, then, create the match criteria.

Set IPv6 precedence bits, giving the netjob-related the ability to allow differentiated classes of business.

Route packets to particular traffic-engineered paths; you could need to course them to allow a certain top quality of service (QoS) via the network.

PBR allows you to classify and note packets at the edge of the network-related. PBR marks a packet by setting precedence worth. The precedence worth can be used directly by devices in the network core to use the proper QoS to a packet, which keeps packet classification at your network-related edge.

For enabling PBR for IPv6, see the Enabling Local PBR for IPv6 area.

For allowing IPv6 PBR for an interconfront, view the Enabling IPv6 PBR on an Interface area.

Unsustained IPv6 Uniactors Routing Features

The switch does not support these IPv6 features:

IPv6 packets destined to site-neighborhood addresses

Tunneling protocols, such as IPv4-to-IPv6 or IPv6-to-IPv4

The switch as a tunnel endpoint sustaining IPv4-to-IPv6 or IPv6-to-IPv4 tunneling protocols

IPv6 Web Cache Communication Protocol (WCCP)

IPv6 Feature Limitations

Because IPv6 is implemented in switch hardware, some constraints take place due to the IPv6 compressed addresses in the hardware memory. These hardware limitations cause some loss of usability and limits some attributes.

These are feature restrictions.

The switch cannot forward SNAP-encapsulated IPv6 packets in hardware. They are forwarded in software application.

The switch cannot apply QoS classification on source-routed IPv6 packets in hardware.

IPv6 and also Switch Stacks

The switch supports IPv6 forwarding throughout the stack and IPv6 host usability on the active switch. The active switch runs the IPv6 unicast routing protocols and also computes the routing tables. They get the tables and produce hardware IPv6 routes for forwarding. The energetic switch additionally runs all IPv6 applications.

If a brand-new switch becomes the active switch, it recomputes the IPv6 routing tables and also distributes them to the member switches. While the brand-new energetic switch is being elected and is reestablishing, the switch stack does not forward IPv6 packets. The stack MAC attend to alters, which additionally changes the IPv6 resolve. When you specify the stack IPv6 resolve with a prolonged distinct identifier (EUI) by making use of the ipv6 attend to ipv6-prefix/presettle size eui-64 interface configuration command, the address is based on the interconfront MAC deal with. See the Configuring IPv6 Addressing and Enabling IPv6 Routing section.

If you connumber the persistent MAC resolve feature on the stack and also the active switch alters, the stack MAC resolve does not adjust for around 4 minutes.

These are the attributes of IPv6 energetic switch and members:

Active switch:

runs IPv6 routing protocols

generates routing tables

distributes routing tables to member switches that usage dispersed juniorg8.com Expush Forwarding for IPv6

runs IPv6 hold use and also IPv6 applications

Member switch:

receives juniorg8.com Expush Forwarding for IPv6 routing tables from the energetic switch

programs the courses into hardware

Note

IPv6 packets are routed in hardware across the stack if the packet does not have actually exceptions (IPv6 Options) and the switches in the stack have not run out of hardware sources.

flushes the juniorg8.com Expush Forwarding for IPv6 tables on energetic switch re-election

Default IPv6 Configuration

Table 1. Default IPv6 Configuration

Feature

Default Setting

SDM layout

Default is breakthrough template

IPv6 routing

Disabled around the world and on all interfaces

juniorg8.com Express Forwarding for IPv6 or distributed juniorg8.com Express Forwarding for IPv6

Disabled (IPv4 juniorg8.com Expush Forwarding and also distributed juniorg8.com Expush Forwarding are permitted by default)

Note

When IPv6 routing is permitted, juniorg8.com Expush Forwarding for IPv6 and distributed juniorg8.com Expush Forwarding for IPv6 are automatically permitted.

IPv6 addresses

None configured

How to Configure IPv6 Unicast Routing

The adhering to sections shows the various configuration alternatives obtainable for IPv6 Unicast Routing

Configuring IPv6 Addressing and Enabling IPv6 Routing

This area defines exactly how to assign IPv6 addresses to individual Layer 3 interencounters and also to worldwide forward IPv6 web traffic on the switch.

Before configuring IPv6 on the switch, consider these guidelines:

In the ipv6 deal with interconfront configuration command, you should enter the ipv6-deal with and also ipv6-predeal with variables through the attend to mentioned in hexadecimal using 16-bit worths in between colons. The prefix-length variable (preyielded by a slash ) is a decimal value that shows how many kind of of the high-order contiguous bits of the resolve consist of the presolve (the network-related portion of the address).

To forward IPv6 website traffic on an interchallenge, you need to connumber an international IPv6 resolve on that interchallenge. Configuring an IPv6 address on an interchallenge immediately configures a link-neighborhood attend to and activates IPv6 for the interface. The configured interface automatically joins these required multicast teams for that link:

solicited-node multicast team FF02:0:0:0:0:1:ff00::/104 for each unicast deal with assigned to the interface (this deal with is offered in the neighbor discovery procedure.)

all-nodes link-regional multicast team FF02::1

all-routers link-neighborhood multicast team FF02::2

To rerelocate an IPv6 resolve from an interchallenge, use the no ipv6 address ipv6-prefix/prefix size eui-64 or no ipv6 resolve ipv6-address link-local interchallenge configuration command also. To rerelocate all manually configured IPv6 addresses from an interchallenge, use the no ipv6 resolve interconfront configuration command without disagreements. To disable IPv6 handling on an interface that has actually not been explicitly configured with an IPv6 address, use the no ipv6 permit interchallenge configuration command. To globally disable IPv6 routing, use the no ipv6 unicast-routing global configuration command also.

For more information around configuring IPv6 routing, view the “Implementing Addressing and also Basic Connectivity for IPv6” chapter in the juniorg8.com IOS IPv6 Configuration Library on juniorg8.com.

To asauthorize an IPv6 attend to to a Layer 3 interface and permit IPv6 routing, percreate this procedure:

Procedure Command also or Action Purpose
Step1

allow

Example:

> enable

Enables privileged EXEC mode.

Get in your password if motivated.

Step2

configure terminal

Example:

# configure terminal

Enters global configuration mode.

Step3

sdm prefer accessibility

Example:

(config)# sdm choose access

Sets the switch to the accessibility theme.

Step4

end

Example:

(config)# end

Retransforms to privileged EXEC mode.

Step5

refill

Example:

# reload

Relots the operating system.

Step6

configure terminal

Example:

# configure terminal

Enters international configuration mode after the switch relots.

Step7

interface interface-id

Example:

(config)# interconfront gigabitethernet 1/0/1

Enters interconfront configuration mode, and also mentions the Layer 3 interchallenge to configure. The interconfront can be a physical interconfront, a switch online interchallenge (SVI), or a Layer 3 EtherChannel.

Step8

no switchport

Example:

(config-if)# no switchport

Removes the interconfront from Layer 2 configuration mode (if it is a physical interface).

Step9

Use one of the following:

ipv6 address ipv6-prefix/predeal with size eui-64 ipv6 attend to ipv6-address/preresolve length ipv6 deal with ipv6-deal with link-local ipv6 permit ipv6 attend to WORD ipv6 address autoconfig ipv6 attend to dhcp Example:

(config-if)# ipv6 resolve 2001:0DB8:c18:1::/64 eui 64 (config-if)# ipv6 deal with 2001:0DB8:c18:1::/64 (config-if)# ipv6 resolve 2001:0DB8:c18:1:: link-local (config-if)# ipv6 enable

Specifies a global IPv6 resolve via an extensive unique identifier (EUI) in the low-order 64 bits of the IPv6 resolve. Specify just the network-related prefix; the last 64 bits are immediately computed from the switch MAC resolve. This enables IPv6 handling on the interface.

Manually connumbers an IPv6 attend to on the interface.

Specifies a link-local address on the interconfront to be supplied rather of the link-regional resolve that is automatically configured as soon as IPv6 is permitted on the interchallenge. This command allows IPv6 processing on the interface.

Automatically connumbers an IPv6 link-neighborhood address on the interchallenge, and also enables the interface for IPv6 processing. The link-local address can only be provided to communicate via nodes on the exact same link.

Step10

departure

Example:

(config-if)# exit

Retransforms to international configuration mode.

Step11

ip routing

Example:

(config)# ip routing

Enables IP routing on the switch.

Step12

ipv6 unicast-routing

Example:

(config)# ipv6 unicast-routing

Enables forwarding of IPv6 unicast information packets.

Step13

finish

Example:

(config)# end

Returns to privileged EXEC mode.

Step14

show ipv6 interchallenge interface-id

Example:

# display ipv6 interchallenge gigabitethernet 1/0/1

Verifies your entries.

Step15

copy running-config startup-config

Example:

# copy running-config startup-config

(Optional) Saves your entries in the configuration file.

Configuring IPv4 and IPv6 Protocol Stacks

Beginning in privileged EXEC mode, follow these steps to connumber a Layer 3 interchallenge to assistance both IPv4 and also IPv6 and to enable IPv6 routing.

Note To disable IPv6 processing on an interchallenge that has not been configured with an IPv6 address, usage the no ipv6 permit command also in interconfront configuration mode.
Procedure Command also or Action Purpose
Step1

allow

Example:

Device> enable

Enables privileged EXEC mode.

Get in your password if motivated.

Step2

configure terminal

Example:

Device# configure terminal

Enters worldwide configuration mode.

Step3

ip routing

Example:

Device(config)# ip routing

Enables routing on the switch.

Step4

ipv6 unicast-routing

Example:

Device(config)# ipv6 unicast-routing

Enables forwarding of IPv6 data packets on the switch.

Step5

interconfront interface-id

Example:

Device(config)# interface gigabitethernet 1/0/1

Enters interconfront configuration mode, and also specifies the Layer 3 interconfront to configure.

Step6

no switchport

Example:

Device(config-if)# no switchport

Removes the interface from Layer 2 configuration mode (if it is a physical interface).

Step7

ip resolve ip-attend to mask

Example:

Device(config-if)# ip address 10.1.2.3 255.255.255

Specifies a primary or secondary IPv4 resolve for the interchallenge.

Step8

Use one of the following:

ipv6 deal with ipv6-prefix/predeal with size eui-64 ipv6 resolve ipv6-address/prefix length ipv6 deal with ipv6-resolve link-regional ipv6 enable ipv6 addressWORD ipv6 addressautoconfig ipv6 addressdhcp

Specifies an international IPv6 resolve. Specify only the netoccupational prefix; the last 64 bits are immediately computed from the switch MAC deal with.

Specifies a link-local address on the interconfront to be supplied instead of the immediately configured link-local address as soon as IPv6 is enabled on the interconfront.

Automatically configures an IPv6 link-regional attend to on the interconfront, and enables the interconfront for IPv6 handling. The link-local attend to deserve to only be supplied to interact with nodes on the exact same attach.

Note

To rerelocate all manually configured IPv6 addresses from an interconfront, usage the no ipv6 deal with interchallenge configuration command also without debates.

Step9

finish

Example:

Device(config)# end Retransforms to privileged EXEC mode.

Step10

Use among the following:

show interconfront interface-id show ip interchallenge interface-id present ipv6 interface interface-id

Verifies your entries.

Step11

copy running-config startup-config

Example:

Device# copy running-config startup-config (Optional) Saves your entries in the configuration file.

Configuring Recursive DNS Server (RDNSS)

You deserve to configure approximately eight DNS servers to advertise with Rexternal Advertisement. You deserve to additionally remove one or more DNS servers from the heralding list by making use of the no form of the command also.

Before you begin

Encertain that you are in the correct VDC (or use the switchto vdc command).

Procedure Command also or Action Purpose
Step1

enable

Example:

Device> enable

Enables privileged EXEC mode. Enter the password if triggered.

Step2

configure terminal

Example:

Device# configure terminal

Enters global configuration mode.

Step3

interchallenge ethernet number

Example:

Device(config)# interconfront ethernet 3/3

Enters interchallenge configuration mode.

Step4

ipv6 nd ra dns server ipv6-addr sequence sequence-num

Example:

Device(config-if)# ipv6 nd ra dns server 1::1 1000 sequence 0

Configures the recursive DNS server. You can specify the life time and also the sequence of the server.

Step5

display ipv6 nd ra dns server

Example:

Device(config-if)# present ipv6 nd ra dns server

(Optional) Displays the configured RDNSS list.

Step6

ipv6 nd ra dns server suppress

Example:

Device(config-if)# ipv6 nd ra dns server suppress

(Optional) Disables the configured server list.

Configuring Default Rexternal Preference

Rexternal advertisement messeras are sent out via the default router preference (DRP) configured by the ipv6nd router-choice interconfront configuration command. If no DRP is configured, RAs are sent through a tool preference.

A DRP is beneficial as soon as two routers on a attach might carry out identical, however not equal-price routing, and also policy can dictate that hosts have to favor one of the routers.

For even more indevelopment around configuring DRP for IPv6, see the “Implementing IPv6 Addresses and also Basic Connectivity” chapter in the juniorg8.com IOS IPv6 Configuration Library on juniorg8.com.

Beginning in privileged EXEC mode, follow these actions to configure a DRP for a rexternal on an interchallenge.

Procedure Command or Action Purpose
Step1

enable

Example:

Device> enable

Enables privileged EXEC mode.

Go into your password if motivated.

Step2

configure terminal

Example:

Device# configure terminal

Enters global configuration mode.

Step3

interface interface-id

Example:

Device(config)# interface gigabitethernet 1/0/1

Enters interconfront configuration mode and also identifies the Layer3 interconfront on which you want to specify the DRP.

Step4

ipv6 nd router-preference high

Example:

Device(config-if)# ipv6 nd router-preference medium

Specifies a DRP for the rexternal on the switch interchallenge.

Step5

end

Example:

Device(config)# end

Retransforms to privileged EXEC mode.

Step6

present ipv6 interchallenge

Example:

Device# show ipv6 interface

Verifies the configuration.

Step7

copy running-config startup-config

Example:

Device# copy running-config startup-config

(Optional) Saves your entries in the configuration file.

Configuring IPv6 ICMP Rate Limiting

ICMP price limiting is enabled by default with a default interval between error messages of 100 millisecs and also a bucket dimension (maximum variety of tokens to be stored in a bucket) of 10.

To adjust the ICMP rate-limiting parameters, percreate this procedure:

Procedure Command or Action Purpose
Step1

allow

Example:

Device> enable

Enables privileged EXEC mode.

Enter your password if triggered.

Step2

connumber terminal

Example:

Device# configure terminal

Enters international configuration mode.

Step3

ipv6 icmp error-interval interval

Example:

Device(config)# ipv6 icmp error-interval 50 20

Connumbers the interval and also bucket size for IPv6 ICMP error messages:

interval —The interval (in milliseconds) between tokens being added to the bucket. The selection is from 0 to 2147483647 millisecs.

bucketsize —(Optional) The maximum variety of tokens stored in the bucket. The range is from 1 to 200.

Step4

finish

Example:

Device(config)# end

Returns to privileged EXEC mode.

Step5

show ipv6 interconfront

Example:

Device# display ipv6 interchallenge gigabitethernet0/1

Verifies your entries.

Step6

copy running-config startup-config

Example:

Device# copy running-config startup-config

(Optional) Saves your entries in the configuration file.

Configuring juniorg8.com Expush Forwarding and spread juniorg8.com Expush Forwarding for IPv6

juniorg8.com Express Forwarding is a Layer 3 IP switching technology to improve netjob-related performance. juniorg8.com Express Forwarding implements an advanced IP look-up and forwarding algorithm to supply maximum Layer 3 switching performance. It is less CPU-intensive than fast-switching route-caching, permitting even more CPU processing power to be dedicated to packet forwarding. In a switch stack, the hardware uses spread juniorg8.com Expush Forwarding in the stack. IPv4 juniorg8.com Expush Forwarding and distributed juniorg8.com Express Forwarding are allowed by default. IPv6 juniorg8.com Expush Forwarding and also distributed juniorg8.com Express Forwarding are disabled by default, yet immediately permitted when you connumber IPv6 routing.

IPv6 juniorg8.com Express Forwarding and distributed juniorg8.com Express Forwarding are automatically disabled as soon as IPv6 routing is unconfigured. IPv6 juniorg8.com Express Forwarding and spread juniorg8.com Expush Forwarding cannot disabled with configuration. You have the right to verify the IPv6 state by entering the show ipv6 cef command in privileged EXEC mode.

To route IPv6 unicast packets, you must first internationally configure forwarding of IPv6 unicast packets by using the ipv6 unicast-routing global configuration command, and also you have to configure an IPv6 resolve and IPv6 processing on an interface by using the ipv6 attend to command in interface configuration mode.

For even more indevelopment about configuring juniorg8.com Express Forwarding and spread juniorg8.com Expush Forwarding, see juniorg8.com IOS IPv6 Configuration Library on juniorg8.com.

Configuring Static Routing for IPv6

For even more indevelopment around configuring static IPv6 routing, check out the “Implementing Static Routes for IPv6” chapter in the juniorg8.com IOS IPv6 Configuration Library on juniorg8.com.

To configure static IPv6 routing, percreate this procedure:

Before you begin

You must permit routing by making use of the ip routing international configuration command, allow the forwarding of IPv6 packets by using the ipv6 unicast-routing command also in worldwide configuration mode, and allow IPv6 on at least one Layer 3 interchallenge by configuring an IPv6 deal with on the interchallenge.

Procedure Command or Action Purpose
Step1

enable

Example:

Device> enable

Enables privileged EXEC mode.

Get in your password if prompted.

Step2

connumber terminal

Example:

Device# configure terminal

Enters worldwide configuration mode.

Step3

ipv6 route ipv6-prefix/preresolve length ipv6-attend to

Example:

Device(config)# ipv6 course 2001:0DB8::/32 gigabitethernet2/0/1 130

Configures a static IPv6 route.

ipv6-preresolve —The IPv6 network-related that is the destination of the static route. It deserve to likewise be a hostname as soon as static host courses are configured.

/presettle length— The length of the IPv6 preresolve. A decimal value that mirrors how many of the high-order contiguous bits of the attend to make up the presettle (the netoccupational percentage of the address). A slash mark must precede the decimal worth.

ipv6-attend to —The IPv6 resolve of the next hop that can be used to reach the mentioned netjob-related. The IPv6 attend to of the next hop need not be straight connected; recursion is done to uncover the IPv6 deal with of the directly linked next hop. The address need to be in the develop recorded in RFC 2373, stated in hexadecimal using 16-little worths in between colons.

interface-id —Specifies direct static courses from point-to-allude and also broadcast interencounters. With point-to-suggest interdeals with, there is no must specify the IPv6 resolve of the next hop. With broadcast interencounters, you have to constantly specify the IPv6 deal with of the following hop, or ensure that the mentioned prefix is assigned to the link, specifying a link-regional resolve as the next hop. You have the right to optionally specify the IPv6 deal with of the next hop to which packets are sent out.

Note

You must specify an interface-id as soon as making use of a link-local deal with as the following hop (the link-neighborhood following hop have to additionally be an adjacent router).

governmental distance —(Optional) An governmental distance. The range is 1 to 254; the default worth is 1, which provides static paths precedence over any various other form of route except associated routes. To connumber a floating static route, use an administrative distance better than that of the dynamic routing protocol.

Step4

end

Example:

Device(config)# end Retransforms to privileged EXEC mode.

Step5

Use among the following:

display ipv6 static < ipv6-deal with | ipv6-prefix/presolve length > > present ipv6 course static Example:

Device# display ipv6 static 2001:0DB8::/32 interconfront gigabitethernet2/0/1 or

Device# present ipv6 course static Verifies your entries by displaying the contents of the IPv6 routing table.

interface interface-id —(Optional) Displays only those static paths with the specified interconfront as an egress interface.

recursive —(Optional) Displays just recursive static routes. The recursive keyword is mutually exclusive through the interchallenge keyword, however it deserve to be used via or without the IPv6 presolve had in the command syntax.

information —(Optional) Displays this additional information:

For valid recursive routes, the output course set, and also maximum resolution depth.

For invalid routes, the factor why the course is not valid.

Step6

copy running-config startup-config

Example:

Device# copy running-config startup-config (Optional) Saves your entries in the configuration file.

Enabling IPv6 PBR on an Interface

To permit Policy-Based Routing (PBR) for IPv6, you should develop a route map that mentions the packet enhance criteria and also preferred policy-path activity. Then you associate the path map on the compelled interchallenge. All packets getting here on the specified interchallenge that enhance the enhance claoffers will certainly be subject to PBR.

In PBR, the set vrf command also decouples the digital routing and also forwarding (VRF) circumstances and also interchallenge association and also permits the selection of a VRF based on access control list (ACL)-based classification using existing PBR or route-map configurations. It gives a single rexternal through multiple routing tables and also the ability to select courses based on ACL classification. The rexternal classifies packets based upon ACL, selects a routing table, looks up the destination deal with, and then routes the packet.

To enable PBR for IPv6, percreate this procedure:

Procedure Command also or Action Purpose
Step1

enable

Example:

Device> enable

Enables privileged EXEC mode.

Enter your password if motivated.

Step2

configure terminal

Example:

Device# connumber terminal

Enters worldwide configuration mode.

Step3

route-map map-tag

Example:

Device(config)# route-map rip-to-ospf permit

Defines the problems for redistributing courses from one routing protocol right into one more, or allows policy routing, and also enters route-map configuration mode.

Step4

Do one of the following:

enhance length minimum-size maximum-length match ipv6 resolve access-list-name Example:

Device(config-route-map)# complement length 3 200 Example: Device(config-route-map)# enhance ipv6 attend to marketing

Specifies the complement criteria.

You have the right to specify any or all of the following: Matches the Level 3 length of the packet. Matches a mentioned IPv6 access list. If you execute not specify a enhance command, the path map applies to all packets.
Step5

Do one of the following:

set ipv6 next-hop global-ipv6-attend to set interface kind number <...kind number> set ipv6 default next-hop global-ipv6-resolve set vrf vrf-name Example:

Device(config-route-map)# collection ipv6 next-hop 2001:DB8:2003:1::95 Example: Device(config-route-map)# collection ipv6 default next-hop 2001:DB8:2003:1::95 Example: Device(config-route-map)# collection vrf vrfname

Specifies the activity or actions to take on the packets that complement the criteria.

You have the right to specify any type of or all of the following: Sets following hop to which to route the packet (the next hop have to be adjacent). Sets following hop to which to path the packet, if tright here is no explicit route for this location.
Step6

departure

Example:

Device(config-route-map)# exit

Exits route-map configuration mode and returns to worldwide configuration mode.

Step7

interconfront kind number

Example:

Device(config)# interconfront FastEthernet 1/0

Specifies an interchallenge kind and number, and also places the router in interconfront configuration mode.

Step8

ipv6 plan route-map route-map-name

Example:

Device(config-if)# ipv6 policy-route-map interactive

Identifies a route map to usage for IPv6 PBR on an interchallenge.

Step9

end

Example:

Device(config-if)# end

Exits interconfront configuration mode and also returns to privileged EXEC mode.

Enabling Local PBR for IPv6

Packets that are produced by the tool are not typically plan routed. Percreate this task to allow regional IPv6 policy-based routing (PBR) for such packets, indicating which path map the tool have to usage.

To enable Local PBR for IPv6, perdevelop this procedure:

Procedure Command also or Action Purpose
Step1

permit

Example:

Device> enable

Enables privileged EXEC mode.

Get in your password if triggered.

Step2

connumber terminal

Example:

Device# configure terminal

Enters international configuration mode.

Step3

ipv6 local policy route-map route-map-name

Example:

Device(config)# ipv6 local plan route-map pbr-src-90

Configures IPv6 PBR for packets produced by the device.

Step4

end

Example:

Device(config)# end

Returns to privileged EXEC mode.

Displaying IPv6

For complete syntaxation and also consumption indevelopment on these regulates, check out the juniorg8.com IOS command referral publications.

Table 2. Command also for Monitoring IPv6

Command also

Purpose

display ipv6 access-list

Displays an introduction of accessibility lists.

show ipv6 cef

Displays juniorg8.com Expush Forwarding for IPv6.

show ipv6 interface interface-id

Displays IPv6 interface standing and also configuration.

show ipv6 mtu

Displays IPv6 MTU per location cache.

present ipv6 neighbors

Displays IPv6 neighbor cache entries.

display ipv6 prefix-list

Displays a list of IPv6 presolve lists.

display ipv6 protocols

Displays a list of IPv6 routing protocols on the switch.

display ipv6 rip

Displays IPv6 RIP routing protocol condition.

present ipv6 course

Displays IPv6 path table entries.

show ipv6 static

Displays IPv6 static paths.

show ipv6 traffic

Displays IPv6 website traffic statistics.

Configuration Examples for IPv6 Unicast Routing

The adhering to sections reflects the assorted configuration examples accessible for IPv6 Uniactors Routing

Example: Configuring IPv4 and also IPv6 Protocol Stacks

This example mirrors how to allow IPv4 and IPv6 routing on an interchallenge.

Device> enableDevice# configure terminalDevice(config)# interconfront ethernet 3/3Device(config-if)# ipv6 nd ra dns server 1::1 1000 sequence 0Device(config-if)# ipv6 nd ra dns server 2::1 boundless sequence 1Device(config-if)# exitDevice(config)# present ipv6 nd ra dns serverRecursive DNS Server List on: mgmt0Suppush DNS Server List: NoRecursive DNS Server List on: Ethernet3/3 Suppush DNS Server List: No DNS Server 1: 1::1 Lifetime:1000 secs Sequence:0 DNS Server 2: 2::1 Infinite Sequence:1

Example: Configuring DNSSL

The adhering to example shows just how to connumber DNS Search list on Ethernet 3/3 and verify the same.

See more: What Is The Electric Potential Of The Proton At The Position Of The Electron? ?

Device> enableDevice# connumber terminalDevice(config)# interchallenge ethernet 3/3Device(config-if)# ipv6 nd ra dns search-list juniorg8.com 100 sequence 1Device(config-if)# ipv6 nd ra dns search-list ind.juniorg8.com 100 sequence 2Device(config-if)# exitDevice(config)# present ipv6 nd ra dns search-list DNS Search List on: mgmt0Suppress DNS Search List: No DNS Search List on: Ethernet3/3 Suppress DNS Search List: No DNS Server 1:juniorg8.com 100 Sequence:1 DNS Server 2:ind.juniorg8.com 100 Sequence:2

Example: Configuring Default Router Preference

This example shows how to connumber a DRP of high for the rexternal on an interconfront.

Device> enableDevice# configure terminalDevice(config)# interconfront gigabitethernet1/0/1Device(config-if)# ipv6 nd router-choice highDevice(config-if)# end

Example: Configuring IPv6 ICMP Rate Limiting

This example shows exactly how to configure an IPv6 ICMP error message interval of 50 milliseconds and also a bucket size of 20 tokens.

Device> enableDevice# configure terminalDevice(config)#ipv6 icmp error-interval 50 20

Example: Configuring Static Routing for IPv6

This example reflects just how to configure a floating static course to an interconfront through an bureaucratic distance of 130:

Device> enableDevice# configure terminalDevice(config)# ipv6 path 2001:0DB8::/32 gigabitethernet 0/1 130

Example: Enabling PBR on an Interface

In the complying with example, a course map called pbr-dest-1 is produced and also configured, specifying packet enhance criteria and also preferred policy-path action. PBR is then allowed on GigabitEthernet interchallenge 0/0/1.

Device> enableDevice# connumber terminalDevice(config)# ipv6 access-list match-dest-1Device(config)# permit ipv6 any type of 2001:DB8:2001:1760::/32Device(config)# route-map pbr-dest-1 permit 10Device(config)# enhance ipv6 resolve match-dest-1Device(config)# collection interface GigabitEthernet 0/0/0Device(config)# interchallenge GigabitEthernet0/0/1Device(config-if)# ipv6 policy-route-map interactive

Example: Enabling Local PBR for IPv6

In the adhering to example, packets with a location IPv6 resolve that enhance the IPv6 deal with variety permitted by accessibility list pbr-src-90 are sent to the gadget at IPv6 address 2001:DB8:2003:1::95:

Device> enableDevice# connumber terminalDevice(config)# ipv6 access-list src-90Device(config)# permit ipv6 host 2001:DB8:2003::90 2001:DB8:2001:1000::/64Device(config)# route-map pbr-src-90 permit 10Device(config)# match ipv6 resolve src-90Device(config)# set ipv6 next-hop 2001:DB8:2003:1::95Device(config)# ipv6 local policy route-map pbr-src-90

Example: Displaying IPv6

This is an example of the output from the show ipv6 interchallenge command:

Device> enableDevice# present ipv6 interfaceVlan1 is up, line protocol is up IPv6 is allowed, link-regional deal with is FE80::20B:46FF:FE2F:D940 Global uniactors address(es): 3FFE:C000:0:1:20B:46FF:FE2F:D940, subnet is 3FFE:C000:0:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF2F:D940 MTU is 1500 bytes ICMP error messeras restricted to one every 100 milliseconds ICMP reroutes are permitted ND DADVERTISEMENT is enabled, variety of DADVERTISEMENT attempts: 1 ND reachable time is 30000 millisecs ND advertised reachable time is 0 millisecs ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent out eexceptionally 200 seconds ND router advertisements live for 1800 seconds

Additional References

Standards and also RFCs

Standard/RFC Title
RFC 5453 Reserved IPv6 Interconfront Identifiers

Feature Information

The complying with table gives release indevelopment about the attribute or attributes explained in this module. This table lists just the software program release that presented support for a given feature in a given software program release train. Unless provided otherwise, subsequent releases of that software application release train also assistance that function.

Table 3. Feature Information for IPv6 Uniactors and Routing

Feature Name