IPv6 for Cisco IOS Software, File 2 of 3:...

58
1 IPv6 for Cisco IOS Software, File 2 of 3: Configuring This document provides configuration tasks for the Cisco implementation of IP version 6 (IPv6) in the Cisco IOS software and includes the following sections: Documentation Specifics, page 1 Enabling IPv6 Routing and Configuring IPv6 Addressing, page 2 Configuring IPv6 ICMP Rate Limiting, page 6 Configuring Static Cache Entries for IPv6 Neighbor Discovery, page 7 Configuring IPv6 Duplicate Address Detection, page 9 Configuring IPv6 Redirect Messages, page 11 Mapping Host Names to IPv6 Addresses, page 12 Configuring IPv6 ATM and Frame Relay Interfaces, page 15 Configuring IPv6 Standard Access Lists, page 21 Configuring IPv6 RIP, page 24 Configuring IPv6 IS-IS, page 28 Configuring Multiprotocol BGP Extensions for IPv6, page 39 Configuring Dual Protocol Stacks and IPv6 Overlay Tunnels, page 51 Monitoring and Maintaining IPv6, page 57 Documentation Specifics IPv6 features are supported only in the 12.0 ST and 12.2 T Cisco IOS software release trains, starting at Cisco IOS Release 12.0(21)ST and Release 12.2(2)T, respectively. Subsequent releases of the 12.0 ST and 12.2 T Cisco IOS software trains will support additional IPv6 features. This document along with the following IPv6 for Cisco IOS Software feature documentation in either the New Features in Release 12.2 T or New Features in Release 12.0 ST area of Cisco.com will be updated with information about additional IPv6 features at each subsequent release of the applicable Cisco IOS software release trains: Start Here: Cisco IOS Software Release Specifics for IPv6 Features IPv6 for Cisco IOS Software, File 1 of 3: Overview IPv6 for Cisco IOS Software, File 2 of 3: Configuring (This document) IPv6 for Cisco IOS Software, File 3 of 3: Commands

