I Pv 6

ballscauliflowerSoftware and s/w Development

Jun 30, 2012 (5 years and 2 months ago)

683 views

CHAPTER 25
IPv6
This chapter provides information and commands concerning the following topics:
• Assigning IPv6 addresses to interfaces
• IPv6 and RIPng
• Configuration 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 read
Jeff Doyle’s book, Routing TCP/IP Volume I, Second Edition.
Assigning IPv6 Addresses to Interfaces
Router(config)#
ii
iipp
ppvv
vv66
66

uu
uu
nn
nn
ii
ii
cc
cc
aa
aa
ss
ss
tt
tt
--
--
rr
rr
oo
oo
uu
uu
tt
tt
ii
ii
nn
nn
gg
gg
Enables the forwarding of IPV6 unicast
datagrams globally on the router.
Router(config)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
00
00
Moves to interface configuration mode.
Router(config-if)#
ii
iipp
ppvv
vv66
66
ee
eenn
nnaa
aabb
bbll
llee
ee
Automatically configures an IPv6
link-local address on the interface and
enables IPv6 processing on the interface.
NOTE:The link-local address that the
ipv6 enable command configures can
be used only to communicate with
nodes on the same link.
Router(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

33
33
00
00
00
00
00
00
::
::
::
::
11
11
//
//
66
66
44
44
Configures a global IPv6 address on the
interface and enables IPv6 processing
on the interface.
Router(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
00
00
::
::
11
11
::
::
::
::
//
//
66
66
44
44


ee
ee
uu
uu
ii
ii
--
--
66
66
44
44
Configures a global IPv6 address with
an interface identifier in the low-order
64 bits of the IPv6 address.
238 IPv6 and RIPng
IPv6 and RIPng
Router(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

ff
ff
ee
ee
88
88
00
00
::
::
::
::
22
22
66
66
00
00
::
::
33
33
ee
ee
ff
ff
ff
ff
::
::
ff
ff
ee
ee
44
44
77
77
::
::
11
11
55
55
33
33
00
00
//
//
66
66
44
44


ll
ll
ii
ii
nn
nn
kk
kk
--
--
ll
lloo
oocc
ccaa
aall
ll
Configures a specific link-local IPv6
address on the interface instead of the one
that is automatically configured when
IPv6 is enabled on the interface.
Router(config-if)#
ii
iipp
ppvv
vv66
66
uu
uunn
nnnn
nnuu
uumm
mmbb
bbee
eerr
rree
eedd
dd

type/number
Specifies an unnumbered interface and
enables IPv6 processing on the interface.
The global IPv6 address of the interface
specified by type/number will be used as
the source address.
Router(config)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ss
ss
ee
ee
rr
rr
ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
Moves to interface configuration mode.
Router(config-if)#
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
tt
ttoo
ooww
wwee
eerr
rr

ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Creates the RIPng process named tower
and enables RIPng on the interface.
NOTE:Unlike RIPv1 and RIPv2, where
you needed to create the RIP routing
process with the router rip command and
then use the network command to specify
the interfaces on which to run RIP, the
RIPng process is created automatically
when RIPng is enabled on an interface
with the ipv6 rip name enable command.
NOTE:Cisco IOS Software
automatically creates an entry in the
configuration for the RIPng routing
process when it is enabled on an interface.
NOTE:The ipv6 router rip process-
name command is still needed when
configuring optional features of RIPng.
Router(config)#
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
eerr
rr
rr
rrii
iipp
pp

tt
tt
oo
oo
ww
ww
ee
ee
rr
rr
Creates the RIPng process named tower if
it has not already been created, and moves
to router configuration mode
Router(config-router)#
mm
mmaa
aaxx
xxii
iimm
mmuu
uumm
mm--
--
pp
pp
aa
aa
tt
tt
hh
hh
ss
ss


22
22
Defines the maximum number of equal-
cost routes that RIPng can support.
NOTE:The number of paths that can be
used is a number from 1 to 64. The default
is 4.
Configuration Example: IPv6 RIP 239
Configuration Example: IPv6 RIP
Figure 25-1 illustrates the network topology for the configuration that follows, which shows
how to configure IPv6 and RIPng using the commands covered in this chapter.
Figure 25-1 Network Topology for IPv6/RIPng Configuration Example
Austin Router
Router>
ee
eenn
nnaa
aabb
bbll
llee
ee
Moves to privileged mode
Router#
cc
ccoo
oonn
nnff
ffii
iigg
gguu
uurr
rree
ee
tt
ttee
eerr
rrmm
mmii
iinn
nnaa
aall
ll
Moves to global configuration mode
Router(config)#
hh
hhoo
ooss
sstt
ttnn
nnaa
aamm
mmee
ee
AA
AAuu
uuss
sstt
ttii
iinn
nn
Assigns a host name to the router
Austin(config)#
ii
iipp
ppvv
vv66
66
uu
uunn
nnii
iicc
ccaa
aass
sstt
tt--
--
rr
rr
oo
oo
uu
uu
tt
tt
ii
ii
nn
nn
gg
gg
Enables the forwarding of IPv6 unicast
datagrams globally on the router
Austin(config)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
00
00
Enters interface configuration mode
Austin(config-if)#
ii
iipp
ppvv
vv66
66
ee
eenn
nnaa
aabb
bbll
llee
ee
Automatically configures an IPv6 link-
local address on the interface and enables
IPv6 processing on the interface
Austin(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
22
22
::
::
::
::
//
//
66
66
44
44


ee
ee
uu
uu
ii
ii
--
--
66
66
44
44
Configures a global IPv6 address with an
interface identifier in the low-order 64 bits
of the IPv6 address
Network
2001:db8:c18:1::/64
Network
2001:db8:c18:2::/64
fa0/0
fa0/0
fa0/1
Austin
Network
2001:db8:c:18:3::/64
Houston
fa0/1
240 Configuration Example: IPv6 RIP
Houston Router
Austin(config-if)#
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
tt
ttoo
ooww
wwee
eerr
rr

ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Creates the RIPng process named tower
and enables RIPng on the interface
Austin(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Activates the interface
Austin(config-if)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
11
11
Enters interface configuration mode
Austin(config-if)#
ii
iipp
ppvv
vv66
66
ee
eenn
nnaa
aabb
bbll
llee
ee
Automatically configures an IPv6 link-
local address on the interface and enables
IPv6 processing on the interface
Austin(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
11
11
::
::
::
::
//
//
66
66
44
44


ee
ee
uu
uu
ii
ii
--
--
66
66
44
44
Configures a global IPv6 address with an
interface identifier in the low-order 64 bits
of the IPv6 address
Austin(config-if)#
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
tt
ttoo
ooww
wwee
eerr
rr

ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Creates the RIPng process named tower
and enables RIPng on the interface
Austin(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Activates the interface
Austin(config-if)#
ee
eexx
xxii
iitt
tt
Moves to global configuration mode
Austin(config)#
ee
eexx
xxii
iitt
tt
Moves to privileged mode
Austin#
cc
ccoo
oopp
ppyy
yy
rr
rruu
uunn
nnnn
nnii
iinn
nngg
gg--
--cc
ccoo
oonn
nnff
ffii
iigg
gg

ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
uu
uu
pp
pp
--
--
cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM
Router>
ee
eenn
nnaa
aabb
bbll
llee
ee
Moves to privileged mode
Router#
cc
ccoo
oonn
nnff
ffii
iigg
gguu
uurr
rree
ee
tt
ttee
eerr
rrmm
mmii
iinn
nnaa
aall
ll
Moves to global configuration mode
Router(config)#
hh
hhoo
ooss
sstt
ttnn
nnaa
aamm
mmee
ee
HH
HHoo
oouu
uuss
sstt
ttoo
oonn
nn

Assigns a host name to the router
Houston(config)#
ii
iipp
ppvv
vv66
66
uu
uunn
nnii
iicc
ccaa
aass
sstt
tt--
--
rr
rr
oo
oo
uu
uu
tt
tt
ii
ii
nn
nn
gg
gg
Enables the forwarding of IPv6 unicast
datagrams globally on the router
Houston(config)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
00
00
Enters interface configuration mode
Houston(config-if)#
ii
iipp
ppvv
vv66
66
ee
eenn
nnaa
aabb
bbll
llee
ee
Automatically configures an IPv6 link-
local address on the interface and enables
IPv6 processing on the interface
Houston(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
22
22
::
::
::
::
//
//
66
66
44
44


ee
ee
uu
uu
ii
ii
--
--
66
66
44
44
Configures a global IPv6 address with an
interface identifier in the low-order 64 bits
of the IPv6 address
Houston(config-if)#
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
tt
ttoo
ooww
wwee
eerr
rr

ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Creates the RIPng process named tower
and enables RIPng on the interface
IPv6 Tunnels: Manual Overlay Tunnel 241
IPv6 Tunnels: Manual Overlay Tunnel
NOTE:Although not part of the official CCNA exam objectives, the concept of
IPv6 tunnels is one that network administrators dealing with IPv6 need to be
comfortable with.
Figure 25-2 illustrates the network topology for the configuration that follows, which shows
how IPv6 tunnels are created.
Figure 25-2 Network Topology for IPv6 Tunnel Creation
Houston(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Activates the interface
Houston(config-if)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
11
11
Enters interface configuration mode
Houston(config-if)#
ii
iipp
ppvv
vv66
66
ee
eenn
nnaa
aabb
bbll
llee
ee
Automatically configures an IPv6 link-
local address on the interface and enables
IPv6 processing on the interface
Houston(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
33
33
::
::
::
::
//
//
66
66
44
44


ee
ee
uu
uu
ii
ii
--
--
66
66
44
44
Configures a global IPv6 address with an
interface identifier in the low-order 64 bits
of the IPv6 address
Houston(config-if)#
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
tt
ttoo
ooww
wwee
eerr
rr

ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Creates the RIPng process named tower
and enables RIPng on the interface
Houston(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Activates the interface
Houston(config-if)#
ee
eexx
xxii
iitt
tt
Moves to global configuration mode
Houston(config)#
ee
eexx
xxii
iitt
tt
Moves to privileged mode
Houston#
cc
ccoo
oopp
ppyy
yy
rr
rruu
uunn
nnnn
nnii
iinn
nngg
gg--
--cc
ccoo
oonn
nnff
ffii
iigg
gg

ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
uu
uu
pp
pp
--
--
cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM
IPv6 Host
Dual-Stack
Router
Dual-Stack
Router
IPv6
Network
IPv4 Tunnel
IPv6
Network
IPv6 Host
fa0/0
2001:db8:c003:111e::1/64
s0/0
10.1.1.2/24
s0/0
10.1.1.1/24
fa0/0
2001:db8:c003:111f::1/64
Juneau
Fairbanks
Juneau Tunnel 0
2001:db8:c003:1104::1/64
Source S0/0 – 10.1.1.1
Destination 10.1.1.2
Fairbanks Tunnel 0
2001:db8:c003:1104::2/64
Source S0/0 – 10.1.1.2
Destination 10.1.1.1
DCE
242 IPv6 Tunnels: Manual Overlay Tunnel
Juneau Router
Router>
ee
eenn
nnaa
aabb
bbll
llee
ee
Moves to privileged mode
Router#
cc
ccoo
oonn
nnff
ffii
iigg
gguu
uurr
rree
ee
tt
ttee
eerr
rrmm
mmii
iinn
nnaa
aall
ll
Moves to global configuration mode
Router(config)#
hh
hhoo
ooss
sstt
ttnn
nnaa
aamm
mmee
ee
JJ
JJuu
uunn
nnee
eeaa
aauu
uu
Sets the host name of the router
Juneau(config)#
ii
iipp
ppvv
vv66
66
uu
uunn
nnii
iicc
ccaa
aass
sstt
tt--
--
rr
rr
oo
oo
uu
uu
tt
tt
ii
ii
nn
nn
gg
gg
Enables the forwarding of IPv6 unicast
datagrams globally on the router
Juneau(config)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee
tt
ttuu
uunn
nnnn
nnee
eell
ll00
00
Moves to tunnel interface configuration
mode
Juneau(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
33
33
::
::
11
11
11
11
00
00
44
44
::
::
::
::
11
11
//
//
66
66
44
44
Assigns an IPv6 address to this interface
Juneau(config-if)#
tt
ttuu
uunn
nnnn
nnee
eell
ll
ss
ssoo
oouu
uurr
rrcc
ccee
ee

ss
ss
ee
ee
rr
rr
ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
Specifies the source interface type and
number for the tunnel interface
Juneau(config-if)#
tt
ttuu
uunn
nnnn
nnee
eell
ll

dd
dd
ee
ee
ss
ss
tt
tt
ii
ii
nn
nn
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


11
11
00
00
..
..
11
11
..
..
11
11
..
..
22
22
Specifies the destination IPv4 address for
the tunnel interface
Juneau(config-if)#
tt
ttuu
uunn
nnnn
nnee
eell
ll
mm
mmoo
oodd
ddee
ee

ii
ii
pp
pp
vv
vv
66
66
ii
ii
pp
pp
Defines a manual IPv6 tunnel; specifically,
that IPv6 is the passenger protocol and
IPv4 is both the encapsulation and
protocol for the IPv6 tunnel
Juneau(config-if)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
00
00
Moves to interface configuration mode
Juneau(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
33
33
::
::
11
11
11
11
11
11
ee
ee
::
::
::
::
11
11
//
//
66
66
44
44
Assigns an IPv6 address to this interface
Juneau(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Activates the interface
Juneau(config-if)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee
ss
ssee
eerr
rrii
iiaa
aall
ll

00
00
//
//
00
00
Moves to interface configuration mode
Juneau(config-if)#
ii
iipp
pp
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

11
11
00
00
..
..
11
11
..
..
11
11
..
..
11
11


22
22
55
55
55
55
..
..
22
22
55
55
55
55
..
..
22
22
55
55
55
55
..
..
22
22
55
55
22
22
Assigns an IPv4 address and netmask
Juneau(config-if)#
cc
ccll
lloo
oocc
cckk
kk
rr
rraa
aatt
ttee
ee
55
5566
6600
0000
0000
00
Sets the clock rate on interface
Juneau(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Starts the interface
Juneau(config-if)#
ee
eexx
xxii
iitt
tt
Moves to global configuration mode
Juneau(config)#
ee
eexx
xxii
iitt
tt
Moves to privileged mode
Juneau#
cc
ccoo
oopp
ppyy
yy
rr
rruu
uunn
nnnn
nnii
iinn
nngg
gg--
--cc
ccoo
oonn
nnff
ffii
iigg
gg

ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
uu
uu
pp
pp
--
--
cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM
IPv6 Tunnels: Manual Overlay Tunnel 243
Fairbanks Router
Router>
ee
eenn
nnaa
aabb
bbll
llee
ee
Moves to privileged mode
Router#
cc
ccoo
oonn
nnff
ffii
iigg
gguu
uurr
rree
ee
tt
ttee
eerr
rrmm
mmii
iinn
nnaa
aall
ll
Moves to global configuration mode
Router(config)#
hh
hhoo
ooss
sstt
ttnn
nnaa
aamm
mmee
ee
FF
FFaa
aaii
iirr
rrbb
bbaa
aann
nnkk
kkss
ss
Sets the host name of the router
Fairbanks(config)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

tt
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
ll
00
00
Moves to tunnel interface configuration
mode
Fairbanks(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
33
33
::
::
11
11
11
11
00
00
44
44
::
::
::
::
22
22
//
//
66
66
44
44
Assigns an IPv6 address to this interface
Fairbanks(config-if)#
tt
ttuu
uunn
nnnn
nnee
eell
ll
ss
ssoo
oouu
uurr
rrcc
ccee
ee

ss
ss
ee
ee
rr
rr
ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
Specifies the source interface type and
number for the tunnel interface
Fairbanks(config-if)#
tt
ttuu
uunn
nnnn
nnee
eell
ll

dd
dd
ee
ee
ss
ss
tt
tt
ii
ii
nn
nn
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


11
11
00
00
..
..
11
11
..
..
11
11
..
..
11
11
Specifies the destination IPv4 address for
the tunnel interface
Fairbanks(config-if)#
tt
ttuu
uunn
nnnn
nnee
eell
ll
mm
mmoo
oodd
ddee
ee

ii
ii
pp
pp
vv
vv
66
66
ii
ii
pp
pp
Defines a manual IPv6 tunnel; specifically,
that IPv6 is the passenger protocol and
IPv4 is both the encapsulation and
protocol for the IPv6 tunnel
Fairbanks(config-if)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00
//
//
00
00
Moves to interface configuration mode
Fairbanks(config-if)#
ii
iipp
ppvv
vv66
66
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
33
33
::
::
11
11
11
11
11
11
ff
ff
::
::
::
::
11
11
//
//
66
66
44
44
Assigns an IPv6 address to this interface
Fairbanks(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Activates the interface
Fairbanks(config-if)#
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ss
ss
ee
ee
rr
rr
ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
Moves to interface configuration mode
Fairbanks(config-if)#
ii
iipp
pp
aa
aadd
dddd
ddrr
rree
eess
ssss
ss

11
11
00
00
..
..
11
11
..
..
11
11
..
..
22
22


22
22
55
55
55
55
..
..
22
22
55
55
55
55
..
..
22
22
55
55
55
55
..
..
22
22
55
55
22
22
Assigns an IPv4 address and netmask
Fairbanks(config-if)#
nn
nnoo
oo
ss
sshh
hhuu
uutt
ttdd
ddoo
ooww
wwnn
nn
Starts the interface
Fairbanks(config-if)#
ee
eexx
xxii
iitt
tt
Moves to global configuration mode
Fairbanks(config)#
ee
eexx
xxii
iitt
tt
Moves to privileged mode
Fairbanks#
cc
ccoo
oopp
ppyy
yy
rr
rruu
uunn
nnnn
nnii
iinn
nngg
gg--
--cc
ccoo
oonn
nnff
ffii
iigg
gg

ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
uu
uu
pp
pp
--
--
cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM
244 Static Routes in IPv6
Static Routes in IPv6
NOTE:Although not part of the CCNA exam objectives, the concept of static
routes in IPv6 is one that network administrators dealing with IPv6 need to be
comfortable with.
NOTE:To create a static route in IPv6, you use the same format as creating a
static route in IPv4.
Figure 25-3 illustrates the network topology for the configuration that follows, which shows
how to configure static routes with IPv6. Note that only the static routes on the Austin
router are displayed.
Figure 25-3 Network Topology for IPv6 Static Route Configuration
Austin(config)#
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
33
33
::
::
::
::
//
//
66
66
44
44


22
2200
0000
0011
11::
::dd
ddbb
bb88
88::
::cc
cc11
1188
88::
::22
22::
::::
::22
22//
//66
6644
44

Creates a static route configured to send
all packets to a next-hop address of
2001:db8:c18:2::2
Austin(config)#
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
33
33
::
::
::
::
//
//
66
66
44
44


ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00//
//00
00
Creates a directly attached static route
configured to send packets out interface
fastethernet 0/0
Austin(config)#
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
33
33
::
::
::
::
//
//
66
66
44
44




ff
ff
aa
aa
ss
ss
tt
tt
ee
ee
tt
tt
hh
hh
ee
ee
rr
rr
nn
nn
ee
ee
tt
tt


00
00//
//00
00
22
2200
0000
0011
11::
::dd
ddbb
bb88
88::
::cc
cc11
1188
88::
::22
22::
::::
::22
22
Creates a fully specified static route on a
broadcast interface
Network
2001:db8:c18:1::/64
Network
2001:db8:c18:2::/64
fa0/0
fa0/0
2001:db8:c18:2::1/64
2001:db8:c18:2::2/64
fa0/1
Austin
Network
2001:db8:c:18:3::/64
Houston
fa0/1
Verifying and Troubleshooting IPv6 245
Floating Static Routes in IPv6
NOTE: Although not part of the CCNA exam objectives, the concept of floating
static routes in IPv6 is one that network administrators dealing with IPv6 need to
be comfortable with.
To create a static route with an administrative distance (AD) set to 200, as opposed the
default AD of one (1), enter the following command, for example:
Austin(config)#
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee
22
2200
0000
0011
11::
::dd
ddbb
bb88
88::
::cc
cc11
1188
88::
::33
33::
::::
:://
//66
6644
44
ff
ffaa
aass
sstt
ttee
eett
tthh
hhee
eerr
rrnn
nnee
eett
tt
00
00//
//00
00
22
2200
0000
00
The default ADs used in IPv4 are the same for IPv6.
Verifying and Troubleshooting IPv6
CAUTION:Using the debug command may severely affect router performance
and might even cause the router to reboot. Always exercise caution when using
the debug command. Do not leave debug on. Use it long enough to gather
needed 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 it
in case your router is overloaded and needs to reboot.
Router#
cc
ccll
llee
eeaa
aarr
rr
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
Deletes routes from the IPv6 RIP routing
table and, if installed, routes in the IPv6
routing table
Router#
cc
ccll
llee
eeaa
aarr
rr
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee
**
**
Deletes all routes from the IPv6 routing
table
NOTE:Clearing all routes from the
routing table will cause high CPU
utilization rates as the routing table is
rebuilt.
Router#
cc
ccll
llee
eeaa
aarr
rr
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
88
::
::
33
33
::
::
::
::
//
//
66
66
44
44
Clears this specific route from the IPv6
routing table.
Router#
cc
ccll
llee
eeaa
aarr
rr
ii
iipp
ppvv
vv66
66
tt
ttrr
rraa
aaff
ffff
ffii
iicc
cc
Resets IPv6 traffic counters.
Router#
dd
ddee
eebb
bbuu
uugg
gg
ii
iipp
ppvv
vv66
66
pp
ppaa
aacc
cckk
kkee
eett
tt
Displays debug messages for IPv6
packets.
Router#
dd
ddee
eebb
bbuu
uugg
gg
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
Displays debug messages for IPv6 RIP
routing transactions.
246 Verifying and Troubleshooting IPv6
Router#
dd
ddee
eebb
bbuu
uugg
gg
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttii
iinn
nngg
gg
Displays debug messages for IPv6 routing
table updates and route cache updates.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee
Displays the status of interfaces
configured for IPv6.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee
bb
bbrr
rrii
iiee
eeff
ff
Displays a summarized status of interfaces
configured for IPv6.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
nn
nnee
eeii
iigg
gghh
hhbb
bboo
oorr
rrss
ss
Displays IPv6 neighbor discovery cache
information.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
pp
pprr
rroo
oott
ttoo
oocc
ccoo
ooll
llss
ss
Displays the parameters and current state
of the active IPv6 routing protocol
processes.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
rr
rrii
iipp
pp
Displays information about the current
IPv6 RIP process.
Router
##
##ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee
Displays the current IPv6 routing table.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
ee
ss
ssuu
uumm
mmmm
mmaa
aarr
rryy
yy
Displays a summarized form of the
current IPv6 routing table.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
rr
rroo
oouu
uutt
ttee
eerr
rrss
ss
Displays IPv6 router advertisement
information received from other routers.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
ss
sstt
ttaa
aatt
ttii
iicc
cc
Displays only static IPv6 routes installed
in the routing table.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
ss
sstt
ttaa
aatt
ttii
iicc
cc

22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
55
55
55
55
55
55
55
55
::
::
00
00
//
//
11
11
66
66
Displays only static route information
about the specific address given.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
ss
sstt
ttaa
aatt
ttii
iicc
cc
ii
iinn
nntt
ttee
eerr
rrff
ffaa
aacc
ccee
ee

ss
ss
ee
ee
rr
rr
ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
Displays only static route information
with the specified interface as the
outgoing interface.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
ss
sstt
ttaa
aatt
ttii
iicc
cc
dd
ddee
eett
ttaa
aaii
iill
ll
Displays a more detailed entry for IPv6
static routes.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
tt
ttrr
rraa
aaff
ffff
ffii
iicc
cc
Displays statistics about IPv6 traffic.
Router#
ss
sshh
hhoo
ooww
ww
ii
iipp
ppvv
vv66
66
tt
ttuu
uunn
nnnn
nnee
eell
ll
Displays IPv6 tunnel information.
IPv6 Ping 247
IPv6 Ping
To diagnose basic network connectivity using IPv6 to the specified address, enter the
following command:
Router#
pp
ppii
iinn
nngg
gg
ii
iipp
ppvv
vv66
66
22
2200
0000
0011
11::
::dd
ddbb
bb88
88::
::::
::33
33//
//66
6644
44
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 traffic.
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.