Tải bản đầy đủ (.pdf) (38 trang)

cisco press ccna portable command guide 2nd edition 640 802 phần 8 doc

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (5.04 MB, 38 trang )

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
nn
oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Activates the interface


Houston(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
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
//
//
1
1
11
Enters interface configuration mode
Houston(config-if)#ii
ii
pp
pp
vv
vv

66
66


ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Automatically configures an IPv6 link-
local address on the interface and enables
IPv6 processing on the interface
Houston(config-if)#ii
ii
pp
pp
vv
vv
66
66


aa

aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
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
ii
pp
pp
vv
vv
66
66


rr
rr
ii
ii
pp
pp


tt

tt
oo
oo
ww
ww
ee
ee
rr
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
nn
oo
oo



ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Activates the interface
Houston(config-if)#ee
ee
xx
xx
ii
ii
tt
tt
Moves to global configuration mode
Houston(config)#ee
ee
xx

xx
ii
ii
tt
tt
Moves to privileged mode
Houston#cc
cc
oo
oo
pp
pp
yy
yy


rr
rr
uu
uu
nn
nn
nn
nn
ii
ii
nn
nn
gg
gg



cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg


ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
u
u
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
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee

Moves to privileged mode
Router#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
uu
uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii

ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode
Router(config)#hh
hh
oo
oo
ss
ss
tt
tt
nn
nn
aa
aa
mm
mm
ee
ee


JJ
JJ
uu
uu

nn
nn
ee
ee
aa
aa
uu
uu
Sets the host name of the router
Juneau(config)#ii
ii
pp
pp
vv
vv
66
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
Juneau(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr

rr
ff
ff
aa
aa
cc
cc
ee
ee


tt
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
ll
00
00
Moves to tunnel interface configuration
mode
Juneau(config-if)#ii
ii
pp

pp
vv
vv
66
66


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss


22
22
00
00
00
00
11

11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
3
3
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
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
ll


ss
ss
oo

oo
uu
uu
rr
rr
cc
cc
ee
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
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
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
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
ll


mm
mm
oo
oo
dd
dd
ee
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
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
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
//
//

0
0
00
Moves to interface configuration mode
Juneau(config-if)#ii
ii
pp
pp
vv
vv
66
66


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss



22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
3
3
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
nn
oo
oo


ss
ss
hh
hh

uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Activates the interface
Juneau(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee

ee


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


00
00
//
//
00
00
Moves to interface configuration mode
Juneau(config-if)#ii
ii
pp
pp



aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss


11
11
00
00


11
11


11
11



11
11


22
22
55
55
55
55


22
22
5
5
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
cc
ll
ll
oo
oo
cc
cc
kk
kk


rr
rr
aa
aa
tt
tt
ee
ee


55
55

66
66
00
00
00
00
00
00
Sets the clock rate on interface
Juneau(config-if)#nn
nn
oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn

nn
Starts the interface
Juneau(config-if)#ee
ee
xx
xx
ii
ii
tt
tt
Moves to global configuration mode
Juneau(config)#ee
ee
xx
xx
ii
ii
tt
tt
Moves to privileged mode
Juneau#cc
cc
oo
oo
pp
pp
yy
yy



rr
rr
uu
uu
nn
nn
nn
nn
ii
ii
nn
nn
gg
gg


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg



ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
u
u
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
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Moves to privileged mode
Router#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
uu
uu
rr

rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode
Router(config)#hh
hh
oo
oo
ss
ss
tt
tt

nn
nn
aa
aa
mm
mm
ee
ee


FF
FF
aa
aa
ii
ii
rr
rr
bb
bb
aa
aa
nn
nn
kk
kk
ss
ss
Sets the host name of the router
Fairbanks(config)#ii

ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
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
ii
pp
pp
vv
vv
66
66


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss



22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00
00
00
3
3
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
tt
uu
uu
nn
nn
nn
nn
ee

ee
ll
ll


ss
ss
oo
oo
uu
uu
rr
rr
cc
cc
ee
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
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
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
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
ll


mm
mm
oo
oo
dd
dd
ee
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
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff

aa
aa
cc
cc
ee
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
//
//
0
0
00
Moves to interface configuration mode
Fairbanks(config-if)#ii
ii
pp
pp
vv
vv
66
66


aa
aa
dd
dd
dd
dd
rr
rr

ee
ee
ss
ss
ss
ss


22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
cc
cc
00
00

00
00
3
3
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
nn

oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Activates the interface
Fairbanks(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr

rr
ff
ff
aa
aa
cc
cc
ee
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
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss


11
11
00
00



11
11


11
11


22
22


22
22
55
55
55
55


22
22
5
5
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
nn
oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd

oo
oo
ww
ww
nn
nn
Starts the interface
Fairbanks(config-if)#ee
ee
xx
xx
ii
ii
tt
tt
Moves to global configuration mode
Fairbanks(config)#ee
ee
xx
xx
ii
ii
tt
tt
Moves to privileged mode
Fairbanks#cc
cc
oo
oo
pp

pp
yy
yy


rr
rr
uu
uu
nn
nn
nn
nn
ii
ii
nn
nn
gg
gg


cc
cc
oo
oo
nn
nn
ff
ff
ii

ii
gg
gg


ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
u
u
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
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo

uu
uu
tt
tt
ee
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
22
00
00
00
00
11
11
::
::
dd

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


Creates a static route configured to send
all packets to a next-hop address of
2001:db8:c18:2::2
Austin(config)#ii
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo
uu
uu
tt
tt
ee
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
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo
uu
uu
tt
tt
ee

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
22
00
00
00
00
11
11
::
::

dd
dd
bb
bb
88
88
::
::
cc
cc
11
11
88
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
ii
pp
pp
vv
vv
66
66


rr
rr
oo

oo
uu
uu
tt
tt
ee
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
22
00
00
00
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
cc
ll
ll
ee
ee
aa
aa
rr
rr


ii
ii
pp
pp
vv
vv
66
66


rr

rr
ii
ii
pp
pp
Deletes routes from the IPv6 RIP routing
table and, if installed, routes in the IPv6
routing table
Router#cc
cc
ll
ll
ee
ee
aa
aa
rr
rr


ii
ii
pp
pp
vv
vv
66
66



rr
rr
oo
oo
uu
uu
tt
tt
ee
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
cc
ll
ll
ee
ee
aa
aa
rr
rr



ii
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo
uu
uu
tt
tt
ee
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
cc
ll
ll
ee
ee
aa
aa
rr
rr


ii
ii
pp
pp
vv
vv
66
66


tt
tt
rr

rr
aa
aa
ff
ff
ff
ff
ii
ii
cc
cc
Resets IPv6 traffic counters.
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg


ii
ii
pp
pp
vv
vv

66
66


pp
pp
aa
aa
cc
cc
kk
kk
ee
ee
tt
tt
Displays debug messages for IPv6
packets.
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg



ii
ii
pp
pp
vv
vv
66
66


rr
rr
ii
ii
pp
pp
Displays debug messages for IPv6 RIP
routing transactions.
246 Verifying and Troubleshooting IPv6
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg



ii
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo
uu
uu
tt
tt
ii
ii
nn
nn
gg
gg
Displays debug messages for IPv6 routing
table updates and route cache updates.
Router#ss
ss
hh

hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa

aa
cc
cc
ee
ee
Displays the status of interfaces
configured for IPv6.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


ii
ii
nn

nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


bb
bb
rr
rr
ii
ii
ee
ee
ff
ff
Displays a summarized status of interfaces
configured for IPv6.
Router#ss

ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


nn
nn
ee
ee
ii
ii
gg
gg
hh
hh
bb

bb
oo
oo
rr
rr
ss
ss
Displays IPv6 neighbor discovery cache
information.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


pp

pp
rr
rr
oo
oo
tt
tt
oo
oo
cc
cc
oo
oo
ll
ll
ss
ss
Displays the parameters and current state
of the active IPv6 routing protocol
processes.
Router#ss
ss
hh
hh
oo
oo
ww
ww



ii
ii
pp
pp
vv
vv
66
66


rr
rr
ii
ii
pp
pp
Displays information about the current
IPv6 RIP process.
Router##
##
ss
ss
hh
hh
oo
oo
ww
ww



ii
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
Displays the current IPv6 routing table.
Router#ss
ss
hh
hh
oo
oo
ww
ww



ii
ii
pp
pp
vv
vv
66
66


rr
rr
oo
oo
uu
uu
tt
tt
ee
ee


ss
ss
uu
uu
mm
mm
mm

mm
aa
aa
rr
rr
yy
yy
Displays a summarized form of the
current IPv6 routing table.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


rr

rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr
ss
ss
Displays IPv6 router advertisement
information received from other routers.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv

vv
66
66


ss
ss
tt
tt
aa
aa
tt
tt
ii
ii
cc
cc
Displays only static IPv6 routes installed
in the routing table.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii

ii
pp
pp
vv
vv
66
66


ss
ss
tt
tt
aa
aa
tt
tt
ii
ii
cc
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
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


ss
ss
tt
tt
aa
aa
tt
tt

ii
ii
cc
cc


ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
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
ss
hh
hh
oo
oo
ww
ww


ii

ii
pp
pp
vv
vv
66
66


ss
ss
tt
tt
aa
aa
tt
tt
ii
ii
cc
cc


dd
dd
ee
ee
tt
tt
aa

aa
ii
ii
ll
ll
Displays a more detailed entry for IPv6
static routes.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66


tt
tt
rr

rr
aa
aa
ff
ff
ff
ff
ii
ii
cc
cc
Displays statistics about IPv6 traffic.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii
pp
pp
vv
vv
66
66



tt
tt
uu
uu
nn
nn
nn
nn
ee
ee
ll
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
pp
ii
ii
nn
nn
gg
gg


ii

ii
pp
pp
vv
vv
66
66


22
22
00
00
00
00
11
11
::
::
dd
dd
bb
bb
88
88
::
::
::
::
33

33
//
//
66
66
44
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.
This page intentionally left blank
PART IX
WANs
Chapter 26 HDLC and PPP
Chapter 27 Frame Relay
This page intentionally left blank
CHAPTER 26

HDLC and PPP
This chapter provides information and commands concerning the following topics:
• Configuring HDLC encapsulation on a serial line
• Configuring PPP on a serial line (mandatory commands)
• Configuring PPP on a serial line (optional commands), including those
commands concerning the following
— Compression
— Link quality
— Multilink
— Authentication
• Verifying or troubleshooting a serial link/PPP encapsulation
• Configuration example: PPP
Configuring HDLC Encapsulation on a Serial Line
NOTE: HDLC is the default encapsulation for synchronous serial links on
Cisco routers. You would only use the encapsulation hdlc command to return
the link to its default state.
Configuring PPP on a Serial Line (Mandatory Commands)
Router#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
uu

uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode
Router(config)#ii
ii
nn
nn
tt
tt

ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


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


00
00

//
//
00
00
//
//
00
00
Moves to interface configuration mode
Router(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii

ii
oo
oo
nn
nn


hh
hh
dd
dd
ll
ll
cc
cc
Sets the encapsulation mode for this
interface to HDLC
Router#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
uu

uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode
Router(config)#ii
ii
nn
nn
tt
tt

ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


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


00
00

//
//
00
00
//
//
00
00
Moves to interface configuration mode
Router(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii

ii
oo
oo
nn
nn


pp
pp
pp
pp
pp
pp
Changes encapsulation from default
HDLC to PPP
252 Configuring PPP on a Serial Line (Optional Commands): Authentication
NOTE: You must execute the encapsulation ppp command on both sides of the
serial link for the link to become active.
Configuring PPP on a Serial Line (Optional Commands): Compression
Configuring PPP on a Serial Line (Optional Commands): Link Quality
NOTE: In PPP, the Link Control Protocol allows for an optional link-quality
determination phase. In this phase, the link is tested to determine whether the link
quality is sufficient to bring up any Layer 3 protocols. If you use the command ppp
quality x, where x is equal to a certain percent, you must meet that percentage
of quality on the link. If the link does not meet that percentage level, the link
cannot be created and will shut down.
Configuring PPP on a Serial Line (Optional Commands): Multilink
Configuring PPP on a Serial Line (Optional Commands):
Authentication
Router(config-if)#cc

cc
oo
oo
mm
mm
pp
pp
rr
rr
ee
ee
ss
ss
ss
ss


pp
pp
rr
rr
ee
ee
dd
dd
ii
ii
cc
cc
tt

tt
oo
oo
rr
rr
Enables the predictor compression
algorithm
Router(config-if)#cc
cc
oo
oo
mm
mm
pp
pp
rr
rr
ee
ee
ss
ss
ss
ss


ss
ss
tt
tt
aa

aa
cc
cc
Enables the stac compression algorithm
Router(config-if)#pp
pp
pp
pp
pp
pp


qq
qq
uu
uu
aa
aa
ll
ll
ii
ii
tt
tt
yy
yy

x
Ensures the link has a quality of x percent.
Otherwise, the link will shut down.

Router(config-if)#pp
pp
pp
pp
pp
pp


mm
mm
uu
uu
ll
ll
tt
tt
ii
ii
ll
ll
ii
ii
nn
nn
kk
kk
Enables load balancing across multiple
links
Router(config)#uu
uu

ss
ss
ee
ee
rr
rr
nn
nn
aa
aa
mm
mm
ee
ee


rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr
bb
bb



pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd



cc
cc
ii
ii
ss
ss
cc
cc
oo

oo
Sets a username of routerb and a password
of cisco for authentication from the other
side of the PPP serial link. This is used
by the local router to authenticate the
PPP peer.
Router(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


ss
ss
ee
ee

rr
rr
ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
//
//
00
00
Moves to interface configuration mode.
Verifying or Troubleshooting a Serial Link/PPP Encapsulation 253
TIP: When setting authentication, make sure that your usernames match the
name of the router on the other side of the link, and that the passwords on each
router match the other. Usernames and passwords are case sensitive. Consider
the following example:
NOTE: Because PAP does not encrypt its password as it is sent across the link,
recommended practice is that you use CHAP as your authentication method.
Verifying or Troubleshooting a Serial Link/PPP Encapsulation
Router(config-if)#pp

pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh
ee
ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa
tt
tt
ii

ii
oo
oo
nn
nn


pp
pp
aa
aa
pp
pp
Turns on Password Authentication
Protocol (PAP) authentication only.
Router(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh

hh
ee
ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


cc
cc
hh
hh
aa
aa
pp

pp
Turns on Challenge Handshake
Authentication Protocol (CHAP)
authentication only.
Router(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh
ee
ee
nn
nn
tt
tt
ii
ii
cc
cc

aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


pp
pp
aa
aa
pp
pp


cc
cc
hh
hh
a
a
aa
pp
pp
Defines that the link will use PAP

authentication, but will try CHAP if PAP
fails or is rejected by other side.
Router(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh
ee
ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa

tt
tt
ii
ii
oo
oo
nn
nn


cc
cc
hh
hh
aa
aa
pp
pp


pp
pp
a
a
aa
pp
pp
Defines that the link will use CHAP
authentication, but will try PAP if CHAP
fails or is rejected by other side.

Router(config-if)#pp
pp
pp
pp
pp
pp


pp
pp
aa
aa
pp
pp


ss
ss
ee
ee
nn
nn
tt
tt


uu
uu
ss
ss

ee
ee
rr
rr
nn
nn
aa
aa
mm
mm
ee
ee


rr
rr
oo
oo
uu
uu
t
t
tt
ee
ee
rr
rr
bb
bb



pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd


cc
cc
ii
ii
ss
ss
cc
cc
oo
oo


This command must be set if using PAP in
Cisco IOS Software Release 11.1 or later.
Edmonton(config)#uu
uu
ss
ss
ee
ee
rr
rr
nn
nn
aa
aa
mm
mm
ee
ee


CC
CC
aa
aa
ll
ll
gg
gg
aa
aa

rr
rr
yy
yy


pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd



cc
cc
ii
ii
ss

ss
cc
cc
oo
oo
Calgary(config)#uu
uu
ss
ss
ee
ee
rr
rr
nn
nn
aa
aa
mm
mm
ee
ee


EE
EE
dd
dd
mm
mm
oo

oo
nn
nn
tt
tt
oo
oo
nn
nn


pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
d
d
dd



cc
cc
ii
ii
ss
ss
cc
cc
oo
oo
Edmonton(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee



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


00
00
//
//
00
00
//
//
00
00
Calgary(config)#ii
ii
nn
nn
tt
tt

ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


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


00
00

//
//
00
00
//
//
00
00
Edmonton(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii
ii

oo
oo
nn
nn


pp
pp
pp
pp
pp
pp
Calgary(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa

tt
tt
ii
ii
oo
oo
nn
nn


pp
pp
pp
pp
pp
pp
Edmonton(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt

hh
hh
ee
ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


cc
cc
hh
hh
aa
aa

pp
pp
Calgary(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh
ee
ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa

tt
tt
ii
ii
oo
oo
nn
nn


cc
cc
hh
hh
aa
aa
pp
pp
Router#ss
ss
hh
hh
oo
oo
ww
ww


ii
ii

nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee
ss
ss


ss
ss
ee
ee
rr
rr
ii
ii
aa
aa

ll
ll

x
Lists information for serial interface x
Router#ss
ss
hh
hh
oo
oo
ww
ww


cc
cc
oo
oo
nn
nn
tt
tt
rr
rr
oo
oo
ll
ll
ll

ll
ee
ee
rr
rr
ss
ss


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

x
Tells you what type of cable (DCE/DTE)
is plugged into your interface and whether
a clock rate has been set
254 Configuration Example: PPP
TIP: With frequent lab use, serial cable pins often get bent, which might prevent
the router from seeing the cable. The output from the command show controllers
interface serial x shows no cable even though a cable is physically present.

Configuration Example: PPP
Figure 26-1 illustrates the network topology for the configuration that follows, which shows
how to configure PPP using the commands covered in this chapter.
Figure 26-1 Network Topology for PPP Configuration
NOTE: The host name, password, and interfaces have all been configured as per
the configuration example in Chapter 6, “Configuring a Single Cisco Router.”
Boston Router
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg


ss
ss
ee
ee
rr
rr
ii
ii
aa
aa
ll

ll


ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee
Displays whether serial keepalive counters
are incrementing
Router#dd
dd
ee
ee
bb
bb
uu

uu
gg
gg


pp
pp
pp
pp
pp
pp
Displays any traffic related to PPP
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg


pp
pp
pp
pp
pp
pp



pp
pp
aa
aa
cc
cc
kk
kk
ee
ee
tt
tt
Displays PPP packets that are being sent
and received
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg


pp
pp

pp
pp
pp
pp


nn
nn
ee
ee
gg
gg
oo
oo
tt
tt
ii
ii
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn
Displays PPP packets related to the
negotiation of the PPP link

Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg


pp
pp
pp
pp
pp
pp


ee
ee
rr
rr
rr
rr
oo
oo
rr
rr

Displays PPP error packets
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg
gg


pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh
ee

ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn
Displays PPP packets related to the
authentication of the PPP link
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg

gg


pp
pp
pp
pp
pp
pp


cc
cc
oo
oo
mm
mm
pp
pp
rr
rr
ee
ee
ss
ss
ss
ss
ii
ii
oo

oo
nn
nn
Displays PPP packets related to the
compression of packets across the link
Boston>ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Moves to privileged mode
Boston#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg

uu
uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode
Network 172.16.20.0/24 Network 172.16.20.0/30 Network 172.16.30.0/24
172.16.10.10
s0/0/1
DCE
172.16.20.2

fa0/0
172.16.10.1
s0/0/0
172.16.20.1
Boston-2811
Buffalo-2811
172.16.30.30
fa0/0
172.16.30.1
Configuration Example: PPP 255
Buffalo Router
Boston(config)#uu
uu
ss
ss
ee
ee
rr
rr
nn
nn
aa
aa
mm
mm
ee
ee


BB

BB
uu
uu
ff
ff
ff
ff
aa
aa
ll
ll
oo
oo


pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd

dd



aa
aa
cc
cc
aa
aa
dd
dd
ee
ee
mm
mm
yy
yy
Sets the local username and password for
PPP authentication of the PPP peer
Boston(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr

ff
ff
aa
aa
cc
cc
ee
ee


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


00
00
//
//
00
00

//
//
00
00
Moves to interface configuration mode
Boston(config-if)#dd
dd
ee
ee
ss
ss
cc
cc
rr
rr
ii
ii
pp
pp
tt
tt
ii
ii
oo
oo
nn
nn


LL

LL
ii
ii
nn
nn
kk
kk


tt
tt
oo
oo


BB
BB
uu
uu
ff
ff
ff
ff
aa
aa
l
l
ll
oo
oo



RR
RR
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr
Defines the locally significant link
description
Boston(config-if)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr

ee
ee
ss
ss
ss
ss


11
11
77
77
22
22


11
11
66
66


22
22
00
00


11
11



22
22
55
55
5
5
55


22
22
55
55
55
55


22
22
55
55
55
55


22
22
55

55
22
22
Assigns an IP address and netmask
Boston(config-if)#cc
cc
ll
ll
oo
oo
cc
cc
kk
kk


rr
rr
aa
aa
tt
tt
ee
ee


55
55
66
66

00
00
00
00
00
00
Sets the clock rate to the data
communications equipment (DCE) side
of link
Boston(config-if) #ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii

ii
oo
oo
nn
nn


pp
pp
pp
pp
pp
pp
Turns on PPP encapsulation
Boston(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh

ee
ee
nn
nn
tt
tt
ii
ii
cc
cc
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


cc
cc
hh
hh
aa
aa
pp
pp

Turns on CHAP authentication
Boston(config-if)#nn
nn
oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Turns on the interface
Boston(config-if)#ee
ee
xx
xx
ii
ii

tt
tt
Returns to global configuration mode
Boston(config)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to privileged mode
Boston#cc
cc
oo
oo
pp
pp
yy
yy


rr
rr
uu
uu
nn
nn
nn
nn

ii
ii
nn
nn
gg
gg


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg


ss
ss
tt
tt
aa
aa
rr
rr

tt
tt
u
u
uu
pp
pp


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM
Buffalo>ee
ee
nn
nn
aa
aa
bb
bb

ll
ll
ee
ee
Moves to privileged mode
Buffalo#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
uu
uu
rr
rr
ee
ee


tt
tt
ee
ee
rr

rr
mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode
Buffalo(config)#uu
uu
ss
ss
ee
ee
rr
rr
nn
nn
aa
aa
mm
mm
ee
ee



BB
BB
oo
oo
ss
ss
tt
tt
oo
oo
nn
nn


pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd



a
a
aa
cc
cc
aa
aa
dd
dd
ee
ee
mm
mm
yy
yy
Sets the username and password for PPP
authentication
Buffalo(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff

ff
aa
aa
cc
cc
ee
ee


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


00
00
//
//
00
00
//

//
11
11
Moves to interface configuration mode
Buffalo(config-if)#dd
dd
ee
ee
ss
ss
cc
cc
rr
rr
ii
ii
pp
pp
tt
tt
ii
ii
oo
oo
nn
nn


LL
LL

ii
ii
nn
nn
kk
kk


tt
tt
oo
oo


BB
BB
oo
oo
ss
ss
tt
tt
oo
oo
n
n
nn


RR

RR
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr
Defines the locally significant link
description
Buffalo(config-if)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss

ss
ss
ss


11
11
77
77
22
22


11
11
66
66


22
22
00
00


22
22


22

22
55
55
5
5
55


22
22
55
55
55
55


22
22
55
55
55
55


22
22
55
55
22
22

Assigns an IP address and netmask
Buffalo(config-if) #ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


pp

pp
pp
pp
pp
pp
Turns on PPP encapsulation
256 Configuration Example: PPP
Buffalo(config-if)#pp
pp
pp
pp
pp
pp


aa
aa
uu
uu
tt
tt
hh
hh
ee
ee
nn
nn
tt
tt
ii

ii
cc
cc
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


cc
cc
hh
hh
aa
aa
pp
pp
Turns on CHAP authentication
Buffalo(config-if)#nn
nn
oo
oo



ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Turns on the interface
Buffalo(config-if)#Ç-Z
Exits back to privileged mode
Buffalo#cc
cc
oo
oo
pp
pp
yy
yy


rr

rr
uu
uu
nn
nn
nn
nn
ii
ii
nn
nn
gg
gg


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg


ss

ss
tt
tt
aa
aa
rr
rr
tt
tt
u
u
uu
pp
pp


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM
CHAPTER 27

Frame Relay
This chapter provides information and commands concerning the following topics:
• Configuring Frame Relay
— Setting the Frame Relay encapsulation type
— Setting the Frame Relay encapsulation LMI type
— Setting the Frame Relay DLCI number
— Configuring a Frame Relay map statement
— Configuring a description of the interface (optional)
— Configuring Frame Relay using subinterfaces
• Verifying Frame Relay
• Troubleshooting Frame Relay
• Configuration examples: Frame Relay
Configuring Frame Relay
Setting the Frame Relay Encapsulation Type
Router(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc

ee
ee


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


00
00
//
//
00
00
//
//
00
00
Router(config-if)#ee
ee

nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


ff
ff
rr
rr

aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy

Turns on Frame Relay
encapsulation with the default
encapsulation type of cisco.
Or
Router(config-if)#ee
ee
nn
nn
cc
cc
aa

aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


ff
ff
rr
rr
aa
aa
mm
mm
ee

ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy



ii
ii
ee
ee
tt
tt
ff
ff
Turns on Frame Relay
encapsulation with the
encapsulation type of ietf (RFC
1490). Use the ietf
encapsulation method if
connecting to a non-Cisco

router.
258 Configuring Frame Relay
Setting the Frame Relay Encapsulation LMI Type
NOTE: As of Cisco IOS Software Release 11.2, the LMI type is auto-sensed,
making this command optional.
Setting the Frame Relay DLCI Number
Configuring a Frame Relay map Statement
NOTE: Cisco routers have Inverse Address Resolution Protocol (IARP) turned on
by default. This means that the router will go out and create the mapping for you.
If the remote router does not support IARP, or you want to control broadcast
traffic over the permanent virtual circuit (PVC), you must statically set the DLCI/IP
mappings and turn off IARP.
You need to issue the no frame-relay inverse-arp command before you issue the
no shutdown command; otherwise, the interface performs IARP before you can
turn it off.
Router(config-if)#ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee

ee
ll
ll
aa
aa
yy
yy


ll
ll
mm
mm
ii
ii


tt
tt
yy
yy
pp
pp
ee
ee
{aa
aa
nn
nn
ss

ss
ii
ii

|
cc
cc
ii
ii
ss
ss
cc
cc
oo
oo

|
qq
qq
99
99
33
33
33
33
aa
aa
}
Depending on the option you select, this
command sets the LMI type to the ANSI

standard, the Cisco standard, or the ITU-T
Q.933 Annex A standard.
Router(config-if)#ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn

tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


dd
dd
ll
ll
cc
cc
i
i
ii


11
11
11

11
00
00
Sets the DLCI number of 110 on the local
interface and enters Frame Relay DLCI
configuration mode
Router(config-fr-dlci)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to interface configuration mode
Router(config-if)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to global configuration mode
Router(config)#
Router(config-if)#
ff
ff
rr
rr

aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


mm
mm
aa
aa
pp
pp


ii
ii

pp
pp


11
11
99
99
22
22


11
11
66
66
8
8
88


11
11
00
00
00
00


11

11


11
11
11
11
00
00


bb
bb
rr
rr
oo
oo
aa
aa
dd
dd
cc
cc
aa
aa
ss
ss
tt
tt
Maps the remote IP address

(192.168.100.1) to the local DLCI
number (110).
The optional broadcast keyword specifies
that broadcasts across IP should be
forwarded to this address. This is
necessary when using dynamic routing
protocols.
Router(config-if)#nn
nn
oo
oo


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll

ll
aa
aa
yy
yy


ii
ii
nn
nn
vv
vv
ee
ee
rr
rr
ss
ss
ee
ee


aa
aa
rr
rr
p
p
pp

Turns off Inverse ARP.
Configuring Frame Relay 259
Configuring a Description of the Interface (Optional)
Configuring Frame Relay Using Subinterfaces
Subinterfaces enable you to solve split-horizon problems and to create multiple PVCs on a
single physical connection to the Frame Relay cloud.
Router(config-if)#dd
dd
ee
ee
ss
ss
cc
cc
rr
rr
ii
ii
pp
pp
tt
tt
ii
ii
oo
oo
nn
nn



CC
CC
oo
oo
nn
nn
nn
nn
ee
ee
cc
cc
tt
tt
ii
ii
oo
oo
nn
nn


tt
tt
oo
oo



tt

tt
hh
hh
ee
ee


BB
BB
rr
rr
aa
aa
nn
nn
cc
cc
hh
hh


oo
oo
ff
ff
ff
ff
ii
ii
cc

cc
ee
ee
Optional command to allow you to enter
in additional information such as contact
name, PVC description, and so on
Router(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


ss
ss
ee
ee

rr
rr
ii
ii
aa
aa
ll
ll
00
00
//
//
00
00
//
//
00
00
Router(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss

uu
uu
ll
ll
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr

ee
ee
ll
ll
aa
aa
yy
yy



ii
ii
ee
ee
tt
tt
ff
ff
Sets the Frame Relay encapsulation type
for all subinterfaces on this interface
Router(config-if)#ff
ff
rr
rr
aa
aa
mm
mm
ee

ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ll
ll
mm
mm
ii
ii


tt
tt
yy
yy
pp
pp
ee

ee


aa
aa
nn
nn
ss
ss
ii
ii
Sets the LMI type for all subinterfaces on
this interface
Router(config-if)#nn
nn
oo
oo


ii
ii
pp
pp


aa
aa
dd
dd
dd

dd
rr
rr
ee
ee
ss
ss
ss
ss
Ensures there is no IP address set to this
interface
Router(config-if)#nn
nn
oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww

ww
nn
nn
Enables the interface
Router(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


ss
ss
ee
ee
rr
rr

ii
ii
aa
aa
ll
ll


00
00
//
//
00
00
//
//
00
00


11
11
00
00
2
2
22


pp

pp
oo
oo
ii
ii
nn
nn
tt
tt


tt
tt
oo
oo


pp
pp
oo
oo
ii
ii
nn
nn
tt
tt
Creates a point-to-point subinterface
numbered 102
Router(config-subif)#ii

ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss


11
11
99
99
22
22


11

11
66
66
88
88


11
11
00
00


11
11


22
22
5
5
55
55
55


22
22
55
55

55
55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask to the
subinterface
Router(config-subif)#ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr

ee
ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee



dd
dd
ll
ll
cc
cc
i
i
ii


11
11
00
00
22
22
Assigns a DLCI to the subinterface
Router(config-subif)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff

aa
aa
cc
cc
ee
ee


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


00
00
//
//
00
00
//
//

00
00


11
11
00
00
3
3
33


pp
pp
oo
oo
ii
ii
nn
nn
tt
tt


tt
tt
oo
oo



pp
pp
oo
oo
ii
ii
nn
nn
tt
tt
Creates a point-to-point subinterface
numbered 103
Router(config-subif)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss

ss
ss
ss


11
11
99
99
22
22


11
11
66
66
88
88


22
22
00
00


11
11



22
22
5
5
55
55
55


22
22
55
55
55
55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask to the
subinterface

Router(config-subif)#ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn
tt
tt

ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


dd
dd
ll
ll
cc
cc
i
i
ii


11
11
00
00
33

33
Assigns a DLCI to the subinterface
Router(config-subif)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to interface configuration mode
Router(config-if)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to global configuration mode
Router(config)#
260 Configuration Examples: Frame Relay
NOTE: There are two types of subinterfaces:
• Point-to-point, where a single PVC connects one router to another and each
subinterface is in its own IP subnet.
• Multipoint, where the router is the middle point of a group of routers. All other
routers connect to each other through this router, and all routers are in the
same subnet.
NOTE: Use the no ip split-horizon command to turn off split-horizon commands
on multipoint interfaces so that remote sites can see each other.

Verifying Frame Relay
TIP: If the clear frame-relay inarp command does not clear Frame Relay maps,
you might need to reload the router.
Troubleshooting Frame Relay
Configuration Examples: Frame Relay
Figure 27-1 shows the network topology for the Frame Relay configuration that follows
using the commands covered in this chapter.
Router#ss
ss
hh
hh
oo
oo
ww
ww


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr

rr
ee
ee
ll
ll
aa
aa
yy
yy


mm
mm
aa
aa
pp
pp
Displays IP/DLCI map entries
Router#ss
ss
hh
hh
oo
oo
ww
ww


ff
ff

rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


pp
pp
vv
vv
cc
cc
Displays the status of all PVCs configured
Router#ss

ss
hh
hh
oo
oo
ww
ww


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy

yy


ll
ll
mm
mm
ii
ii
Displays LMI statistics
Router#cc
cc
ll
ll
ee
ee
aa
aa
rr
rr


ff
ff
rr
rr
aa
aa
mm
mm

ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


cc
cc
oo
oo
uu
uu
nn
nn
tt
tt
ee
ee
rr
rr

ss
ss
Clears and resets all Frame Relay counters
Router#cc
cc
ll
ll
ee
ee
aa
aa
rr
rr


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee

ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn
aa
aa
rr
rr
pp
pp
Clears all Inverse ARP entries from the
map table
Router#dd
dd
ee
ee
bb
bb
uu
uu
gg

gg


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ll
ll
mm

mm
ii
ii
Used to help determine whether a router
and Frame Relay switch are exchanging
LMI packets properly
Configuration Examples: Frame Relay 261
Figure 27-2 Frame Relay Network
NOTE: This diagram assumes the use of an Adtran Atlas 550 device to simulate
the Frame Relay cloud. Three physical ports (1/1, 2/1, and 2/2) are used to
interconnect the three cities.
Edmonton Router
router>ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Moves to privileged mode.
router#cc
cc
oo
oo
nn

nn
ff
ff
ii
ii
gg
gg
uu
uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii
ii
nn
nn
aa
aa
ll

ll
Moves to global configuration mode.
router(config)#hh
hh
oo
oo
ss
ss
tt
tt


EE
EE
dd
dd
mm
mm
oo
oo
nn
nn
tt
tt
oo
oo
nn
nn
Sets the host name.
Edmonton(config)#nn

nn
oo
oo


ii
ii
pp
pp


dd
dd
oo
oo
mm
mm
aa
aa
ii
ii
nn
nn


ll
ll
oo
oo
oo

oo
kk
kk
uu
uu
pp
pp
Turns off DNS queries so that spelling
mistakes do not slow you down.
192.168.30.0/24
Edmonton
Winnipeg
192.168.20.0/24
s0/0/0.12
192.168.1.1
s0/0/0.21
192.168.3.1
s0/0/0.12
192.168.4.1
s0/0/0.11
192.168.3.2
s0/0/0.11
192.168.1.2
s0/0/0.21
192.168.4.2
fa0/0
fa0/0fa0/0
FRAME RELAY
(Atlas 550)
Atlas Port

21 12
1/1
21 11
1/2
192.168.40.0/24
Calgary
11 12
2/1
Atlas PortAtlas Port
262 Configuration Examples: Frame Relay
Edmonton(config)#ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee


ss
ss
ee
ee
cc
cc

rr
rr
ee
ee
tt
tt


cc
cc
ii
ii
ss
ss
cc
cc
oo
oo
Sets the encrypted password to cisco.
Edmonton(config)#ll
ll
ii
ii
nn
nn
ee
ee


cc

cc
oo
oo
nn
nn
ss
ss
oo
oo
ll
ll
ee
ee


00
00
Moves to line console configuration
mode.
Edmonton(config-line)#ll
ll
oo
oo
gg
gg
ii
ii
nn
nn
The user will be prompted for a password.

Edmonton(config-line)#pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd


cc
cc
ll
ll
aa
aa
ss
ss
ss
ss
Sets the console line password to class.
Edmonton(config-line)#ll

ll
oo
oo
gg
gg
gg
gg
ii
ii
nn
nn
gg
gg


ss
ss
yy
yy
nn
nn
cc
cc
hh
hh
rr
rr
oo
oo
nn

nn
oo
oo
uu
uu
ss
ss
The command being entered will be
appended to a new line.
Edmonton(config-line)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to global configuration mode.
Edmonton(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff

aa
aa
cc
cc
ee
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
//
//
0
0
00
Moves to interface configuration mode.
Edmonton(config-if)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss

ss
ss


11
11
99
99
22
22


11
11
66
66
88
88


22
22
00
00


11
11



22
22
5
5
55
55
55


22
22
55
55
55
55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask.
Edmonton(config-if)#nn
nn

oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Enables the interface.
Edmonton(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr

rr
ff
ff
aa
aa
cc
cc
ee
ee


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


00
00
//
//
00

00
//
//
00
00
Moves to interface configuration mode.
Edmonton(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii
ii
oo
oo

nn
nn


ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy
Turns on Frame Relay encapsulation.
Edmonton(config-if)#nn
nn
oo

oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Enables the interface.
Edmonton(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr

ff
ff
aa
aa
cc
cc
ee
ee


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


00
00
//
//
00
00

//
//
00
00


11
11
22
22



pp
pp
oo
oo
ii
ii
nn
nn
tt
tt


tt
tt
oo
oo



pp
pp
oo
oo
ii
ii
nn
nn
tt
tt
Creates subinterface 12.
Edmonton(config-
subif)#
dd
dd
ee
ee
ss
ss
cc
cc
rr
rr
ii
ii
pp
pp
tt
tt

ii
ii
oo
oo
nn
nn


ll
ll
ii
ii
nn
nn
kk
kk


tt
tt
oo
oo


WW
WW
ii
ii
nn
nn

nn
nn
ii
ii
p
p
pp
ee
ee
gg
gg


rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr


DD
DD
LL

LL
CC
CC
II
II


11
11
22
22
Creates a locally significant description of
the interface.
Edmonton(config-subif)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss

ss
ss
ss


11
11
99
99
22
22


11
11
66
66
88
88


11
11


11
11


22

22
55
55
5
5
55


22
22
55
55
55
55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask.
Edmonton(config-subif)#ff
ff
rr

rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn
tt
tt
ee
ee
rr

rr
ff
ff
aa
aa
cc
cc
ee
ee


dd
dd
ll
ll
cc
cc
i
i
ii


11
11
22
22


pp
pp

oo
oo
ii
ii
nn
nn
tt
tt


tt
tt
oo
oo


pp
pp
oo
oo
ii
ii
nn
nn
tt
tt
Assigns a DLCI number.
Edmonton(config-subif)#ii
ii
nn

nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


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



00
00
//
//
00
00
//
//
00
00


22
22
11
11
Creates subinterface 21.
Edmonton(config-
subif)#
dd
dd
ee
ee
ss
ss
cc
cc
rr
rr

ii
ii
pp
pp
tt
tt
ii
ii
oo
oo
nn
nn


ll
ll
ii
ii
nn
nn
kk
kk


tt
tt
oo
oo



CC
CC
aa
aa
ll
ll
gg
gg
aa
aa
rr
rr
yy
yy


rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr



DD
DD
LL
LL
CC
CC
II
II


22
22
11
11
Creates a locally significant description of
the interface.
Configuration Examples: Frame Relay 263
Winnipeg Router
Edmonton(config-subif)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd

rr
rr
ee
ee
ss
ss
ss
ss


11
11
99
99
22
22


11
11
66
66
88
88


33
33



11
11


22
22
55
55
5
5
55


22
22
55
55
55
55


22
22
55
55
55
55


00

00
Assigns an IP address and netmask.
Edmonton(config-subif)#ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn

tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


dd
dd
ll
ll
cc
cc
i
i
ii


22
22
11

11
Assigns a DLCI number.
Edmonton(config-subif)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to interface configuration mode.
Edmonton(config-if)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to global configuration mode.
Edmonton(config)#rr
rr
oo
oo
uu
uu
tt
tt
ee
ee

rr
rr


ee
ee
ii
ii
gg
gg
rr
rr
pp
pp


11
11
00
00
00
00
Turns on the EIGRP routing process 100.
Edmonton(config-router)#nn
nn
ee
ee
tt
tt
ww

ww
oo
oo
rr
rr
kk
kk


11
11
99
99
22
22


11
11
66
66
88
88


11
11


00

00
Advertises network 192.168.1.0, which
connects to Winnipeg.
Edmonton(config-router)#nn
nn
ee
ee
tt
tt
ww
ww
oo
oo
rr
rr
kk
kk


11
11
99
99
22
22


11
11
66

66
88
88


33
33


00
00
Advertises network 192.168.3.0, which
connects to Calgary.
Edmonton(config-router)#nn
nn
ee
ee
tt
tt
ww
ww
oo
oo
rr
rr
kk
kk


11

11
99
99
22
22


11
11
66
66
88
88


22
22
00
00


00
00
Advertises network 192.168.20.0, which
is directly connected to the local
fastethernet 0/0 interface.
Edmonton(config-router)#Çz
Returns to privileged mode.
Edmonton#cc
cc

oo
oo
pp
pp
yy
yy


rr
rr
uu
uu
nn
nn
nn
nn
ii
ii
nn
nn
gg
gg


cc
cc
oo
oo
nn
nn

ff
ff
ii
ii
gg
gg


ss
ss
tt
tt
aa
aa
rr
rr
tt
tt
u
u
uu
pp
pp


cc
cc
oo
oo
nn

nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM.
router>ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee
Moves to privileged mode.
router#cc
cc
oo
oo
nn
nn
ff
ff
ii

ii
gg
gg
uu
uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr
mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode.
router(config)#hh
hh

oo
oo
ss
ss
tt
tt


WW
WW
ii
ii
nn
nn
nn
nn
ii
ii
pp
pp
ee
ee
gg
gg
Sets the host name.
Winnipeg(config)#nn
nn
oo
oo



ii
ii
pp
pp


dd
dd
oo
oo
mm
mm
aa
aa
ii
ii
nn
nn


ll
ll
oo
oo
oo
oo
kk
kk
uu

uu
pp
pp
Turns off DNS queries so that spelling
mistakes do not slow you down.
Winnipeg(config)#ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee


ss
ss
ee
ee
cc
cc
rr
rr
ee
ee
tt

tt


cc
cc
ii
ii
ss
ss
cc
cc
oo
oo
Sets the encrypted password to cisco.
Winnipeg(config)#ll
ll
ii
ii
nn
nn
ee
ee


cc
cc
oo
oo
nn
nn

ss
ss
oo
oo
ll
ll
ee
ee


00
00
Moves to line console configuration
mode.
Winnipeg(config-line)#ll
ll
oo
oo
gg
gg
ii
ii
nn
nn
The user will be prompted for a password
to access the console port.
Winnipeg(config-line)#pp
pp
aa
aa

ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd


cc
cc
ll
ll
aa
aa
ss
ss
ss
ss
Sets the console line password to class.
264 Configuration Examples: Frame Relay
Winnipeg(config-line)#ll
ll
oo
oo

gg
gg
gg
gg
ii
ii
nn
nn
gg
gg


ss
ss
yy
yy
nn
nn
cc
cc
hh
hh
rr
rr
oo
oo
nn
nn
oo
oo

uu
uu
ss
ss
The command being entered will be
appended to a new line.
Winnipeg(config-line)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to global configuration mode.
Winnipeg(config)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc

cc
ee
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
//
//
0
0
00
Moves to interface configuration mode.
Winnipeg(config-if)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss



11
11
99
99
22
22


11
11
66
66
88
88


33
33
00
00


11
11


22
22
5

5
55
55
55


22
22
55
55
55
55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask.
Winnipeg(config-if)#nn
nn
oo
oo



ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Enables the interface.
Winnipeg(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff

aa
aa
cc
cc
ee
ee


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


00
00
//
//
00
00
//
//

00
00
Moves to interface configuration mode.
Winnipeg(config-if)#ee
ee
nn
nn
cc
cc
aa
aa
pp
pp
ss
ss
uu
uu
ll
ll
aa
aa
tt
tt
ii
ii
oo
oo
nn
nn



ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy
Turns on Frame Relay encapsulation.
Winnipeg(config-if)#nn
nn
oo
oo



ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Enables the interface.
Winnipeg(config-if)#ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa

aa
cc
cc
ee
ee


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


00
00
//
//
00
00
//
//
00

00


11
11
11
11



pp
pp
oo
oo
ii
ii
nn
nn
tt
tt


tt
tt
oo
oo


pp
pp

oo
oo
ii
ii
nn
nn
tt
tt
Creates subinterface 11.
Winnipeg(config-
subif)#
dd
dd
ee
ee
ss
ss
cc
cc
rr
rr
ii
ii
pp
pp
tt
tt
ii
ii
oo

oo
nn
nn


ll
ll
ii
ii
nn
nn
kk
kk


tt
tt
oo
oo


EE
EE
dd
dd
mm
mm
oo
oo
nn

nn
t
t
tt
oo
oo
nn
nn


rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr


DD
DD
LL
LL
CC
CC

II
II


11
11
11
11
Creates a locally significant description of
the interface.
Winnipeg(config-subif)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss



11
11
99
99
22
22


11
11
66
66
88
88


11
11


22
22


22
22
55
55

5
5
55


22
22
55
55
55
55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask.
Winnipeg(config-subif)#ff
ff
rr
rr
aa
aa

mm
mm
ee
ee


rr
rr
ee
ee
ll
ll
aa
aa
yy
yy


ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff

aa
aa
cc
cc
ee
ee


dd
dd
ll
ll
cc
cc
i
i
ii


11
11
11
11
Assigns a DLCI number.
Winnipeg(config-subif)#ii
ii
nn
nn
tt
tt

ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


ss
ss


00
00
//
//
00
00


22
22
11
11



pp
pp
oo
oo
ii
ii
nn
nn
tt
tt


t
t
tt
oo
oo


pp
pp
oo
oo
ii
ii
nn
nn
tt

tt
Creates subinterface 21.
Winnipeg(config-
subif)#
dd
dd
ee
ee
ss
ss
cc
cc
rr
rr
ii
ii
pp
pp
tt
tt
ii
ii
oo
oo
nn
nn


ll
ll

ii
ii
nn
nn
kk
kk


tt
tt
oo
oo


CC
CC
aa
aa
ll
ll
gg
gg
aa
aa
rr
rr
yy
yy



rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr


DD
DD
LL
LL
CC
CC
II
II


22
22
11
11
Creates a locally significant description of
the interface.

Winnipeg(config-subif)#ii
ii
pp
pp


aa
aa
dd
dd
dd
dd
rr
rr
ee
ee
ss
ss
ss
ss


11
11
99
99
22
22



11
11
66
66
88
88


44
44


22
22


22
22
55
55
5
5
55


22
22
55
55
55

55


22
22
55
55
55
55


00
00
Assigns an IP address and netmask.
Winnipeg(config-subif)#ff
ff
rr
rr
aa
aa
mm
mm
ee
ee


rr
rr
ee
ee

ll
ll
aa
aa
yy
yy


ii
ii
nn
nn
tt
tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
ee


dd
dd

ll
ll
cc
cc
i
i
ii


22
22
11
11
Assigns a DLCI number.
Winnipeg(config-subif)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to interface configuration mode.
Winnipeg(config-if)#ee
ee
xx
xx
ii
ii
tt

tt
Returns to global configuration mode.
Winnipeg(config)#rr
rr
oo
oo
uu
uu
tt
tt
ee
ee
rr
rr


ee
ee
ii
ii
gg
gg
rr
rr
pp
pp


11
11

00
00
00
00
Turns on EIGRP routing process 100.
Configuration Examples: Frame Relay 265
Calgary Router
Winnipeg(config-router)#nn
nn
ee
ee
tt
tt
ww
ww
oo
oo
rr
rr
kk
kk


11
11
99
99
22
22



11
11
66
66
88
88


11
11


00
00
Advertises network 192.168.1.0 to
Edmonton.
Winnipeg(config-router)#nn
nn
ee
ee
tt
tt
ww
ww
oo
oo
rr
rr
kk

kk


11
11
99
99
22
22


11
11
66
66
88
88


44
44


00
00
Advertises network 192.168.4.0 to
Calgary.
Winnipeg(config-router)#nn
nn
ee

ee
tt
tt
ww
ww
oo
oo
rr
rr
kk
kk


11
11
99
99
22
22


11
11
66
66
88
88


33

33
00
00


00
00
Advertises network 192.168.30.0 directly
connected to fastethernet 0/0.
Winnipeg(config-router)#Çz
Returns directly to privileged mode.
Winnipeg#cc
cc
oo
oo
pp
pp
yy
yy


rr
rr
uu
uu
nn
nn
nn
nn
ii

ii
nn
nn
gg
gg


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg


ss
ss
tt
tt
aa
aa
rr
rr
tt

tt
u
u
uu
pp
pp


cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
Saves the configuration to NVRAM.
router>ee
ee
nn
nn
aa
aa
bb
bb
ll

ll
ee
ee
Moves to privileged mode.
router#cc
cc
oo
oo
nn
nn
ff
ff
ii
ii
gg
gg
uu
uu
rr
rr
ee
ee


tt
tt
ee
ee
rr
rr

mm
mm
ii
ii
nn
nn
aa
aa
ll
ll
Moves to global configuration mode.
router(config)#hh
hh
oo
oo
ss
ss
tt
tt


CC
CC
aa
aa
ll
ll
gg
gg
aa

aa
rr
rr
yy
yy
Sets the host name.
Calgary(config)#nn
nn
oo
oo


ii
ii
pp
pp


dd
dd
oo
oo
mm
mm
aa
aa
ii
ii
nn
nn



ll
ll
oo
oo
oo
oo
kk
kk
uu
uu
pp
pp
Turns off DNS queries so that spelling
mistakes do not slow you down.
Calgary(config)#ee
ee
nn
nn
aa
aa
bb
bb
ll
ll
ee
ee



ss
ss
ee
ee
cc
cc
rr
rr
ee
ee
tt
tt


cc
cc
ii
ii
ss
ss
cc
cc
oo
oo
Sets the encrypted password to cisco.
Calgary(config)#ll
ll
ii
ii
nn

nn
ee
ee


cc
cc
oo
oo
nn
nn
ss
ss
oo
oo
ll
ll
ee
ee


00
00
Moves to line console configuration
mode.
Calgary(config-line)#ll
ll
oo
oo
gg

gg
ii
ii
nn
nn
The user will be prompted for a password
to use the console port.
Calgary(config-line)#pp
pp
aa
aa
ss
ss
ss
ss
ww
ww
oo
oo
rr
rr
dd
dd


cc
cc
ll
ll
aa

aa
ss
ss
ss
ss
Sets the console line password to class.
Calgary(config-line)#ll
ll
oo
oo
gg
gg
gg
gg
ii
ii
nn
nn
gg
gg


ss
ss
yy
yy
nn
nn
cc
cc

hh
hh
rr
rr
oo
oo
nn
nn
oo
oo
uu
uu
ss
ss
The command being entered will be
appended to a new line.
Calgary(config-line)#ee
ee
xx
xx
ii
ii
tt
tt
Returns to global configuration mode.
Calgary(config)#ii
ii
nn
nn
tt

tt
ee
ee
rr
rr
ff
ff
aa
aa
cc
cc
ee
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
//
//
0
0
00
Moves to interface configuration mode.
Calgary(config-if)#ii
ii
pp
pp


aa
aa
dd
dd
dd

dd
rr
rr
ee
ee
ss
ss
ss
ss


11
11
99
99
22
22


11
11
66
66
88
88


44
44
00

00


11
11


22
22
5
5
55
55
55


22
22
55
55
55
55


22
22
55
55
55
55



00
00
Assigns an IP address and netmask.
Calgary(config-if)#nn
nn
oo
oo


ss
ss
hh
hh
uu
uu
tt
tt
dd
dd
oo
oo
ww
ww
nn
nn
Enables the interface.

×