Transcript of IPv6 for Cisco IOS Software, File 2 of 3:...

  • n the

    ting at12.0 STwith

    ationrelease

    IPv6 for Cisco IOS Software,File 2 of 3: Configuring

    This document provides configuration tasks for the Cisco implementation of IP version 6 (IPv6) iCisco IOS software and includes the following sections:

    • Documentation Specifics, page 1

    • Enabling IPv6 Routing and Configuring IPv6 Addressing, page 2

    • Configuring IPv6 ICMP Rate Limiting, page 6

    • Configuring Static Cache Entries for IPv6 Neighbor Discovery, page 7

    • Configuring IPv6 Duplicate Address Detection, page 9

    • Configuring IPv6 Redirect Messages, page 11

    • Mapping Host Names to IPv6 Addresses, page 12

    • Configuring IPv6 ATM and Frame Relay Interfaces, page 15

    • Configuring IPv6 Standard Access Lists, page 21

    • Configuring IPv6 RIP, page 24

    • Configuring IPv6 IS-IS, page 28

    • Configuring Multiprotocol BGP Extensions for IPv6, page 39

    • Configuring Dual Protocol Stacks and IPv6 Overlay Tunnels, page 51

    • Monitoring and Maintaining IPv6, page 57

    Documentation SpecificsIPv6 features are supported only in the 12.0 ST and 12.2 T Cisco IOS software release trains, starCisco IOS Release 12.0(21)ST and Release 12.2(2)T, respectively. Subsequent releases of the and 12.2 T Cisco IOS software trains will support additional IPv6 features. This document along the following IPv6 for Cisco IOS Software feature documentation in either the New Features inRelease 12.2 T or New Features in Release 12.0 ST area of Cisco.com will be updated with informabout additional IPv6 features at each subsequent release of the applicable Cisco IOS software trains:

    • Start Here: Cisco IOS Software Release Specifics for IPv6 Features

    • IPv6 for Cisco IOS Software, File 1 of 3: Overview

    • IPv6 for Cisco IOS Software, File 2 of 3: Configuring(This document)

    • IPv6 for Cisco IOS Software, File 3 of 3: Commands

    1

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringEnabling IPv6 Routing and Configuring IPv6 Addressing

    ion,

    firstes to

    Each

    al

    ringnding

    ess

    Note TheStart Here: Cisco IOS Software Release Specifics for IPv6 Featuresdocument details which IPv6features are supported in each release of the 12.0 ST and 12.2 T Cisco IOS software trains.Not all IPv6features may be supported in your Cisco IOS software release.We strongly recommend that you readthe entireStart Here: Cisco IOS Software Release Specifics for IPv6 Featuresdocument before readingthe other IPv6 for Cisco IOS Software feature documentation.

    The other IPv6 for Cisco IOS Software feature documentation provides IPv6 overview, configuratand command reference information for IPv6 features in each release of the 12.0 ST and 12.2 TCisco IOS software trains.

    Enabling IPv6 Routing and Configuring IPv6 AddressingBy default, IPv6 routing is disabled in the Cisco IOS software. To enable IPv6 routing, you must enable the forwarding of IPv6 traffic globally on the router and then you must assign IPv6 addressindividual interfaces in the router.

    The tasks described in the following sections explain how to enable IPv6 routing on a Cisco router.task in the list is identified as either required or optional:

    • Enabling IPv6 Processing Globally on the Router (required)

    • Configuring IPv6 Addresses (required)

    • Verifying IPv6 Operation and Address Configuration (optional)

    See the“IPv6 Routing and IPv6 Address Configuration Example” section for a configuration example.

    Enabling IPv6 Processing Globally on the RouterTo enable the forwarding of IPv6 traffic globally on the router, use the following command in globconfiguration mode:

    Configuring IPv6 AddressesAn IPv6 address must be configured on an interface for the interface to forward IPv6 traffic. Configua site-local or global IPv6 address on an interface automatically configures a link-local address aactivates IPv6 for that interface. Additionally, the configured interface automatically joins the followrequired multicast groups for that link:

    • Solicited-node multicast group FF02:0:0:0:0:1:FF00::/104 for each unicast and anycast addrassigned to the interface

    • All-nodes multicast group FF02:0:0:0:0:0:0:1 (scope is link-local)

    • All-routers multicast group FF02:0:0:0:0:0:0:2 (scope is link-local)

    Note The solicited-node multicast address is used in the neighbor discovery process.

    Command PurposeRouter(config)# ipv6 unicast-routing Enables the forwarding of IPv6 unicast datagrams.

    2

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringEnabling IPv6 Routing and Configuring IPv6 Addressing

    v6

    f

    d

    v6

    ad

    onh

    le

    To configure an IPv6 address on an interface, use the following commands beginning in globalconfiguration mode:

    Command Purpose

    Step 1 Router(config)# interface interface-typeinterface-number

    Specifies an interface type and number, and places the router ininterface configuration mode.

    Step 2 Router(config-if)# ipv6 addressipv6-prefix / prefix-length [ eui-64 ]

    Specifies an IPv6 network assigned to the interface and enables IPprocessing on the interface.

    Specifying theipv6 addressipv6-prefix/prefix-lengthinterfaceconfiguration command without theeui-64keyword configuressite-local and global IPv6 addresses.

    Specifying theipv6 addressipv6-prefix/prefix-lengthcommandwith theeui-64keyword configures site-local and global IPv6addresses with an interface identifier (ID) in the low-order 64 bits othe IPv6 address. Only the 64-bit network prefix for the addressneeds to be specified; the last 64 bits are automatically computefrom the interface ID.

    The link-local address for an interface is automatically configuredwhen IPv6 is enabled on the interface.

    Router(config-if)# ipv6 addressipv6-address { / prefix-length |link-local }

    Specifies an IPv6 address assigned to the interface and enables IPprocessing on the interface.

    Specifying theipv6 addressipv6-address interface configurationcommand without thelink-local keyword configures site-local andglobal IPv6 addresses. (The link-local address for an interface isautomatically configured when IPv6 is enabled on that interface.)Specifying theipv6 addresscommand with thelink-local keywordconfigures a link-local address on the interface that is used insteof the link-local address that is automatically configured when IPv6is enabled on the interface.

    Router(config-if)# ipv6 unnumberedinterface-type interface- number

    Specifies an unnumbered interface and enables IPv6 processingan interface. The global IPv6 address of the interface specified witthe interface-type interface-numberargument is used as the sourceaddress in packets generated from the unnumbered interface. (Alink-local address is automatically configured on an unnumberedinterface when IPv6 is enabled on the interface.)

    Router(config-if)# ipv6 enable Automatically configures an IPv6 link-local address on the interfacewhile also enabling the interface for IPv6 processing. The link-locaaddress can be used only to communicate with nodes on the samlink.

    3

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringEnabling IPv6 Routing and Configuring IPv6 Addressing

    3

    3

    yress)

    es, the

    an

    LI)

    ces,

    Note The ipv6-addressargument in theipv6 addresscommand must be in the form documented in RFC 237where the address is specified in hexadecimal using 16-bit values between colons.

    The ipv6-prefixargument in theipv6 addresscommand must be in the form documented in RFC 237where the address is specified in hexadecimal using 16-bit values between colons.

    The /prefix-length argument in theipv6 address command is a decimal value that indicates how manof the high-order contiguous bits of the address comprise the prefix (the network portion of the addA slash mark must precede the decimal value.

    Note In Cisco IOS Release 12.2(4)T or later releases and Cisco IOS Release 12.0(21)ST or later releasipv6 address or ipv6 address eui-64 command can be used to configure multiple IPv6 global andsite-local addresses within the same prefix on an interface. Multiple IPv6 link-local addresses oninterface are not supported.

    Prior to Cisco IOS Releases 12.2(4)T and 12.0(21)ST, the Cisco IOS command-line interface (Cdisplays the following error message when multiple IPv6 addresses within the same prefix on aninterface are configured:

    Prefix already assigned to

    See the“IPv6 Routing and IPv6 Address Configuration Example”section for a configuration exampleof multiple IPv6 global and site-local addresses within the same prefix on an interface.

    Verifying IPv6 Operation and Address ConfigurationTo verify that IPv6 processing of packets is enabled globally on the router and on applicable interfaand that an IPv6 address is configured on applicable interfaces, enter theshow running-config EXECcommand:

    Router# show running-config

    Building configuration...

    Current configuration : 22324 bytes!! Last configuration change at 14:59:38 PST Tue Jan 16 2001! NVRAM config last updated at 04:25:39 PST Tue Jan 16 2001 by bird!hostname cat!ipv6 unicast-routing!interface Ethernet0 no ip route-cache no ip mroute-cache no keepalive media-type 10BaseT

    ipv6 address 3FFE:C00:0:1::/64 eui-64!

    Note Display text was omitted from the example.

    4

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringEnabling IPv6 Routing and Configuring IPv6 Addressing

    or

    lorder

    rnet

    To verify that IPv6 addresses are configured correctly, enter theshow ipv6 interfaceEXEC command.The following example shows the IPv6 addresses configured for Ethernet interface 0:

    Router# show ipv6 interface ethernet 0

    Ethernet0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::260:3EFF:FE11:6770 Global unicast address(es): 3FFE:C00:0:1:260:3EFF:FE11:6770, subnet is 3FFE:C00:0:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF11:6770 MTU is 1500 bytes ICMP error messages limited to one every 500 milliseconds ND reachable time is 30000 milliseconds ND advertised reachable time is 0 milliseconds ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds Hosts use stateless autoconfig for addresses.

    Note For a description of each output display field, refer to theshow ipv6 interfacecommand in theIPv6 forCisco IOS Software, File 3 of 3: Commandsdocument in either the New Features in Release 12.2 TNew Features in Release 12.0 ST area of Cisco.com.

    IPv6 Routing and IPv6 Address Configuration ExampleIn the following example, IPv6 is enabled on the router with both a link-local address and a globaaddress based on the IPv6 prefix 3ffe:c00:c18:1::/64. The EUI-64 interface ID is used in the low-64 bits of both addresses. Output from theshow ipv6 interface EXEC command is included to showhow the interface ID (260:3EFF:FE47:1530) is appended to the link-local prefix FE80::/64 of Etheinterface 0.

    ipv6 unicast-routing

    interface ethernet 0ipv6 address 3ffe:c00:c18:1::/64 eui-64

    Router# show ipv6 interface ethernet 0

    Ethernet0 is up, line protocol is upIPv6 is enabled, link-local address is FE80::260:3EFF:FE47:1530

    Global unicast address(es): 3FFE:C00:C18:1:260:3EFF:FE47:1530, subnet is 3FFE:C00:C18:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF47:1530 FF02::9 MTU is 1500 bytes ICMP error messages limited to one every 500 milliseconds ND reachable time is 30000 milliseconds ND advertised reachable time is 0 milliseconds ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds Hosts use stateless autoconfig for addresses.

    5

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ICMP Rate Limiting

    on

    Rateges

    s to aiblentingssage beies ofcket is

    t. Theible

    the

    nd in

    In the following example, multiple IPv6 global addresses within the prefix 3000::/64 are configuredEthernet interface 0:

    interface ethernet 0ipv6 address 3000::1/64

    ipv6 address 3000::/64 eui-64

    Note All site-local addresses must be within the same site.

    Configuring IPv6 ICMP Rate LimitingIn Cisco IOS release 12.2(8)T or later releases, IPv6 Internet Control Message Protocol (ICMP) Limiting implements a token bucket algorithm for limiting the rate at which IPv6 ICMP error messaare sent out on the network. The initial implementation of IPv6 ICMP rate limiting defined a fixedinterval between error messages, but some applications, such as traceroute, often require repliegroup of requests sent in rapid succession. The fixed interval between error messages is not flexenough to work with applications such as traceroute and can cause the application to fail. Implemea token bucket scheme allows a number of tokens—representing the ability to send one error meeach—to be stored in a virtual bucket. The maximum number of tokens allowed in the bucket canspecified, and for every error message to be sent, one token is removed from the bucket. If a sererror messages is generated, error messages can be sent until the bucket is empty. When the buempty of tokens, IPv6 ICMP error messages are not sent until a new token is placed in the bucketoken bucket algorithm does not increase the average rate limiting time interval, and it is more flexthan the fixed time interval scheme.

    The following sections explain how to configure the IPv6 ICMP Rate Limiting feature. Each task inlist is identified as either required or optional.

    • Configuring the Rate Limiting Interval and Token Bucket (optional)

    • Verifying IPv6 ICMP Rate Limiting Configuration (optional)

    See the“IPv6 ICMP Rate Limiting Configuration Example” section for a configuration example.

    Configuring the Rate Limiting Interval and Token BucketTo configure the interval and bucket size for IPv6 ICMP error messages, use the following commaglobal configuration mode:

    Command PurposeRouter(config)# ipv6 icmp error-interval milliseconds[ bucketsize ]

    Configures the interval and bucket size for IPv6ICMP error messages.

    Themilliseconds argument specifies the intervalbetween tokens being added to the bucket.

    The optionalbucketsize argument defines themaximum number of tokens stored in the bucket.

    6

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring Static Cache Entries for IPv6 Neighbor Discovery

    or

    hbor

    o IOS

    Verifying IPv6 ICMP Rate Limiting ConfigurationEnter theshow ipv6 traffic EXEC command to display ICMP rate-limited counters:

    Router# show ipv6 traffic

    ICMP statistics: Rcvd: 188 input, 0 checksum errors, 0 too short 0 unknown info type, 0 unknown error type unreach: 0 routing, 0 admin, 0 neighbor, 0 address, 0 port parameter: 0 error, 0 header, 0 option 0 hopcount expired, 0 reassembly timeout,0 too big 0 echo request, 0 echo reply 0 group query, 0 group report, 0 group reduce 1 router solicit, 175 router advert, 0 redirects 0 neighbor solicit, 12 neighbor advert Sent: 7376 output, 56 rate-limited unreach: 0 routing, 15 admin, 0 neighbor, 0 address, 0 port parameter: 0 error, 0 header, 0 option 0 hopcount expired, 0 reassembly timeout,0 too big 15 echo request, 0 echo reply 0 group query, 0 group report, 0 group reduce 0 router solicit, 7326 router advert, 0 redirects 2 neighbor solicit, 22 neighbor advert

    Note For a description of each output display field, refer to theshow ipv6 traffic command in theIPv6 forCisco IOS Software, File 3 of 3: Commandsdocument in either the New Features in Release 12.2 TNew Features in Release 12.0 ST area of Cisco.com.

    IPv6 ICMP Rate Limiting Configuration ExampleThe following example shows an interval of 50 milliseconds and a bucket size of 20 tokens beingconfigured for IPv6 ICMP error messages:

    ipv6 icmp error-interval 50 20

    Configuring Static Cache Entries for IPv6 Neighbor DiscoveryThe tasks in the following sections explain how to configure the Static Cache Entry for IPv6 NeigDiscovery feature. Each task in the list is identified as either required or optional:

    • Configuring a Static Cache Entry (required)

    • Verifying the Static Cache Entry Configuration (optional)

    See the“Static Cache Entry for IPv6 Neighbor Discovery Configuration Example” section for aconfiguration example.

    Note Refer to theStart Here: Cisco IOS Software Release Specifics for IPv6 Featuresdocument in either theNew Features in Release 12.2 T or New Features in Release 12.0 ST area of Cisco.com for Ciscsoftware release specifics for supported IPv6 features.

    7

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring Static Cache Entries for IPv6 Neighbor Discovery

    t IPv6ss8-bit

    lobal

    le

    T

    with

    .

    lp

    Configuring a Static Cache EntryThe Cisco IOS software uses static entries in the IPv6 neighbor discovery cache to translate 128-biaddresses into 48-bit hardware addresses (functionality in IPv6 that is equivalent to static AddreResolution Protocol (ARP) entries in IPv4, which are used to translate 32-bit IP addresses into 4hardware addresses).

    To configure a static entry in the IPv6 neighbor discovery cache, use the following command in gconfiguration mode:

    Verifying the Static Cache Entry ConfigurationTo display IPv6 neighbor discovery cache information, use theshow ipv6 neighborsEXEC command.A hyphen (-) in the Age field of the command output indicates a static entry. The following exampdisplays IPv6 neighbor discovery cache information for Ethernet interface 2:

    Router# show ipv6 neighbors ethernet 2

    IPv6 Address Age Link-layer Addr State Interface2000:0:0:4::2 0 0003.a0d6.141e REACH Ethernet2FE80::203:A0FF:FED6:141E 0 0003.a0d6.141e REACH Ethernet23001:1::45a - 0002.7d1a.9472 REACH Ethernet2

    Note For a description of each output display field, refer to theshow ipv6 neighborscommand in theIPv6for Cisco IOS Software, File 3 of 3: Commandsdocument in either the New Features in Release 12.2or New Features in Release 12.0 ST area of Cisco.com.

    Static Cache Entry for IPv6 Neighbor Discovery Configuration ExampleThe following example configures a static entry in the IPv6 neighbor discovery cache for a neighborthe IPv6 address 3001:001::45a and link-layer address 0002.7d1a.9472 on Ethernet interface 1:

    ipv6 neighbor 3001:001::45a ethernet1 0002.7d1a.9472

    Command PurposeRouter(config)# ipv6 neighbor ipv6-addressinterface-type interface-number hardware-address

    Configures a static entry in the IPv6 neighbor discovery cache

    The ipv6-address argument specifies the IPv6 address thatcorresponds to the local data-link address.

    The interface-typeargument specifies the interface type. Forsupported interface types, use the question mark (?) online hefunction.

    The interface-numberargument specifies the interface number.

    Thehardware-address argument specifies the local data-linkaddress (a 48-bit address).

    8

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 Duplicate Address Detection

    ssesuplicatees to

    icateeighborber of

    d on

    o IOS

    whilemand

    st

    ; a

    the

    Configuring IPv6 Duplicate Address DetectionThe IPv6 Duplicate Address Detection feature verifies the uniqueness of new unicast IPv6 addrebefore assigning the addresses to interfaces (the new addresses remain in a tentative state while daddress detection is performed). Duplicate address detection uses neighbor solicitation messagverify the uniqueness of unicast IPv6 addresses.

    There are no required configuration tasks for the IPv6 Duplicate Address Detection feature; dupladdress detection on tentative unicast IPv6 addresses and the automatic sending of consecutive nsolicitation messages during duplicate address detection are enabled by default. However, the numconsecutive neighbor solicitation messages that are sent on an interface while duplicate addressdetection is performed on tentative unicast IPv6 addresses can be configured.

    The tasks in the following sections explain how to configure the number of consecutive neighborsolicitation messages that are sent on an interface while duplicate address detection is performetentative unicast IPv6 addresses. Each task in the list is identified as either required or optional:

    • Configuring Duplicate Address Detection Neighbor Solicitation Messages (optional)

    • Verifying the Duplicate Address Detection Neighbor Solicitation Messages Configuration(optional)

    See the“IPv6 Duplicate Address Detection Configuration Example” section for a configurationexample.

    Note Refer to theStart Here: Cisco IOS Software Release Specifics for IPv6 Featuresdocument in either theNew Features in Release 12.2 T or New Features in Release 12.0 ST area of Cisco.com for Ciscsoftware release specifics for supported IPv6 features.

    Configuring Duplicate Address Detection Neighbor Solicitation MessagesTo configure the number of consecutive neighbor solicitation messages that are sent on an interfaceduplicate address detection is performed on tentative unicast IPv6 addresses, use the following comin interface configuration mode:

    Command PurposeRouter(config-if)# ipv6 nd dad attempts value Configures the number of consecutive neighbor solicitation

    messages that are sent on the specified IPv6 interface whileduplicate address detection is performed on the tentative unicaIPv6 address of the interface.

    Thevalueargument specifies the number of messages. Theacceptable range is from 0 to 600. Configuring a value of 0disables duplicate address detection on the specified interfacevalue of 1 (the default value) configures a single transmissionwithout follow-up transmissions.

    Theno form of theipv6 nd dad attemptscommand returns thenumber of messages that are sent on the specified interface todefault value (1).

    9

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 Duplicate Address Detection

    r anthesent one

    n to aerface

    castdressress

    yess.

    o

    Verifying the Duplicate Address Detection Neighbor Solicitation MessagesConfiguration

    To view the state (OK, TENTATIVE, or DUPLICATE) of the unicast IPv6 addresses configured fointerface, to verify whether duplicate address detection is enabled on the interface, and to verify number of consecutive duplicate address detection, neighbor solicitation messages that are beingthe interface, enter theshow ipv6 interface EXEC command. The following example shows duplicataddress detection specifics for Ethernet interface 0:

    Router# show ipv6 interface ethernet 0

    Ethernet0 is up, line protocol is up IPv6 is stalled, link-local address is FE80::1 [TENTATIVE] Global unicast address(es): 2000::1, subnet is 2000::/64 [TENTATIVE] 3000::1, subnet is 3000::/64 [TENTATIVE] Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND advertised reachable time is 0 milliseconds ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds Hosts use stateless autoconfig for addresses.

    Note For a description of each output display field, refer to theshow ipv6 interfacecommand in theIPv6 for Cisco IOS Software, File 3 of 3: Commandsdocument in either the New Features inRelease 12.2 T or New Features in Release 12.0 ST area of Cisco.com.

    Duplicate address detection is suspended on interfaces that are administratively “down.” While ainterface is administratively “down,” the unicast IPv6 addresses assigned to the interface are setpending state. Duplicate address detection is automatically restarted on an interface when the intreturns to being administratively “up.”

    Note An interface returning to administratively “up” restarts duplicate address detection for all of the uniIPv6 addresses on the interface. While duplicate address detection is performed on the link-local adof an interface, the state for the other IPv6 addresses is still set to TENTATIVE. When duplicate adddetection is completed on the link-local address, duplicate address detection is performed on anremaining IPv6 addresses that were not derived from the interface identifier of the link-local addr

    When duplicate address detection identifies a duplicate address, the state of the address is set tDUPLICATE and the address is not used, as shown in the following sample output from theshow ipv6interface EXEC command:

    Router# show ipv6 interface ethernet 0

    Ethernet0 is up, line protocol is up IPv6 is stalled, link-local address is FE80::1 [DUPLICATE] Global unicast address(es): 2000::1, subnet is 2000::/64 [TENTATIVE]

    10

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 Redirect Messages

    theing is

    essage

    ernetess ofrface 1.

    e

    ICMP)path

    direct

    esend

    3000::1, subnet is 3000::/64 [TENTATIVE] Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND advertised reachable time is 0 milliseconds ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds Hosts use stateless autoconfig for addresses.

    If the duplicate address is the link-local address of the interface, as shown in the sample output,processing of IPv6 packets is disabled on the interface and an error message similar to the followissued:

    %IPV6-4-DUPLICATE: Duplicate address FE80::1 on Ethernet0

    If the duplicate address is a global address of the interface, the address is not used and an error msimilar to the following is issued:

    %IPV6-4-DUPLICATE: Duplicate address 3000::/64 on Ethernet0

    IPv6 Duplicate Address Detection Configuration ExampleThe following example configures five consecutive neighbor solicitation messages to be sent on Ethinterface 0 while duplicate address detection is being performed on the tentative unicast IPv6 addrthe interface. The example also disables duplicate address detection processing on Ethernet inte

    interface ethernet 0ipv6 nd dad attempts 5

    interface ethernet 1ipv6 nd dad attempts 0

    Note Configuring a value of 0 with theipv6 nd dad attempts interface configuration command disablesduplicate address detection processing on the specified interface; a value of 1 configures a singltransmission without follow-up transmissions. The default is one message.

    Configuring IPv6 Redirect MessagesThe IPv6 Redirect Messages feature enables a router to send Internet Control Message Protocol (IPv6 neighbor redirect messages to inform hosts of better first hop nodes (routers or hosts) on theto a destination.

    There are no configuration tasks for the IPv6 Redirect Messages feature. The sending of IPv6 remessages is enabled by default. Use theno ipv6 redirects interface configuration command to disablethe sending of IPv6 redirect messages on an interface. Use theipv6 redirects interface configurationcommand to reenable the sending of IPv6 redirect messages if the Cisco IOS software is forced to ra packet through the same interface on which the packet was received.

    11

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringMapping Host Names to IPv6 Addresses

    0 and

    of hostt

    tionith

    To verify whether the sending of IPv6 redirect messages is enabled on an interface, enter theshow ipv6interface EXEC command. The following example shows IPv6 redirect messages for Ethernetinterface 0:

    Router# show ipv6 interface ethernet 0

    Ethernet0 is up, line protocol is up IPv6 is stalled, link-local address is FE80::1 Global unicast address(es): 2000::1, subnet is 2000::/64 3000::1, subnet is 3000::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND advertised reachable time is 0 milliseconds ND advertised retransmit interval is 0 milliseconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds Hosts use stateless autoconfig for addresses.

    Note For a description of each output display field, refer to theshow ipv6 interfacecommand in theIPv6 for Cisco IOS Software, File 3 of 3: Commandsdocument in either the New Features inRelease 12.2 T or New Features in Release 12.0 ST area of Cisco.com.

    IPv6 Redirect Messages Configuration ExampleThe following example disables the sending of ICMP IPv6 redirect messages on Ethernet interfacereenables the messages on Ethernet interface 1:

    interface ethernet 0no ipv6 redirects

    interface ethernet 1ipv6 redirects

    Mapping Host Names to IPv6 AddressesHost names can be associated with IPv6 addresses. The Cisco IOS software maintains a cachename-to-address mappings for use by theconnect, telnet, andping EXEC commands, and related Telnesupport operations. This cache speeds the process of converting names to addresses.

    Similar to IPv4, IPv6 uses a naming scheme that allows a network device to be identified by its locawithin a hierarchical name space that provides for domains. Domain names are joined together wperiods (.) as the delimiting characters. For example, Cisco is a commercial organization that isidentified by acomdomain name, so its domain name iscisco.com. A specific device in this domain, theFile Transfer Protocol (FTP) server, for example, is identified asftp.cisco.com.

    12

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringMapping Host Names to IPv6 Addresses

    r canv4ames to—thepingntified

    .

    s that

    sesn be

    assign

    amee thatded to

    e

    A name server is used to keep track of information associated with domain names. A name servemaintain a database of host name-to-address mappings. Each name can map to one or more IPaddresses, IPv6 addresses, or both address types. In order to use this service to map domain nIPv6 addresses, you must specify a name server and enable the Domain Naming System (DNS)global naming scheme of the Internet that uniquely identifies network devices. The tasks for maphost names to IPv6 addresses are described in the following sections. Each task in the list is ideas either required or optional:

    • Assigning Host Names to IPv6 Addresses (required)

    • Specifying a Default Domain Name (optional)

    • Specifying a Name Server (required)

    • Enabling the DNS (required)

    • Verifying the Host Name-to-Address Mappings Configuration (optional)

    See the“Host Name-to-Address Mappings Configuration Example”section for a configuration example

    Note Refer to the “Configuring IP Addressing” chapter of the Release 12.2,Cisco IOS IP Configuration Guidefor tasks specific to mapping domain names to IPv4 addresses. The following sections contain taskare specific to mapping domain names to IPv6 addresses.

    Assigning Host Names to IPv6 AddressesTypically, it is easier to refer to network devices by symbolic names rather than numerical addres(services such as Telnet can use host names or addresses). Host names and IPv6 addresses caassociated with one another through static or dynamic means.

    Manually assigning host names to addresses is useful when dynamic mapping is not available. Tohost names to IPv6 addresses, use the following command in global configuration mode:

    Specifying a Default Domain NameYou can specify a default domain name that the Cisco IOS software will use to complete domain nrequests. You can specify either a single domain name or a list of domain names. Any host namdoes not contain a complete domain name will have the default domain name you specify appenit before the name is looked up.

    Command PurposeRouter(config)# ipv6 host name [ port ] ipv6-address1[ ipv6-address2 ... ipv6-address4 ]

    Defines a static host name-to-address mapping in the host namcache.

    13

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringMapping Host Names to IPv6 Addresses

    ode:

    4 and

    ation

    in

    host

    l

    To specify a domain name or names, use either of the following commands in global configuration m

    Note The following commands are used to specify default domain names that can be used by both IPvIPv6.

    Specifying a Name ServerTo specify one or more hosts (up to six) that can function as a name server to supply name informfor the DNS, use the following command in global configuration mode:

    Enabling the DNSTo reenable DNS if it has been disabled (DNS is enabled by default), use the following commandglobal configuration mode:

    Verifying the Host Name-to-Address Mappings ConfigurationTo verify static host name-to-address mappings, default domain names, and name servers in thename cache, and to verify that the DNS service is enabled, enter theshow running-config EXECcommand:

    Router# show running-config

    Building configuration...!ipv6 host cisco-sj 3FFE:700:20:1::12!ip domain-name cisco.comip domain-lookupip name-server 2002:C01F:768::1

    Note Display text was omitted from the example.

    Command PurposeRouter(config)# ip domain-name name Defines a default domain name that the Cisco IOS software wil

    use to complete unqualified host names.

    Router(config)# ip domain-list name Defines a list of default domain names to complete unqualifiedhost names.

    Command PurposeRouter(config)# ip name-server server-address1[ server-address2...server-address6 ]

    Specifies one or more hosts that supply name information.

    Note Theserver-address argument can be either an IPv4 orIPv6 address.

    Command PurposeRouter(config)# ip domain-lookup Enables DNS-based host name-to-address translation.

    14

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ATM and Frame Relay Interfaces

    e,es,vers,

    Data

    hesegies inrame

    or

    TM”

    nd andamee or

    ware

    Relayfor

    Host Name-to-Address Mappings Configuration ExampleThe following example defines two static host name-to-address mappings in the host name cachestablishes a domain list with several alternate domain names to complete unqualified host namspecifies host 3FFE:C00::250:8BFF:FEE8:F800 and host 3FFE:80A0:0:F004::1 as the name serand reenables the DNS service:

    ipv6 host cisco-sj 3FFE:700:20:1::12ipv6 host cisco-hq 2002:C01F:768::1 3FFE:700:20:1::22ip domain-list csi.comip domain-list telecomprog.eduip domain-list merit.eduip name-server 3FFE:C00::250:8BFF:FEE8:F800 3FFE:80A0:0:F004::1ip domain-lookup

    Configuring IPv6 ATM and Frame Relay InterfacesIPv6 for Cisco IOS software supports wide-area networking technologies such as Cisco High-LevelLink Control (HDLC), PPP over Packet-Over-SONET, ISDN, and serial (synchronous andasynchronous) interface types, ATM permanent virtual circuits (PVCs), and Frame Relay PVCs. Ttechnologies function the same in IPv6 as they do in IPv4—IPv6 does not enhance the technoloany way. However, new commands for mapping protocol (network-layer) addresses to ATM and FRelay PVCs have been introduced for IPv6.

    The following sections describe how to map IPv6 addresses to ATM and Frame Relay PVCs.

    Note The following sections are not applicable to ATM LAN Emulation (LANE).

    For a complete description of the commands that appear in the following sections, refer to theIPv6 forCisco IOS Software, File 3 of 3: Commandsdocument in either the New Features in Release 12.2 TNew Features in Release 12.0 ST area of Cisco.com.

    Note The following sections do not provide in-depth information on customizing ATM and Frame Relaybecause the technologies function the same in IPv6 as they do in IPv4. Refer to the “Configuring Aand “Configuring Frame Relay” chapters of the Release 12.2,Cisco IOS Wide-Area NetworkingConfiguration Guide publication for information on customizing ATM and Frame Relay. Whereverapplicable, the “Usage Guidelines” section of each command reference page in theIPv6 for Cisco IOSSoftware, File 3 of 3: Commandsdocument lists the equivalent IPv4 ATM and Frame Relay commafor each new IPv6 ATM and Frame Relay command. For a complete description of the IPv4 ATMFrame Relay commands available in the Cisco IOS software, refer to the “ATM Commands” and “FrRelay Commands” chapters of the Release 12.2,Cisco IOS Wide-Area Networking Command Referenc.To locate documentation for all other IPv4 commands, use the command reference master indexsearch online.

    Broadcast and multicast are used in LANs to map protocol (network-layer) addresses to the hardaddresses of remote nodes (hosts and routers). Because using broadcast and multicast to mapnetwork-layer addresses to hardware addresses in circuit-based WANs, such as ATM and Framenetworks, is difficult to implement, these networks utilize implicit, explicit, and dynamic mappingsthe network-layer addresses of remote nodes and the PVCs used to reach the addresses.

    15

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ATM and Frame Relay Interfaces

    ce. Ifneterface

    s and

    ls aresple,

    the the

    TM”

    rthat

    erse

    elease

    ametional.

    Assigning an IPv6 address to an interface by using theipv6 address interface configuration commanddefines the IPv6 addresses for the interface and the network that is directly connected to the interfaonly one PVC is terminated on the interface (the interface is a point-to-point interface), there is aimplicit mapping between all of the IPv6 addresses on the network and the PVC used to reach thaddresses (no additional address mappings are needed). If several PVCs are terminated on the in(the interface is a point-to-multipoint interface), theprotocol ipv6 ATM VC configuration command (forATM networks) or theframe-relay map ipv6 interface configuration command (for Frame Relaynetworks) is used to configure explicit mappings between the IPv6 addresses of the remote nodethe PVCs used to reach the addresses.

    Note Given that IPv6 supports multiple address types and depending on which applications or protococonfigured on a point-to-multipoint interface, you may need to configure multiple explicit mappingbetween the IPv6 addresses of the interface and the PVC used to reach the addresses. For examexplicitly mapping both the link-local and global IPv6 address of a point-to-multipoint interface toPVC that the interface terminates ensures that the Interior Gateway Protocol (IGP) configured oninterface forwards traffic to and from the PVC correctly.

    In IPv4, the Inverse Address Resolution Protocol (Inverse ARP) is used to dynamically map thenetwork-layer address of a node at the far end of a PVC to that PVC. Refer to the “Configuring Aand “Configuring Frame Relay” chapters of the Release 12.2,Cisco IOS Wide-Area NetworkingConfiguration Guidepublication for information on configuring Inverse ARP. In IPv6, Inverse NeighboDiscovery is used to dynamically map the global IPv6 address of a node at the far end of a PVC toPVC.

    Note Support for Inverse Neighbor Discovery is not in the current releases of the Cisco IOS software. InvNeighbor Discovery will be supported in a later release of the Cisco IOS software. Refer to theStartHere: Cisco IOS Software Release Specifics for IPv6 Featuresdocument in either the New Features inRelease 12.2 T or New Features in Release 12.0 ST area of Cisco.com for Cisco IOS software rspecifics for supported IPv6 features.

    The tasks in the following sections explain how to explicitly map IPv6 addresses to the ATM and FrRelay PVCs used to reach the addresses. Each task in the list is identified as either required or op

    • Mapping an IPv6 Address to an ATM PVC (required)

    • Mapping an IPv6 Address to a Frame Relay PVC (required)

    • Verifying the IPv6 Address to ATM and Frame Relay PVC Mapping (optional)

    See the“IPv6 Address to ATM and Frame Relay PVC Mapping Configuration Examples” section forconfiguration examples.

    16

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ATM and Frame Relay Interfaces

    ing

    used

    the

    es

    ts)

    d

    es

    m

    en

    Mapping an IPv6 Address to an ATM PVCTo map the IPv6 address of a remote node to the PVC used to reach the address, use the followcommand in ATM VC configuration mode:

    Mapping an IPv6 Address to a Frame Relay PVCTo map the IPv6 address of a remote node to the data-link connection identifier (DLCI) of the PVCto reach the address, use the following command in interface configuration mode:

    Command PurposeRouter(config-if-atm-vc)# protocol ipv6ipv6-address [[ no ] broadcast ]

    Maps the IPv6 address of a remote node to the PVC used to reachaddress.

    The ipv6-address argument must be in the form documented in RFC2373 where the address is specified in hexadecimal using 16-bit valubetween colons.

    The optional [no] broadcastkeywords indicate whether the map entryshould be used when IPv6 multicast packets (not broadcast packeare sent to the interface. Pseudobroadcasting is supported. The [no]broadcast keywords in theprotocol ipv6 command take precedenceover thebroadcast command configured on the same ATM PVC.

    Command PurposeRouter(config-if)# frame-relay map ipv6ipv6-address dlci [ broadcast ] [ cisco ] [ ietf ][ payload-compression ]

    Maps the IPv6 address of a remote node to the DLCI of the PVC useto reach the address.

    The ipv6-address argument must be in the form documented in RFC2373 where the address is specified in hexadecimal using 16-bit valubetween colons.

    Thedlci argument specifies the DLCI number used to reach thespecified IPv6 address on the interface. The acceptable range is fro16 to 1007.

    The optionalbroadcastkeyword specifies that IPv6 multicast packets(not broadcast packets) should be forwarded to this IPv6 address whmulticast is not enabled. (Refer to theframe-relay multicast-dlcicommand in the “Frame Relay Commands” chapter of the Release12.2,Cisco IOS Wide-Area Networking Command Reference forinformation on defining a multicast DLCI.)

    The optionalciscokeyword specifies the Cisco form of Frame Relayencapsulation.

    The optionalietf keyword specifies the Internet Engineering TaskForce (IETF) form of Frame Relay encapsulation.

    The optionalpayload-compressionkeyword specifies payloadcompression. (Refer to theframe-relay map ipv6 command in theIPv6 for Cisco IOS Software, File 3 of 3: Commandsdocument forsubordinate keywords and arguments related to thepayload-compressionkeyword.)

    17

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ATM and Frame Relay Interfaces

    use theal

    de are

    h the

    toof

    les:

    The

    s are

    Verifying the IPv6 Address to ATM and Frame Relay PVC MappingTo verify that the IPv6 address of a remote node is mapped to the PVC used to reach the address,show atm mapprivileged EXEC command. The following example shows that the link-local and globIPv6 addresses (FE80::60:3E47:AC8:C and 3ffe:1111:2222:1003::72, respectively) of a remote noexplicitly mapped to PVC 1/32 of ATM interface 0.

    Router# show atm map

    Map list ATM0pvc1 : PERMANENTipv6 FE80::60:3E47:AC8:C maps to VC 1, VPI 1, VCI 32, ATM0 , broadcastipv6 3ffe:1111:2222:1003::72 maps to VC 1, VPI 1, VCI 32, ATM0

    To verify that the IPv6 address of a remote node is mapped to the DLCI of the PVC used to reacaddress, enter theshow frame-relay map EXEC command. The following example shows that thelink-local and global IPv6 addresses (FE80::E0:F727:E400:A and 3ffe:1111:2222:1044::73;FE80::60:3E47:AC8:8 and 3ffe:1111:2222:1044::72) of two remote nodes are explicitly mapped DLCI 17 and DLCI 19, respectively. Both DLCI 17 and DLCI 19 are terminated on interface serial 3this node; therefore, interface serial 3 of this node is a point-to-multipoint interface.

    Router# show frame-relay map

    Serial3 (up): ipv6 FE80::E0:F727:E400:A dlci 17(0x11,0x410), static, broadcast, CISCO, status defined, activeSerial3 (up): ipv6 3ffe:1111:2222:1044::72 dlci 19(0x13,0x430), static, CISCO, status defined, activeSerial3 (up): ipv6 3ffe:1111:2222:1044::73 dlci 17(0x11,0x410), static, CISCO, status defined, activeSerial3 (up): ipv6 FE80::60:3E47:AC8:8 dlci 19(0x13,0x430), static, broadcast, CISCO, status defined, active

    IPv6 Address to ATM and Frame Relay PVC Mapping Configuration ExamplesThis section provides the following IPv6 ATM and Frame Relay PVC mapping configuration examp

    • IPv6 ATM PVC Mapping Configuration Example—Point-to-Point Interface

    • IPv6 ATM PVC Mapping Configuration Example—Point-to-Multipoint Interface

    • IPv6 Frame Relay PVC Mapping Configuration Example—Point-to-Point Interface

    • IPv6 Frame Relay PVC Mapping Configuration Example—Point-to-Multipoint Interface

    IPv6 ATM PVC Mapping Configuration Example—Point-to-Point Interface

    In the following example, two nodes named Cisco 1 and Cisco 2 are connected by a single PVC.point-to-point subinterface ATM0.132 is used on both nodes to terminate the PVC; therefore, themapping between the IPv6 addresses of both nodes and the PVC is implicit (no additional mappingrequired).

    Cisco 1 Configurationinterface ATM0 no ip address!interface ATM0.132 point-to-point pvc 1/32 encapsulation aal5snap ! ipv6 address 3ffe:1111:2222:1003::72/64

    18

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ATM and Frame Relay Interfaces

    aresedl and

    hed

    ndal

    ce,.urhanone

    Cisco 2 Configurationinterface ATM0 no ip address!interface ATM0.132 point-to-point pvc 1/32 encapsulation aal5snap ! ipv6 address 3ffe:1111:2222:1003::45/64

    IPv6 ATM PVC Mapping Configuration Example—Point-to-Multipoint Interface

    In the following example, the same two nodes (Cisco 1 and Cisco 2) from the previous example connected by the same PVC. In this example, however, the point-to-multipoint interface ATM0 is uon both nodes to terminate the PVC; therefore, explicit mappings are required between the link-locaglobal IPv6 addresses of interface ATM0 on both nodes and the PVC. Additionally, ATMpseudobroadcasts are enabled on the link-local address of interface ATM0 on both nodes.

    Cisco 1 Configurationinterface ATM0 no ip address pvc 1/32 protocol ipv6 3ffe:1111:2222:1003::45 protocol ipv6 FE80::60:2FA4:8291:2 broadcast encapsulation aal5snap ! ipv6 address 3ffe:1111:2222:1003::72/64

    Cisco 2 Configurationinterface ATM0 no ip address pvc 1/32 protocol ipv6 FE80::60:3E47:AC8:C broadcast protocol ipv6 3ffe:1111:2222:1003::72 encapsulation aal5snap ! ipv6 address 3ffe:1111:2222:1003::45/64

    IPv6 Frame Relay PVC Mapping Configuration Example—Point-to-Point Interface

    In the following example, three nodes named Cisco A, Cisco B, and Cisco C make up a fully mesnetwork. Each node is configured with two PVCs, which provide an individual connection to eachof the other two nodes. Each PVC is configured on a different point-to-point subinterface, whichcreates three unique IPv6 networks (3ffe:1111:2222:1017:/64:, 3ffe:1111:2222:1018::/64, and3ffe:1111:2222:1019::/64). Therefore, the mappings between the IPv6 addresses of each node athe DLCI (DLCI 17, 18, and 19) of the PVC used to reach the addresses are implicit (no additionmappings are required).

    Note Given that each PVC in the following example is configured on a different point-to-point subinterfathe configuration in the following example can also be used in a network that is not fully meshedAdditionally, configuring each PVC on a different point-to-point subinterface can help simplify yorouting protocol configuration. However, the configuration in the following example requires more tone IPv6 network, whereas configuring each PVC on point-to-multipoint interfaces requires only IPv6 network.

    19

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 ATM and Frame Relay Interfaces

    svide

    in thely),iredCI

    Cisco A Configurationinterface Serial3 encapsulation frame-relay!interface Serial3.17 point-to-point description to Cisco B ipv6 address 3ffe:1111:2222:1017::46/64 frame-relay interface-dlci 17!interface Serial3.19 point-to-point description to Cisco C ipv6 address 3ffe:1111:2222:1019::46/64 frame-relay interface-dlci 19

    Cisco B Configurationinterface Serial5 encapsulation frame-relay!interface Serial5.17 point-to-point description to Cisco A ipv6 address 3ffe:1111:2222:1017::73/64 frame-relay interface-dlci 17!interface Serial5.18 point-to-point description to Cisco C ipv6 address 3ffe:1111:2222:1018::73/64 frame-relay interface-dlci 18

    Cisco C Configurationinterface Serial0 encapsulation frame-relay!interface Serial0.18 point-to-point description to Cisco B ipv6 address 3ffe:1111:2222:1018::72/64 frame-relay interface-dlci 18!interface Serial0.19 point-to-point description to Cisco A ipv6 address 3ffe:1111:2222:1019::72/64 frame-relay interface-dlci 19

    IPv6 Frame Relay PVC Mapping Configuration Example—Point-to-Multipoint InterfaceIn the following example, the same three nodes (Cisco A, Cisco B, and Cisco C) from the previouexample make up a fully meshed network and each node is configured with two PVCs (which proan individual connection to each of the other two nodes). However, the two PVCs on each node following example are configured on a single interface (serial 3, serial 5, and serial 10, respectivewhich makes each interface a point-to-multipoint interface. Therefore, explicit mappings are requbetween the link-local and global IPv6 addresses of each interface on all three nodes and the DL(DLCI 17, 18, and 19) of the PVC used to reach the addresses.

    Cisco A Configurationinterface Serial3 encapsulation frame-relay ipv6 address 3ffe:1111:2222:1044::46/64 frame-relay map ipv6 FE80::E0:F727:E400:A 17 broadcast frame-relay map ipv6 FE80::60:3E47:AC8:8 19 broadcast frame-relay map ipv6 3ffe:1111:2222:1044::72 19 frame-relay map ipv6 3ffe:1111:2222:1044::73 17

    20

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 Standard Access Lists

    IPv6 by one.ftwares

    forface;rface.

    in the

    Cisco B Configurationinterface Serial5 encapsulation frame-relay ipv6 address 3ffe:1111:2222:1044::73/64 frame-relay map ipv6 FE80::60:3E59:DA78:C 17 broadcast frame-relay map ipv6 FE80::60:3E47:AC8:8 18 broadcast frame-relay map ipv6 3ffe:1111:2222:1044::46 17 frame-relay map ipv6 3ffe:1111:2222:1044::72 18

    Cisco C Configurationinterface Serial0 encapsulation frame-relay ipv6 address 3ffe:1111:2222:1044::72/64 frame-relay map ipv6 FE80::60:3E59:DA78:C 19 broadcast frame-relay map ipv6 FE80::E0:F727:E400:A 18 broadcast frame-relay map ipv6 3ffe:1111:2222:1044::46 19 frame-relay map ipv6 3ffe:1111:2222:1044::73 18

    Configuring IPv6 Standard Access ListsAn IPv6 standard access list is a sequential collection of permit and deny conditions that apply toaddresses. The Cisco IOS software tests addresses against the conditions in an access list oneThe first match determines whether the software accepts or rejects the address. Because the sostops testing conditions after the first match, the order of the conditions is critical. If no conditionmatch, the software rejects the address.

    IPv6 standard access lists are identified by names and use source and destination IPv6 prefixesmatching operations. IPv6 standard access lists should be defined and then assigned to an interotherwise, the interface operates with an empty access list until an access list is defined for the inte

    The tasks in the following sections explain how to configure IPv6 standard access lists. Each tasklist is identified as either required or optional:

    • Creating and Applying an IPv6 Standard Access List (required)

    • Verifying IPv6 Standard Access List Configuration (optional)

    See the“IPv6 Standard Access List Configuration Example” section for a configuration example.

    21

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 Standard Access Lists

    ation

    fix for

    the

    s.

    t.

    e.

    s

    e

    Creating and Applying an IPv6 Standard Access ListTo create an IPv6 standard access list, use the following commands beginning in global configurmode:

    Note Both thesource-ipv6-prefix/prefix-length anddestination-ipv6-prefix/prefix-lengtharguments are usedfor traffic filtering (the source prefix filters traffic based upon the traffic source; the destination prefilters traffic based upon the traffic destination). IPv6 prefix lists, not access lists, should be usedfiltering routing protocol prefixes.

    The Cisco IOS software compares an IPv6 prefix against thepermit anddeny condition statements inthe access list. Every IPv6 access list, including access lists that do not have anypermit anddenycondition statements, has an implicitdeny any any statement as its last match condition. The priorityvalue applied to each condition statement dictates the order in which the statement is applied in access list.

    Command Purpose

    Step 1 Router(config)# ipv6 access-listaccess-list-name { permit | deny }{ source-ipv6-prefix / prefix-length | any }{ destination-ipv6-prefix / prefix-length |any } [ priority value ]

    Defines a standard IPv6 access list and sets deny or permitconditions for the access list.

    Theaccess-list nameargument specifies the name of the IPv6 acceslist. Access list names cannot contain a space or quotation mark

    Thedeny keyword specifies deny conditions for the access list.

    Thepermit keyword specifies permit conditions for the access lis

    Thesource-ipv6-prefix/prefix-length anddestination-ipv6-prefix/prefix-lengtharguments are mandatory. Theprefix-lengthargumentindicates the number of consecutive, most significant bits that arused in the match. A slash mark must precede the decimal value

    Theany keyword, when specified instead of thesource-ipv6-prefix/prefix-length or destination-ipv6-prefix/prefix-length, matches anyprefix and is equivalent to the IPv6 prefix ::/0.

    Thepriority keyword specifies the order in which the statement iapplied in the access list. The acceptable range is from 1 to4294967295.

    Step 2 Router(config)# interface interface-typeinterface-number

    Specifies an interface type and number, and places the router ininterface configuration mode.

    Step 3 Router(config-if)# ipv6 traffic-filteraccess-list-name { in | out }

    Applies the specified IPv6 access list to the interface specified in thprevious step.

    The in keyword filters incoming IPv6 traffic on the specifiedinterface.

    Theout keyword filters outgoing IPv6 traffic on the specifiedinterface.

    22

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 Standard Access Lists

    T

    undworkIPv6ther

    all

    Verifying IPv6 Standard Access List ConfigurationTo verify that IPv6 standard access lists are configured correctly, enter theshow ipv6 access-listEXECcommand:

    Router# show ipv6 access-list

    ipv6 access-list list1deny 3000::/64 any priority 10permit 2000::/64 any priority 20permit any any priority 30

    Note For a description of each output display field, refer to theshow ipv6 access-listcommand in theIPv6for Cisco IOS Software, File 3 of 3: Commandsdocument in either the New Features in Release 12.2or New Features in Release 12.0 ST area of Cisco.com.

    To verify that all access lists (both IPv6 and IPv4 access lists) are configured correctly, enter theshowrunning-config EXEC command:

    Router# show running-config

    Building configuration...

    Current configuration : 22324 bytes!! Last configuration change at 14:59:38 PST Tue Jan 16 2001! NVRAM config last updated at 04:25:39 PST Tue Jan 16 2001 by user1!hostname router1!ipv6 unicast-routing!ip classless!access-list 2 permit 10.1.1.2access-list 198 permit ip 172.16.0.0 0.0.255.255 anyaccess-list 198 permit ip 192.168.0.0 0.0.255.255 any!ipv6 access-list list1 permit 2000::/64 any priority 10ipv6 access-list list1 deny 3000::/64 any priority 20ipv6 access-list list1 permit any any priority 30!

    Note Display text was omitted from the example.

    IPv6 Standard Access List Configuration ExampleThe following example configures the access list named list2 and applies the access list to outbotraffic on Ethernet interface 0. Specifically, the first access list entry keeps all packets from the netfec0:0:0:2::/64 (packets that have the site-local prefix fec0:0:0:2 as the first 64 bits of their sourceaddress) from exiting out of Ethernet interface 0. The second entry in the access list permits all otraffic to exit out of Ethernet interface 0. The second entry is necessary because an implicit denycondition is at the end of each IPv6 access list.

    ipv6 access-list list2 deny fec0:0:0:2::/64 anyipv6 access-list list2 permit any any

    interface ethernet 0ipv6 traffic-filter dublin out

    23

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 RIP

    lete

    mands

    le the

    o RIPpRIP in

    andn on

    s”

    “RIP

    fied

    Configuring IPv6 RIPThis section describes how to configure Routing Information Protocol (RIP) for IPv6. For a compdescription of the IPv6 RIP commands that appear in this section, refer to theIPv6 for Cisco IOSSoftware, File 3 of 3: Commandsdocument in either the New Features in Release 12.2 T or NewFeatures in Release 12.0 ST area of Cisco.com. For a complete description of the IPv4 RIP comavailable in the Cisco IOS software, refer to the RIP Commands chapter of the Release 12.2,Cisco IOSIP Command Reference, Volume 2 of 3: Routing Protocols. To locate documentation for all other IPv4commands, use the command reference master index or search online.

    When configuring supported routing protocols in IPv6, you must create the routing process, enabrouting process on interfaces, and customize the routing protocol for your particular network.

    RIP in IPv6 functions the same and offers the same benefits as RIP in IPv4. IPv6 enhancements tinclude support for IPv6 addresses and prefixes, and the use of the all RIP routers multicast grouaddress FF02::9 as the destination address for RIP update messages. New commands specific toIPv6 were also added to the Cisco IOS CLI.

    Note The following sections describe the configuration tasks for creating an IPv6 RIP routing process enable the routing process on interfaces. The following sections do not provide in-depth informatiocustomizing RIP because the protocol functions the same in IPv6 as it does in IPv4. Refer to the“Configuring Routing Information Protocol” chapter of the Release 12.2,Cisco IOS IP ConfigurationGuide publication for information on customizing RIP. Wherever applicable, the “Usage Guidelinesection of each command reference page in theIPv6 for Cisco IOS Software, File 3 of 3: Commandsdocument lists the equivalent IPv4 RIP command for each new IPv6 RIP command. Refer to theCommands” chapter of the Release 12.2,Cisco IOS IP Command Reference, Volume 2 of 3: RoutingProtocols publication as you customize your IPv6 RIP routing process. Additionally, refer to the“Configuring IP Routing Protocol-Independent Features” chapter of the Release 12.2,Cisco IOS IPConfiguration Guide publication for protocol-independent features that also apply to RIP.

    The tasks in the following sections explain how to configure IPv6 RIP. Each task in the list is identias either required or optional:

    • Enabling IPv6 RIP (required)

    • Originating a Default IPv6 Route into an IPv6 RIP Routing Process (optional)

    • Redistributing Routes into an IPv6 RIP Routing Process (optional)

    • Filtering IPv6 RIP Routing Updates (optional)

    • Verifying IPv6 RIP Configuration and Operation (optional)

    See the“IPv6 RIP Configuration Example” section for a configuration example.

    24

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 RIP

    thelobal

    ine

    in

    e.

    in

    es

    te

    Enabling IPv6 RIPTo enable IPv6 RIP, use the following commands beginning in global configuration mode:

    Originating a Default IPv6 Route into an IPv6 RIP Routing ProcessTo originate the IPv6 default route (::/0) into a RIP routing process on an interface and to includedefault route in router updates sent out of the interface, use the following commands beginning in gconfiguration mode:

    Command Purpose

    Step 1 Router(config)# ipv6 router rip wordRouter(config-rtr-rip)# exit

    Configures an IPv6 RIP routing process, and places the routerrouter configuration mode for the IPv6 RIP routing process. Ustheexit command to return the router to global configurationmode, from which additional configuration commands areentered.

    Step 2 Router(config)# interface interface-typeinterface-numberRouter(config-if)#

    Specifies the interface type and number, and places the routerinterface configuration mode.

    Step 3 Router(config-if)# ipv6 rip word enable Enables the specified IPv6 RIP routing process on an interfac

    Command Purpose

    Step 1 Router(config)# interface interface-typeinterface-number

    Specifies the interface type and number, and places the routerinterface configuration mode.

    Step 2 Router(config-if)# ipv6 rip worddefault-information { only | originate }

    Originates the IPv6 default route (::/0) into the specified RIProuting process and includes the default route in router updatsent out of the specified interface.

    Note To avoid routing loops after the IPv6 default route (::/0)is originated into a specified RIP routing process, therouting process ignores all default route informationreceived in subsequent IPv6 RIP update messages.

    Specifying theonly keyword originates the default route (::/0)and suppresses advertising any routes except the default rousent on this interface.

    Specifying theoriginate keyword originates the default route(::/0) and advertises the default route with all other routes inrouter updates sent on this interface.

    25

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 RIP

    lobal

    e

    6

    s.

    .

    6

    Redistributing Routes into an IPv6 RIP Routing ProcessTo redistribute routes into an IPv6 RIP routing process, use the following commands beginning in gconfiguration mode:

    Filtering IPv6 RIP Routing UpdatesTo apply a prefix list to IPv6 RIP routing updates that are received or sent on an interface, use thfollowing commands beginning in global configuration mode:

    Command Purpose

    Step 1 Router# ipv6 router rip wordRouter(config-rtr-rip)#

    Places the router in router configuration mode for the specified IPvRIP routing process.

    Step 2 Router(config-rtr-rip)# redistributeprotocol [ process-id ] { level-1 |level-1-2 | level-2 } [ metricmetric-value ] [ metric-type { internal |external }] [ route-map map-name]

    Redistributes the specified routes into the IPv6 RIP routing proces

    Theprotocolargument can be one of the following keywords:bgp,connected, isis, rip , or static.

    The rip keyword andprocess-id argument specify an IPv6 RIProuting process.

    Note Theconnectedkeyword refers to routes that are establishedautomatically by IPv6 having been enabled on an interface

    Command Purpose

    Step 1 Router# ipv6 router rip wordRouter(config-rtr-rip)#

    Places the router in router configuration mode for the specified IPvRIP routing process.

    Step 2 Router(config-rtr-rip)# distribute-listprefix-list word { in | out }[ interface-type interface-number ]

    Applies the specified prefix list to IPv6 RIP routing updates that arereceived or sent on the specified interface.

    Note If an interface is not specified with thedistribute-listprefix-list command, the specified prefix list is applied toIPv6 routing updates that are sent or received on allinterfaces in the router running the specified process.

    The in keyword applies the prefix list to incoming routing updateson the specified interface.

    Theout keyword applies the prefix list to outgoing routing updateson the specified interface.

    Note Redistributed routing information should always be filteredby thedistribute-list prefix-list (IPv6 RIP) routerconfiguration command.

    26

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 RIP

    or

    s to the

    ing ato the

    ernet onix list

    Verifying IPv6 RIP Configuration and OperationTo display information about current IPv6 RIP processes, enter theshow ipv6 rip EXEC command:

    Router# show ipv6 rip

    RIP process "6bone", port 521, multicast-group FF02::9, pid 70 Administrative distance is 120. Routing table is 0 Updates every 30 seconds, expire after 180 Holddown lasts 180 seconds, garbage collect after 120 Split horizon is on; poison reverse is off Default routes are not generated Periodic updates 16136, trigger updates 0

    Note For a description of each output display field, refer to theshow ipv6 rip command in theIPv6 forCisco IOS Software, File 3 of 3: Commandsdocument in either the New Features in Release 12.2 TNew Features in Release 12.0 ST area of Cisco.com.

    To display debug messages for IPv6 RIP routing transactions, enter thedebug ipv6 rip privileged EXECcommand:

    Note By default, the network server sends the output from debug commands and system error messageconsole. To redirect debug output, use thelogging command options within configuration mode.Possible destinations include the console, virtual terminals, internal buffer, and UNIX hosts runnsyslog server. For complete information on debug commands and redirecting debug output, referRelease 12.2,Cisco IOS Debug Command Reference.

    Router# debug ipv6 rip

    13:09:10:RIPng:Sending multicast update on Ethernet1/1 for as1_rip13:09:10: src=FE80::203:E4FF:FE12:CC1D13:09:10: dst=FF02::9 (Ethernet1/1)13:09:10: sport=521, dport=521, length=3213:09:10: command=2, version=1, mbz=0, #rte=113:09:10: tag=0, metric=1, prefix=::/013:09:28:RIPng:response received from FE80::202:FDFF:FE77:1E42 on Ethernet1/1 for as1_rip13:09:28: src=FE80::202:FDFF:FE77:1E42 (Ethernet1/1)13:09:28: dst=FF02::913:09:28: sport=521, dport=521, length=3213:09:28: command=2, version=1, mbz=0, #rte=113:09:28: tag=0, metric=1, prefix=2000:0:0:1:1::/80

    IPv6 RIP Configuration ExampleIn the following example, the IPv6 RIP process named cisco is enabled on the router and on Ethinterface 0. The IPv6 default route (::/0) is advertised with all other routes in router updates sentEthernet interface 0. Additionally, BGP routes are redistributed into the process cisco and the prefnamed list3 filters inbound routing updates on Ethernet interface 0.

    ipv6 router rip ciscodistribute-list prefix-list list3 in ethernet 0default-information originateredistribute bgp

    27

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    IPv6.ases,

    ecifics

    n this

    ted

    nce

    le the

    m

    on to

    andvidees in

    ge

    efer

    fer

    lly,

    interface ethernet 0ipv6 address 3ffe:c00:c18:1::/64 eui-64ipv6 rip cisco enable

    ipv6 prefix-list list3 seq 10 deny ::/0ipv6 prefix-list list3 seq 15 permit ::/0 le 128

    Configuring IPv6 IS-ISThis section describes how to configure Intermediate System-to-Intermediate System (IS-IS) for In Cisco IOS Release 12.0(21)ST or later releases and Cisco IOS Release 12.2(8)T or later releIS-IS is implemented as a supported Interior Gateway Protocol (IGP) for IPv6. Refer to theStart Here:Cisco IOS Software Release Specifics for IPv6 Featuresdocument in either the New Features in Releas12.2 T or New Features in Release 12.0 ST area of Cisco.com for Cisco IOS software release spefor supported IPv6 features. For a complete description of the IPv6 IS-IS commands that appear isection, refer to theIPv6 for Cisco IOS Software, File 3 of 3: Commandsdocument in the New Featuresin Release 12.2 T and the New Features in Release 12.0 ST area of Cisco.com. For a completedescription of the IPv4 IS-IS commands available in the Cisco IOS software, refer to the “IntegraIS-IS Commands” chapter of the Release 12.2,Cisco IOS IP Command Reference, Volume 2 of 3:Routing Protocols. To locate documentation for all other IPv4 commands, use the command referemaster index or search online.

    When configuring supported routing protocols in IPv6, you must create the routing process, enabrouting process on interfaces, and customize the routing protocol for your particular network.

    IS-IS in IPv6 functions the same and offers many of the same benefits as IS-IS in IPv4. IPv6enhancements to IS-IS allow IS-IS to advertise IPv6 prefixes in addition to IPv4 and Open SysteInterconnection (OSI) routes. Extensions to the IS-IS CLI allow configuration of IPv6-specificparameters. IPv6 IS-IS extends the address families supported by IS-IS to include IPv6, in additiOSI and IPv4.

    Note The following sections describe the configuration tasks for creating an IPv6 IS-IS routing processconfiguring IPv6-specific commands under address family IPv6. The following sections do not proin-depth information on customizing IS-IS because the protocol functions the same in IPv6 as it doIPv4. Refer to the “Configuring Integrated IS-IS” chapter of the Release 12.2,Cisco IOS IPConfiguration Guidepublication for information on customizing IS-IS. Wherever applicable, the “UsaGuidelines” section of each command reference page in theIPv6 for Cisco IOS Software, File 3 of 3:Commandsdocument lists the equivalent IPv4 IS-IS command for each new IPv6 IS-IS command. Rto the “Integrated IS-IS Commands” chapter of the Release 12.2,Cisco IOS IP Command Reference,Volume 2 of 3: Routing Protocols publication as you customize your IPv6 IS-IS routing process. Realso to the “IOS CLNS Commands” chapter of the Release 12.2,Cisco IOS Apollo Domain, BanyanVINES, DECnet, IOS CLNS, XNS Command Reference publication for details of ConnectionlessNetwork Service (CLNS) commands as you customize your IPv6 IS-IS routing process. Additionarefer to the “Configuring IP Routing Protocol-Independent Features” chapter of the Release 12.2,CiscoIOS IP Configuration Guide publication for protocol-independent features that also apply to IS-IS.

    28

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    fied

    rmedng

    s

    The tasks in the following sections explain how to configure IPv6 IS-IS. Each task in the list is identias either required or optional:

    • Configuring IS-IS (required)

    • Assigning an IPv6 IS-IS Routing Process to an Interface (required)

    • Configuring Administrative Distance for IPv6 IS-IS (optional)

    • Configuring the Maximum Number of Parallel Routes for IPv6 IS-IS (optional)

    • Configuring Summary Prefixes for IPv6 IS-IS (optional)

    • Disabling IPv6 Protocol-Support Consistency Checks (optional)

    • Originating a Default IPv6 Route (optional)

    • Redistributing Routes into an IPv6 IS-IS Routing Process (optional)

    • Redistributing IPv6 IS-IS Routes Between IS-IS Levels (optional)

    • Verifying IPv6 IS-IS (optional)

    See the“IPv6 IS-IS Configuration Examples” section for configuration examples.

    Configuring IS-ISConfiguring IS-IS comprises two tasks. The first task creates an IS-IS routing process and is perfousing protocol-independent IS-IS commands. To create an IS-IS routing process, use the followicommands beginning in global configuration mode:

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, andenters router configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP orCLNS router processes for a given router.

    The first IS-IS instance is configured Level 1-2 by default.Later instances of IS-IS are automatically Level 1. You canchange the level of routing to be performed by a specifiedrouting process using theis-type command.

    Step 2 Router(config-router)# net network-entity-title Configures an IS-IS network entity title (NET) for therouting process.

    Thenetwork-entity-titleargument defines the area addressefor the IS-IS area and the system ID of the router.

    Note For more details about the format of thenetwork-entity-title argument, refer to the“Configuring ISO CLNS” chapter in the Release12.2,Cisco IOS Apollo Domain, Banyan VINES,DECnet, IOS CLNS, XNS Configuration Guidedocument.

    29

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    tion

    in

    6

    Assigning an IPv6 IS-IS Routing Process to an InterfaceThe second task in configuring IPv6 IS-IS requires assigning the IPv6 IS-IS routing process to aninterface. Other routing protocols usually assign the routing process to a network.

    To configure IPv6 IS-IS on an interface, use the following commands beginning in global configuramode:

    Configuring Administrative Distance for IPv6 IS-ISTo configure a new administrative distance for IPv6 IS-IS, use the following commands beginningglobal configuration mode:

    Command Purpose

    Step 1 Router(config)# interface type number Specifies the interface type and number, and enters interfaceconfiguration mode.

    Step 2 Router(config-if)# ipv6 addressipv6-prefix / prefix-length [ eui-64 ]

    Specifies the IPv6 network assigned to the interface and enablesIPv6 processing on the interface.

    Note See the“Enabling IPv6 Routing and Configuring IPv6Addressing” section on page 2 for more information onconfiguring IPv6 addresses.

    Step 3 Router(config-if)# ipv6 router isisarea-name

    Enables the specified IPv6 IS-IS routing process on an interface.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and entersrouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    Step 2 Router(config-router)# address-familyipv6 [ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addressfamily. By default, the router is placed in configuration mode for theunicast IPv6 address family if theunicast keyword is not specifiedwith theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# distance value Defines an administrative distance for IPv6 IS-IS routes in the IPvrouting table.

    Thevalueargument is an integer from 10 to 254. (The values 0 to 9are reserved for internal use).

    30

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    g

    rs

    s

    rs

    Configuring the Maximum Number of Parallel Routes for IPv6 IS-ISTo configure the maximum numbers of parallel paths that IPv6 IS-IS will support, use the followincommands beginning in global configuration mode:

    Configuring Summary Prefixes for IPv6 IS-ISTo configure summary prefixes for IPv6 IS-IS, use the following commands beginning in globalconfiguration mode:

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and enterouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    Step 2 Router(config-router)# address-family ipv6[ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addresfamily. By default, the router is placed in configuration mode forthe unicast IPv6 address family if theunicast keyword is notspecified with theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# maximum-pathsnumber-paths

    Defines the maximum number of parallel routes that IPv6 IS-IScan support.

    The number-paths argument is an integer from 1 to 4.

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and enterouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    31

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    from

    addhen

    l

    d

    sss.

    e

    rs

    Disabling IPv6 Protocol-Support Consistency ChecksUnder IPv6 address family configuration, protocol-support consistency checks on packets receivedadjacent neighbors can be disabled.

    Note Disabling theadjacency-checkcommand can adversely affect your network configuration. Issue thenoadjacency-check command when you are running IPv4 IS-IS on all your routers, and you want to IPv6 IS-IS to your network but you need to maintain all your adjacencies during the transition. Wthe IPv6 IS-IS configuration is complete, remove theno adjacency-checkcommand from theconfiguration.

    To disable protocol-support consistency checks, use the following commands beginning in globaconfiguration mode:

    Step 2 Router(config-router)# address-family ipv6[ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addressfamily. By default, the router is placed in configuration mode forthe unicast IPv6 address family if theunicast keyword is notspecified with theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# summary-prefixipv6-prefix / prefix-length [ level-1 |level-1-2 | level-2 ]

    Creates summary prefixes of IPv6 Level 1 interface prefixes anIPv6 prefixes learned from Level 1 link-state packets (LSPs) byLevel 2 routers.

    The ipv6-prefix argument in thesummary-prefix commandmust be in the form documented in RFC 2373 where the addreis specified in hexadecimal using 16-bit values between colon

    Theprefix-lengthargument is a decimal value that indicates howmany of the high-order contiguous bits of the address compristhe prefix (the network portion of the address). A slash markmust precede the decimal value.

    Command Purpose

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and enterouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    32

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    nds

    s

    Originating a Default IPv6 RouteTo configure an IS-IS instance to advertise the default IPv6 route (::/0), use the following commabeginning in global configuration mode:

    Step 2 Router(config-router)# address-family ipv6[ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addresfamily. By default, the router is placed in configuration mode forthe unicast IPv6 address family if theunicast keyword is notspecified with theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# noadjacency-check

    Disables the IPv6 protocol-support consistency checksperformed on hello packets, allowing IPv6 to be introduced intoan IPv4-only network without disrupting existing adjacencies.

    Theadjacency-checkcommand is enabled by default.

    Command Purpose

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and entersrouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    Step 2 Router(config-router)# address-familyipv6 [ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addressfamily. By default, the router is placed in configuration mode for theunicast IPv6 address family if theunicast keyword is not specifiedwith theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# default-information originate [ route-map map-name]

    Injects a default IPv6 route into an IS-IS routing domain.

    The route-map keyword andmap-name argument specify theconditions under which the IPv6 default route is advertised.

    If the route map keyword is omitted, then the IPv6 default routewill be unconditionally advertised at Level 2.

    33

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    nds

    rs

    rs

    Redistributing Routes into an IPv6 IS-IS Routing ProcessTo redistribute IPV6 routes between protocols, use the following commands beginning in globalconfiguration mode:

    Redistributing IPv6 IS-IS Routes Between IS-IS LevelsTo redistribute IPv6 routes learned at one IS-IS level into a different level, use the following commabeginning in global configuration mode:

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and enterouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    Step 2 Router(config-router)# address-family ipv6[ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addressfamily. By default, the router is placed in configuration mode forthe unicast IPv6 address family if theunicast keyword is notspecified with theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# redistributeprotocol [ process-id ] { level-1 [ intolevel-2 ] | level-1-2 | level-2 [ intolevel-1 ]} [ metric metric-value ][ metric-type { internal | external }][ route-map map-name]

    Redistributes a specified route into the specified IPv6 IS-ISrouting process.

    Theprotocol argument can be one of the following keywords:bgp, connected, isis, rip , or static.

    Note IPv6 IS-IS will ignore any configured redistribution ofconnected routes. IS-IS only advertises prefixes on aninterface if IS-IS is running over the interface, or if theinterface has been configured as passive.

    Command Purpose

    Step 1 Router(config)# router isis area-name Enables IS-IS for the specified IS-IS routing process, and enterouter configuration mode.

    Thearea-name argument is required for multiarea IS-ISconfiguration. The name must be unique among all IP or CLNSrouter processes for a given router.

    34

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    ate

    s

    Verifying IPv6 IS-ISEnter theshow ipv6 protocols privileged EXEC command to display the parameters and current stof the active IPv6 routing process:

    Router# show ipv6 protocols

    IPv6 Routing Protocol is "connected"IPv6 Routing Protocol is "static"IPv6 Routing Protocol is "isis" Interfaces: Ethernet0/0/3 Ethernet0/0/1 Serial1/0/1 Loopback1 (Passive) Loopback2 (Passive) Loopback3 (Passive) Loopback4 (Passive) Loopback5 (Passive) Redistribution: Redistributing protocol static at level 1 Address Summarization: L2: 33::/16 advertised with metric 0 L2: 44::/16 advertised with metric 20 L2: 66::/16 advertised with metric 10 L2: 77::/16 advertised with metric 10

    Enter theshow isis topology privileged EXEC command to display a list of all connected routersrunning IS-IS in all areas:

    Router# show isis topology

    IS-IS paths to level-1 routersSystem Id Metric Next-Hop Interface SNPA0000.0000.000C0000.0000.000D 20 0000.0000.00AA Se1/0/1 *HDLC*0000.0000.000F 10 0000.0000.000F Et0/0/1 0050.e2e5.d01d0000.0000.00AA 10 0000.0000.00AA Se1/0/1 *HDLC*

    Step 2 Router(config-router)# address-family ipv6[ unicast ]

    Specifies the IPv6 address family, and enters address familyconfiguration mode.

    Theunicast keyword specifies the unicast IPv6 unicast addresfamily. By default, the router is placed in configuration mode forthe unicast IPv6 address family if theunicast keyword is notspecified with theaddress-family ipv6 command.

    Step 3 Router(config-router-af)# redistributeprotocol { level-1 [ into level-2 ] | level-2[ into level-1 ]} distribute-listprefix-list-name

    Redistributes IPv6 routes from one IS-IS level into another IS-ISlevel.

    By default, the routes learned by Level 1 instances areredistributed by the Level 2 instance.

    Note Theprotocolargument must beisis in this configurationof the redistribute command. Only the arguments andkeywords relevant to this task are specified here.

    Command Purpose

    35

  • IPv6 for Cisco IOS Software, File 2 of 3: ConfiguringConfiguring IPv6 IS-IS

    dsses

    IS-IS paths to level-2 routersSystem Id Metric Next-Hop Interface SNPA0000.0000.000A 10 0000.0000.000A Et0/0/3 0010.f68d.f0630000.0000.000B 20 0000.0000.000A Et0/0/3 0010.f68d.f0630000.0000.000C --0000.0000.000D 30 0000.0000.000A Et0/0/3 0010.f68d.f0630000.0000.000E 30 0000.0000.000A Et0/0/3 0010.f68d.f063

    Enter theshow clns is-neighborsprivileged EXEC command to confirm that the local router has formeall the necessary IS-IS adjacencies with other IS-IS neighbors. To display the IPv6 link-local addreof the neighbors, specify thedetail keyword.

    Router# show clns is-neighbors detail

    System Id Interface State Type Priority Circuit Id Format0000.0000.00AA Se1/0/1 Up L1 0 00 Phase V Area Address(es): 49.0001 IPv6 Address(es): FE80::D0:D37C:C854:5 Uptime: 17:21:380000.0000.000F Et0/0/1 Up L1 64 0000.0000.000C.02 Phase V Area Address(es): 49.0001 IPv6 Address(es): FE80::250:E2FF:FEE5:D01D Uptime: 17:21:410000.0000.000A Et0/0/3 Up L2 64 0000.0000.000C.01 Phase V Area Address(es): 49.000b IPv6 Address(es): FE80::210:F6FF:FE8D:F063 Uptime: 17:22:06

    Enter theshow isis database detail privileged EXEC command to display LSPs received from otherrouters and the IPv6 prefixes they are advertising:

    Router# show isis database detail

    IS-IS Level-1 Link State Database:LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL0000.0000.000C.00-00* 0x00000056 0x2445 901 1/0/0 Area Address: 49.0001 NLPID: 0x8E IPv6 Address: 33:1:3:3:3:3:3