Top Banner

of 12

CCNA Portable Command Guide

Jul 07, 2018

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/18/2019 CCNA Portable Command Guide

    1/12

    CHAPTER 25

    IPv6

    This chapter provides information and commands concerning the following topics:

    • Assigning IPv6 addresses to interfaces

    • IPv6 and RIPng

    • Conguration example: IPv6 RIP

    • IPv6 tunnels: manual overlay tunnel

    • Static routes in IPv6

    • Floating static routes in IPv6

    • Verifying and troubleshooting IPv6

    • IPv6 ping

    NOTE: For an excellent overview of IPv6, I strongly recommend you readJeff Doyle’s book, Routing TCP/IP Volume I , Second Edition.

    Assigning IPv6 Addresses to Interfaces

    Router(config)#ii ii pppp vvvv 6666 uuuu nnnn ii ii cccc aaaa ssss tt tt ---- rrrr oooo uuuu tt tt ii ii nnnn gggg

    Enables the forwarding of IPV6 unicastdatagrams globally on the router.

    Router(config)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000

    Moves to interface conguration mode.

    Router(config-if)#ii ii pppp vvvv 6666 ee ee nnnn aaaa bbbb ll ll eeee Automatically congures an IPv6link-local address on the interface andenables IPv6 processing on the interface.

    NOTE : The link-local address that theipv6 enable command congures canbe used only to communicate withnodes on the same link.

    Router(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 3333 0000 0000 0000 :: :: :: :: 1111 // // 6666 4444

    Congures a global IPv6 address on theinterface and enables IPv6 processingon the interface.

    Router(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: 0000 :: :: 1111 :: :: :: :: // // 6666 4444 ee ee uuuu ii ii ---- 6666 4444

    Congures a global IPv6 address withan interface identier in the low-order64 bits of the IPv6 address.

  • 8/18/2019 CCNA Portable Command Guide

    2/12

    238 IPv6 and RIPng

    IPv6 and RIPng

    Router(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss ffff eeee 8888 0000 :: :: :: :: 2222 6666 0000 :: :: 3333 eeee ffff ffff :: :: ffff eeee 4444 7777 :: :: 1111 5555 3333 0000 // // 6666 4444 ll ll ii ii nnnn kkkk ----

    ll ll oooo cccc aaaa ll ll

    Congures a specic link-local IPv6address on the interface instead of the onethat is automatically congured whenIPv6 is enabled on the interface.

    Router(config-if)#ii ii pppp vvvv 6666 uuuu nnnn nnnn uuuu mmmmbbbb eeee rrrr eeee dddd type/number

    Species an unnumbered interface andenables IPv6 processing on the interface.The global IPv6 address of the interfacespecied by type/number will be used asthe source address.

    Router(config)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ssss eeee rrrr ii ii aaaa ll ll 0000 // // 0000

    Moves to interface conguration mode.

    Router(config-if)#ii ii pppp vvvv 6666 rr rr ii ii pppp tt tt oooo wwwweeee rrrr eeee nnnn aaaa bbbb ll ll eeee

    Creates the RIPng process named towerand enables RIPng on the interface.

    NOTE : Unlike RIPv1 and RIPv2, whereyou needed to create the RIP routingprocess with the router rip command andthen use the network command to specifythe interfaces on which to run RIP, theRIPng process is created automaticallywhen RIPng is enabled on an interfacewith the ipv6 rip name enable command.

    NOTE : Cisco IOS Softwareautomatically creates an entry in theconguration for the RIPng routingprocess when it is enabled on an interface.

    NOTE : The ipv6 router rip process-name command is still needed whenconguring optional features of RIPng.

    Router(config)#ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee rrrr rr rr ii ii pppp tt tt oooo wwwweeee rrrr

    Creates the RIPng process named tower ifit has not already been created, and movesto router conguration mode

    Router(config-router)#mm mmaaaa xxxx ii ii mmmmuuuu mmmm----pppp aaaa tt tt hhhh ssss 2222

    Denes the maximum number of equal-cost routes that RIPng can support.

    NOTE : The number of paths that can beused is a number from 1 to 64. The defaultis 4.

  • 8/18/2019 CCNA Portable Command Guide

    3/12

    Conguration Example: IPv6 RIP 239

    Conguration Example: IPv6 RIP

    Figure 25-1 illustrates the network topology for the conguration that follows, which showshow to congure IPv6 and RIPng using the commands covered in this chapter.

    Figure 25-1 Network Topology for IPv6/RIPng Conguration Example

    Austin Router

    Router>ee ee nnnn aaaa bbbb ll ll eeee Moves to privileged mode

    Router#cc cc oooo nnnn ffff ii ii gggg uuuu rrrr eeee tt tt eeee rrrr mmmmiiii nnnn aaaa ll ll Moves to global conguration mode

    Router(config)#hh hh oooo ssss tt tt nnnn aaaa mmmmeeee AA A A uuuu ssss tt tt ii ii nnnn Assigns a host name to the router

    Austin(config)#ii ii pppp vvvv 6666 uuuu nnnn ii ii cccc aaaa ssss tt tt ----rrrr oooo uuuu tt tt ii ii nnnn gggg

    Enables the forwarding of IPv6 unicastdatagrams globally on the router

    Austin(config)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000 Enters interface conguration mode

    Austin(config-if)#ii ii pppp vvvv 6666 ee ee nnnn aaaa bbbb ll ll eeee Automatically congures an IPv6 link-local address on the interface and enablesIPv6 processing on the interface

    Austin(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 2222 :: :: :: :: // // 6666 4444 ee ee uuuu ii ii ---- 6666 4444

    Congures a global IPv6 address with aninterface identier in the low-order 64 bitsof the IPv6 address

    Network2001:db8:c18:1::/64

    Network2001:db8:c18:2::/64

    fa0/0

    fa0/0

    fa0/1

    Austin

    Network2001:db8:c:18:3::/64

    Houston

    fa0/1

  • 8/18/2019 CCNA Portable Command Guide

    4/12

    240 Conguration Example: IPv6 RIP

    Houston Router

    Austin(config-if)#ii ii pppp vvvv 6666 rr rr ii ii pppp tt tt oooo wwwweeee rrrr eeee nnnn aaaa bbbb ll ll eeee

    Creates the RIPng process named towerand enables RIPng on the interface

    Austin(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Activates the interface

    Austin(config-if)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 1111

    Enters interface conguration mode

    Austin(config-if)#ii ii pppp vvvv 6666 ee ee nnnn aaaa bbbb ll ll eeee Automatically congures an IPv6 link-local address on the interface and enablesIPv6 processing on the interface

    Austin(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 1111 :: :: :: :: // // 6666 4444 ee ee uuuu ii ii ---- 6666 4444

    Congures a global IPv6 address with aninterface identier in the low-order 64 bitsof the IPv6 address

    Austin(config-if)#ii ii pppp vvvv 6666 rr rr ii ii pppp tt tt oooo wwwweeee rrrr eeee nnnn aaaa bbbb ll ll eeee

    Creates the RIPng process named towerand enables RIPng on the interface

    Austin(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Activates the interface

    Austin(config-if)#ee ee xxxx ii ii tt tt Moves to global conguration mode

    Austin(config)#ee ee xxxx ii ii tt tt Moves to privileged mode

    Austin#cc cc oooo pppp yyyy rr rr uuuu nnnn nnnn ii ii nnnn gggg ---- cccc oooo nnnn ffff ii ii gggg ssss tt tt aaaa rrrr tt tt uuuu pppp ---- cccc oooo nnnn ffff ii ii gggg

    Saves the conguration to NVRAM

    Router>ee ee nnnn aaaa bbbb ll ll eeee Moves to privileged mode

    Router#cc cc oooo nnnn ffff ii ii gggg uuuu rrrr eeee tt tt eeee rrrr mmmmiiii nnnn aaaa ll ll Moves to global conguration mode

    Router(config)#hh hh oooo ssss tt tt nnnn aaaa mmmmeeee HHHHoooo uuuu ssss tt tt oooo nnnn Assigns a host name to the router

    Houston(config)#ii ii pppp vvvv 6666 uuuu nnnn ii ii cccc aaaa ssss tt tt ----rrrr oooo uuuu tt tt ii ii nnnn gggg

    Enables the forwarding of IPv6 unicastdatagrams globally on the router

    Houston(config)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000

    Enters interface conguration mode

    Houston(config-if)#ii ii pppp vvvv 6666 ee ee nnnn aaaa bbbb ll ll eeee Automatically congures an IPv6 link-local address on the interface and enablesIPv6 processing on the interface

    Houston(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 2222 :: :: :: :: // // 6666 4444 ee ee uuuu ii ii ---- 6666 4444

    Congures a global IPv6 address with aninterface identier in the low-order 64 bitsof the IPv6 address

    Houston(config-if)#ii ii pppp vvvv 6666 rr rr ii ii pppp tt tt oooo wwwweeee rrrr eeee nnnn aaaa bbbb ll ll eeee

    Creates the RIPng process named tower

    and enables RIPng on the interface

  • 8/18/2019 CCNA Portable Command Guide

    5/12

    IPv6 Tunnels: Manual Overlay Tunnel 241

    IPv6 Tunnels: Manual Overlay Tunnel

    NOTE: Although not part of the ofcial CCNA exam objectives, the concept ofIPv6 tunnels is one that network administrators dealing with IPv6 need to becomfortable with.

    Figure 25-2 illustrates the network topology for the conguration that follows, which showshow IPv6 tunnels are created.

    Figure 25-2 Network Topology for IPv6 Tunnel Creation

    Houston(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Activates the interface

    Houston(config-if)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 1111

    Enters interface conguration mode

    Houston(config-if)#ii ii pppp vvvv 6666 ee ee nnnn aaaa bbbb ll ll eeee Automatically congures an IPv6 link-local address on the interface and enablesIPv6 processing on the interface

    Houston(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 3333 :: :: :: :: // // 6666 4444 ee ee uuuu ii ii ---- 6666 4444

    Congures a global IPv6 address with aninterface identier in the low-order 64 bitsof the IPv6 address

    Houston(config-if)#ii ii pppp vvvv 6666 rr rr ii ii pppp tt tt oooo wwwweeee rrrr eeee nnnn aaaa bbbb ll ll eeee

    Creates the RIPng process named towerand enables RIPng on the interface

    Houston(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Activates the interface

    Houston(config-if)#ee ee xxxx ii ii tt tt Moves to global conguration mode

    Houston(config)#ee ee xxxx ii ii tt tt Moves to privileged mode

    Houston#cc cc oooo pppp yyyy rr rr uuuu nnnn nnnn ii ii nnnn gggg ---- cccc oooo nnnn ffff ii ii gggg ssss tt tt aaaa rrrr tt tt uuuu pppp ---- cccc oooo nnnn ffff ii ii gggg

    Saves the conguration to NVRAM

    IPv6 Host

    Dual-StackRouter

    Dual-StackRouter

    IPv6Network

    IPv4 Tunnel

    IPv6Network

    IPv6 Host

    fa0/02001:db8:c003:111e::1/64

    s0/010.1.1.2/24

    s0/010.1.1.1/24

    fa0/02001:db8:c003:111f::1/64

    Juneau Fairbanks

    Juneau Tunnel 02001:db8:c003:1104::1/64Source S0/0 – 10.1.1.1Destination 10.1.1.2

    Fairbanks Tunnel 02001:db8:c003:1104::2/64Source S0/0 – 10.1.1.2Destination 10.1.1.1

    DCE

  • 8/18/2019 CCNA Portable Command Guide

    6/12

    242 IPv6 Tunnels: Manual Overlay Tunnel

    Juneau Router

    Router>ee ee nnnn aaaa bbbb ll ll eeee Moves to privileged modeRouter#cc cc oooo nnnn ffff ii ii gggg uuuu rrrr eeee tt tt eeee rrrr mmmmiiii nnnn aaaa ll ll Moves to global conguration mode

    Router(config)#hh hh oooo ssss tt tt nnnn aaaa mmmmeeee JJ JJ uuuu nnnn eeee aaaa uuuu Sets the host name of the router

    Juneau(config)#ii ii pppp vvvv 6666 uuuu nnnn ii ii cccc aaaa ssss tt tt ----rrrr oooo uuuu tt tt ii ii nnnn gggg

    Enables the forwarding of IPv6 unicastdatagrams globally on the router

    Juneau(config)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee tt tt uuuu nnnn nnnn eeee ll ll 0000 Moves to tunnel interface conguration

    modeJuneau(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 0000 0000 3333 :: :: 1111 1111 0000 4444 :: :: :: :: 1111 // // 6666 4444

    Assigns an IPv6 address to this interface

    Juneau(config-if)#tt tt uuuu nnnn nnnn eeee ll ll ss ss oooo uuuu rrrr cccc eeee ssss eeee rrrr ii ii aaaa ll ll 0000 // // 0000

    Species the source interface type andnumber for the tunnel interface

    Juneau(config-if)#tt tt uuuu nnnn nnnn eeee ll ll dddd eeee ssss tt tt ii ii nnnn aaaa tt tt ii ii oooo nnnn 1111 0000 .. .. 1111 .. .. 1111 .. .. 2222

    Species the destination IPv4 address forthe tunnel interface

    Juneau(config-if)#tt tt uuuu nnnn nnnn eeee ll ll mmmmoooo dddd eeee ii ii pppp vvvv 6666 ii ii pppp

    Denes a manual IPv6 tunnel; specically,that IPv6 is the passenger protocol andIPv4 is both the encapsulation andprotocol for the IPv6 tunnel

    Juneau(config-if)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000

    Moves to interface conguration mode

    Juneau(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 0000 0000 3333 :: :: 1111 1111 1111 eeee :: :: :: :: 1111 // // 6666 4444

    Assigns an IPv6 address to this interface

    Juneau(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Activates the interface

    Juneau(config-if)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ss ss eeee rrrr ii ii aaaa ll ll 0000 // // 0000

    Moves to interface conguration mode

    Juneau(config-if)#ii ii pppp aa aa dddd dddd rrrr eeee ssss ssss 1111 0000 .. .. 1111 .. .. 1111 .. .. 1111 2222 5555 5555 .. .. 2222 5555 5555 .. .. 2222 5555 5555 .. .. 2222 5555 2222

    Assigns an IPv4 address and netmask

    Juneau(config-if)#cc cc ll ll oooo cccc kkkk rr rr aaaa tt tt eeee 5555 6666 0000 0000 0000 Sets the clock rate on interface

    Juneau(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Starts the interface

    Juneau(config-if)#ee ee xxxx ii ii tt tt Moves to global conguration mode

    Juneau(config)#ee ee xxxx ii ii tt tt Moves to privileged mode

    Juneau#cc cc oooo pppp yyyy rr rr uuuu nnnn nnnn ii ii nnnn gggg ---- cccc oooo nnnn ffff ii ii gggg ssss tt tt aaaa rrrr tt tt uuuu pppp ---- cccc oooo nnnn ffff ii ii gggg

    Saves the conguration to NVRAM

  • 8/18/2019 CCNA Portable Command Guide

    7/12

    IPv6 Tunnels: Manual Overlay Tunnel 243

    Fairbanks Router

    Router>ee ee nnnn aaaa bbbb ll ll eeee Moves to privileged modeRouter#cc cc oooo nnnn ffff ii ii gggg uuuu rrrr eeee tt tt eeee rrrr mmmmiiii nnnn aaaa ll ll Moves to global conguration mode

    Router(config)#hh hh oooo ssss tt tt nnnn aaaa mmmmeeee FFFFaaaa ii ii rrrr bbbb aaaa nnnn kkkk ssss Sets the host name of the router

    Fairbanks(config)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee tt tt uuuu nnnn nnnn eeee ll ll 0000

    Moves to tunnel interface congurationmode

    Fairbanks(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 0000 0000 3333 :: :: 1111 1111 0000 4444 :: :: :: :: 2222 // // 6666 4444

    Assigns an IPv6 address to this interface

    Fairbanks(config-if)#tt tt uuuu nnnn nnnn eeee ll ll ss ss oooo uuuu rrrr cccc eeee ssss eeee rrrr ii ii aaaa ll ll 0000 // // 0000

    Species the source interface type andnumber for the tunnel interface

    Fairbanks(config-if)#tt tt uuuu nnnn nnnn eeee ll ll dddd eeee ssss tt tt ii ii nnnn aaaa tt tt ii ii oooo nnnn 1111 0000 .. .. 1111 .. .. 1111 .. .. 1111

    Species the destination IPv4 address forthe tunnel interface

    Fairbanks(config-if)#tt tt uuuu nnnn nnnn eeee ll ll mmmmoooo dddd eeee ii ii pppp vvvv 6666 ii ii pppp

    Denes a manual IPv6 tunnel; specically,that IPv6 is the passenger protocol andIPv4 is both the encapsulation andprotocol for the IPv6 tunnel

    Fairbanks(config-if)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ffff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000

    Moves to interface conguration mode

    Fairbanks(config-if)#ii ii pppp vvvv 6666 aa aa dddd dddd rrrr eeee ssss ssss 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 0000 0000 3333 :: :: 1111 1111 1111 ffff :: :: :: :: 1111 // // 6666 4444

    Assigns an IPv6 address to this interface

    Fairbanks(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Activates the interface

    Fairbanks(config-if)#ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ssss eeee rrrr ii ii aaaa ll ll 0000 // // 0000 Moves to interface conguration mode

    Fairbanks(config-if)#ii ii pppp aa aa dddd dddd rrrr eeee ssss ssss 1111 0000 .. .. 1111 .. .. 1111 .. .. 2222 2222 5555 5555 .. .. 2222 5555 5555 .. .. 2222 5555 5555 .. .. 2222 5555 2222

    Assigns an IPv4 address and netmask

    Fairbanks(config-if)#nn nn oooo ss ss hhhh uuuu tt tt dddd oooo wwwwnnnn Starts the interface

    Fairbanks(config-if)#ee ee xxxx ii ii tt tt Moves to global conguration mode

    Fairbanks(config)#ee ee xxxx ii ii tt tt Moves to privileged mode

    Fairbanks#cc cc oooo pppp yyyy rr rr uuuu nnnn nnnn ii ii nnnn gggg ---- cccc oooo nnnn ffff ii ii gggg ssss tt tt aaaa rrrr tt tt uuuu pppp ---- cccc oooo nnnn ffff ii ii gggg

    Saves the conguration to NVRAM

  • 8/18/2019 CCNA Portable Command Guide

    8/12

    244 Static Routes in IPv6

    Static Routes in IPv6

    NOTE: Although not part of the CCNA exam objectives, the concept of staticroutes in IPv6 is one that network administrators dealing with IPv6 need to becomfortable with.

    NOTE: To create a static route in IPv6, you use the same format as creating astatic route in IPv4.

    Figure 25-3 illustrates the network topology for the conguration that follows, which showshow to congure static routes with IPv6. Note that only the static routes on the Austinrouter are displayed.

    Figure 25-3 Network Topology for IPv6 Static Route Conguration

    Austin(config)#ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 3333 :: :: :: :: // // 6666 4444 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 2222 :: :: :: :: 2222 // // 6666 4444

    Creates a static route congured to sendall packets to a next-hop address of2001:db8:c18:2::2

    Austin(config)#ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 3333 :: :: :: :: // // 6666 4444 ff ff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000

    Creates a directly attached static routecongured to send packets out interfacefastethernet 0/0

    Austin(config)#ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 3333 :: :: :: :: // // 6666 4444 ff ff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 2222 :: :: :: :: 2222

    Creates a fully specied static route on abroadcast interface

    Network2001:db8:c18:1::/64

    Network2001:db8:c18:2::/64

    fa0/0

    fa0/0

    2001:db8:c18:2::1/64

    2001:db8:c18:2::2/64

    fa0/1

    Austin

    Network2001:db8:c:18:3::/64

    Houston

    fa0/1

  • 8/18/2019 CCNA Portable Command Guide

    9/12

    Verifying and Troubleshooting IPv6 245

    Floating Static Routes in IPv6

    NOTE: Although not part of the CCNA exam objectives, the concept of oatingstatic routes in IPv6 is one that network administrators dealing with IPv6 need tobe comfortable with.

    To create a static route with an administrative distance (AD) set to 200, as opposed thedefault AD of one (1), enter the following command, for example:

    Austin(config)# ii ii pppp vvvv 6666 rr rr oooo uuuu tttt eeee 2222 0000 0000 1111 :::: dddd bbbb 8888 :::: cccc 1111 8888 :::: 3333 :: :: :: :: // // 6666 4444 ff ff aaaa ssss tt tt eeee tt tt hhhh eeee rrrr nnnn eeee tt tt 0000 // // 0000 2222 0000 0000

    The default ADs used in IPv4 are the same for IPv6.

    Verifying and Troubleshooting IPv6

    CAUTION: Using the debug command may severely affect router performanceand might even cause the router to reboot. Always exercise caution when usingthe debug command. Do not leave debug on. Use it long enough to gatherneeded information, and then disable debugging with the undebug all command.

    TIP: Send your debug output to a syslog server to ensure you have a copy of itin case your router is overloaded and needs to reboot.

    Router#cc cc ll ll eeee aaaa rrrr ii ii pppp vvvv 6666 rr rr ii ii pppp Deletes routes from the IPv6 RIP routingtable and, if installed, routes in the IPv6routing table

    Router#cc cc ll ll eeee aaaa rrrr ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee **** Deletes all routes from the IPv6 routing

    tableNOTE : Clearing all routes from therouting table will cause high CPUutilization rates as the routing table isrebuilt.

    Router#cc cc ll ll eeee aaaa rrrr ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: cccc 1111 8888 :: :: 3333 :: :: :: :: // // 6666 4444

    Clears this specic route from the IPv6routing table.

    Router#cc cc ll ll eeee aaaa rrrr ii ii pppp vvvv 6666 tt tt rrrr aaaa ffff ffff ii ii cccc Resets IPv6 trafc counters.Router#dd dd eeee bbbb uuuu gggg ii ii pppp vvvv 6666 pppp aaaa cccc kkkk eeee tt tt Displays debug messages for IPv6

    packets.

    Router#dd dd eeee bbbb uuuu gggg ii ii pppp vvvv 6666 rr rr ii ii pppp Displays debug messages for IPv6 RIProuting transactions.

  • 8/18/2019 CCNA Portable Command Guide

    10/12

    246 Verifying and Troubleshooting IPv6

    Router#dd dd eeee bbbb uuuu gggg ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt ii ii nnnn gggg Displays debug messages for IPv6 routingtable updates and route cache updates.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee Displays the status of interfacescongured for IPv6.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee bbbb rrrr ii ii eeee ffff Displays a summarized status of interfacescongured for IPv6.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 nnnn eeee ii ii gggg hhhh bbbb oooo rrrr ssss Displays IPv6 neighbor discovery cacheinformation.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 pppp rrrr oooo tt tt oooo cccc oooo ll ll ssss Displays the parameters and current stateof the active IPv6 routing protocolprocesses.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 rr rr ii ii pppp Displays information about the currentIPv6 RIP process.

    Router## ## ssss hhhh oooo wwww ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee Displays the current IPv6 routing table.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee ss ss uuuu mmmmmmmmaaaa rrrr yyyy Displays a summarized form of thecurrent IPv6 routing table.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 rr rr oooo uuuu tt tt eeee rrrr ssss Displays IPv6 router advertisementinformation received from other routers.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 ss ss tt tt aaaa tt tt ii ii cccc Displays only static IPv6 routes installedin the routing table.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 ss ss tt tt aaaa tt tt ii ii cccc 2222 0000 0000 1111 :: :: dddd bbbb 8888 :: :: 5555 5555 5555 5555 :: :: 0000 // // 1111 6666

    Displays only static route information

    about the specic address given.Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 ss ss tt tt aaaa tt tt ii ii cccc ii ii nnnn tt tt eeee rrrr ffff aaaa cccc eeee ssss eeee rrrr ii ii aaaa ll ll 0000 // // 0000

    Displays only static route informationwith the specied interface as theoutgoing interface.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 ss ss tt tt aaaa tt tt ii ii cccc dddd eeee tt tt aaaa ii ii ll ll Displays a more detailed entry for IPv6static routes.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 tt tt rrrr aaaa ffff ffff ii ii cccc Displays statistics about IPv6 trafc.

    Router#ss ss hhhh oooo wwww ii ii pppp vvvv 6666 tt tt uuuu nnnn nnnn eeee ll ll Displays IPv6 tunnel information.

  • 8/18/2019 CCNA Portable Command Guide

    11/12

    IPv6 Ping 247

    IPv6 Ping

    To diagnose basic network connectivity using IPv6 to the specied address, enter thefollowing command:

    Router#pp pp iiii nnnn gggg ii ii pppp vvvv 6666 2222 0000 0000 1111 :::: dddd bbbb 8888 :::: :: :: 3333 // // 6666 4444

    The following characters can be displayed as output when using PING in IPv6.

    Character Description

    ! Each exclamation point indicates receipt of a reply.. Each period indicates that the network server timed out while waiting for

    a reply.

    ? Unknown error.

    @ Unreachable for unknown reason.

    A Administratively unreachable. Usually means that an access control list(ACL) is blocking trafc.

    B Packet too big.

    H Host unreachable.

    N Network unreachable (beyond scope).

    P Port unreachable.

    R Parameter problem.

    T Time exceeded.

    U No route to host.

  • 8/18/2019 CCNA Portable Command Guide

    12/12