1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
| Introduction
This sample configuration shows you how to back up a frame relay link with
Integrated Services Digital Network (ISDN) by using floating static routes and
dial-on-demand (DDR) routing.
Before You Begin
Conventions
For more information on document conventions, see the Cisco Technical Tips Conventions.
Prerequisites
There are no specific prerequisites for this document.
Components Used
This configuration was developed and tested using the software and hardware
versions below.
Cisco 2503 Routers
Cisco IOS® Software Release 12.2(7b) was running on both routers
The information presented in this document was created from devices in a specific
lab environment. All of the devices used in this document started with a cleared
(default) configuration. If you are working in a live network, ensure that you
understand the potential impact of any command before using it.
Background Theory
One implementation goal of WAN links is to provide a way to back up the link,
should it fail. ISDN frequently provides this backup. Cisco provides backup
strategies that can achieve the same functionality but in different ways. If routing
information is passed across the frame relay link, a floating static route can bring
up the backup link if the frame relay link stops passing information.
Note: This example shows a backup for Frame Relay using floating static routes.
However, you can also use this method to backup any WAN link.
Other solutions can employ a backup interface (See Configuring a Backup Interface
for a Subinterface) or Dialer watch. If you use the backup interface command
approach, point-to-point subinterfaces are advantageous because the main or
multipoint interfaces can remain in an up/up state even if permanent virtual
connections (PVCs) go down with frame relay.
For more information on configuring DDR backup, refer to the document Configuring
and Troubleshooting DDR Backup. You can also refer to the document Evaluating
Backup Interfaces, Floating Static Routes, and Dialer Watch for DDR Backup for
more information on the various DDR backup methods.
Configure
In this section, you are presented with the information to configure the features
described in this document.
Note: To find additional information on the commands used in this document, use
the Command Lookup tool for IOS.
Network Diagram
This document uses the network setup shown in the diagram below.
Configurations
This document uses the configurations shown below.
This configuration was tested using Cisco IOS Software Release 12.2(7b) on 2500
series routers. The same configuration concepts would apply to a similar router
topology or other Cisco IOS releases.
Router1 (Cisco 2503 Router)
Current configuration:
version 12.2
!
hostname Router1
!
!--- This username password pair is used for PPP CHAP authentication
username Router2 password 0 letmein
ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-5ess
!
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
no ip route-cache
no ip mroute-cache
!
interface Serial0
!--- Primary Link.
!--- The bandwidth is adjusted to allow for rapid backup of the link.
!--- This adjusts the EIGRP Hello interval and Hold time for rapid convergence.
!--- The bandwidth command does not actually change the bandwidth of the link,
!--- it only adjusts the routing protocol bandwidth parameter.
bandwidth 2048
ip address 172.16.2.1 255.255.255.128
encapsulation frame-relay
no ip route-cache
no ip mroute-cache
clockrate 64000
!
interface Serial1
no ip address
no ip route-cache
no ip mroute-cache
shutdown
!
interface BRI0
! -- Backup link.
ip address 172.16.3.1 255.255.255.0
! -- The backup link is in a different subnet.
! -- The BRI interface on the peer should also be in this subnet.
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer map ip 172.16.3.2 name Router2 broadcast 5552000
! -- Dialer map for the peer. Note the IP address and name.
! -- The name must match the authenticated username of the peer.
dialer load-threshold 5 either
dialer-group 1
! -- Apply interesting traffic definition.
! -- Interesting traffic definition is defined in dialer-list 1.
isdn switch-type basic-5ess
ppp authentication chap
ppp multilink
!
router eigrp 100
!--- This example uses eigrp. You can use any routing protocol instead.
network 172.16.0.0
auto-summary
no eigrp log-neighbor-changes
!
ip classless
ip route 172.16.4.0 255.255.255.0 172.16.3.2 200
!--- The floating static route is defined.
!--- Note the administrative distance of the route is 200.
!--- Hence it is only used when all other routes for 172.16.4.0/24
!--- are lost. Note that the next hop for the floating static route
!--- matches the dialer map ip. If the nexthop is not the same as
!--- in the dialer map then the router will no dial.
!
access-list 100 deny eigrp any any
access-list 100 permit ip any any
!--- EIGRP routing packets are denied in the dialer-list.
!--- This prevents eigrp packets from keeping the link up.
!--- Adjust the interesting traffic depending on your traffic definitions.
!
dialer-list 1 protocol ip list 100
!--- Interesting traffic defintion. Use access-list 100.
!--- The interesting traffic is applied to BRI interface using dialer-group 1.
!
line con 0
line aux 0
transport input all
line vty 0 4
login
!
end
A floating static has been configured for Router1. The floating static route has an
assigned administrative distance of 200. A route for the same subnet will also be
learned over the frame relay link via the Enhanced Interior Gateway Routing
Protocol (EIGRP), which emphasizes the additional or redundant nature of the
floating route. EIGRP learnt route will be installed in the routing table because of
its lower administrative distance 90, compared to that of the static route's 200. In
the event of Frame Relay link failure, EIGRP route will disappear from the routing
table, the floating static route is installed. Any interesting traffic to be sent across
the ISDN connection brings up the line. When connectivity is restored over the
frame relay, the route is learned again through EIGRP. This route replaces the
static route and direct traffic once again over the frame relay circuit.
Routing protocol traffic is marked as uninteresting in the dialer list so that it does
not cause the ISDN line to connect or remain connected. However, once the link is
up, EIGRP packets can cross the link and the two routers can exchange routing
information. The broadcast keyword has been included in the dialer map statement
to allow the passage of routing protocol traffic over the ISDN link. If you do not
want EIGRP to exchange routing information even if the ISDN link is up, do not
include the broadcast keyword in the dialer map statement.
The dialer load-threshold command sets a load that will trigger a concurrent call to
be placed on the second B channel. Multilink Point-to-Point Protocol (PPP) has been
configured (ppp multilink)so that both ISDN B channels can be bundled together as
one Virtual-Access interface for aggregate bandwidth.
In the current configuration, only Router1 is configured to place a call. Router2
receives calls from Router1. If you want both sides to bring up the link, add dialer
map and dialer load-threshold commands to the configuration of Router2.
Router2 (Cisco 2503 Router)
Current configuration:
version 12.2
!
!
hostname Router2
!
username Router1 password 0 letmein
ip subnet-zero
no ip domain-lookup
!
isdn switch-type basic-5ess
!
!
interface Ethernet0
ip address 172.16.4.1 255.255.255.0
!
interface Serial0
bandwidth 2048
ip address 172.16.2.2 255.255.255.128
encapsulation frame-relay
clockrate 64000
!
interface Serial1
no ip address
shutdown
clockrate 64000
!
interface BRI0
ip address 172.16.3.2 255.255.255.0
! -- IP address of backup interface.
! -- This router accepts the call. Note the IP address matches both the
! -- dialer map floating static router nexthop on the peer.
encapsulation ppp
dialer-group 1
isdn switch-type basic-5ess
ppp authentication chap
ppp multilink
!--- The missing dialer map command disables this router from making the call.
!
router eigrp 100
network 172.16.0.0
auto-summary
no eigrp log-neighbor-changes
!
ip classless
ip route 172.16.1.0 255.255.255.0 172.16.3.1 200
!
access-list 100 deny eigrp any any
access-list 100 permit ip any any
dialer-list 1 protocol ip list 100
!
!
line con 0
line aux 0
line vty 0 4
!
end
Verify
This section provides information you can use to confirm your configuration is
working properly.
Routing Table Changes
Note: Certain show commands are supported by the Output Interpreter tool, which
allows you to view an analysis of show command output;
Observe the routing tables below from Router1. Notice that the floating static
route replaced the EIGRP learned route, after Router2 became unreachable over
the Frame Relay link.
Shown below is the routing table of Router1, when the Frame Relay link is up.
Router1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
[D 172.16.4.0/2490/1787392] via 172.16.2.2, 00:06:56, Serial0
!--- EIGRP learned route over Frame Relay link
C 172.16.1.0/24 is directly connected, Ethernet0
C 172.16.2.0/25 is directly connected, Serial0
C 172.16.3.0/24 is directly connected, BRI0
Router1#
When connectivity over the frame relay link is lost, Router1 installs the floating
static route in its routing table as shown below.
Router1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
S 172.16.4.0/24 [200/0] via 172.16.3.2
!--- Floating static route. Administrative distance is 200
C 172.16.1.0/24 is directly connected, Ethernet0
C 172.16.2.0/25 is directly connected, Serial0
C 172.16.3.0/24 is directly connected, BRI0
Router1#
Any interesting traffic to the network 172.16.4.0/24 now brings up the ISDN
connection. For example, from Router1, a ping to 172.16.4.1 brings up the ISDN
link as shown below.
Note: If you make the routing protocol interesting, then the periodic traffic brings
up the link automatically. The downside of this is that the link will remain up
indefinitely, possibly resulting in high toll charges.
Router1#ping 172.16.4.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 36/36/36 ms
Router1#
3d22h: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up
3d22h: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
3d22h: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1,
changed state to up
3d22h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1,
changed state to up
3d22h: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 5552000 Router2
Router1#
Since the ISDN line is up, EIGRP now starts exchaging routing information over the
ISDN connection. This causes Router1 to install the EIGRP route into its routing
table, pointing to the next-hop 172.16.3.2.
Router1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks
D 172.16.4.0/24 [90/40537600] via 172.16.3.2, 00:00:17, BRI0
!--- EIGRP route learnt over the ISDN link
C 172.16.3.2/32 is directly connected, BRI0
C 172.16.1.0/24 is directly connected, Ethernet0
C 172.16.2.0/25 is directly connected, Serial0
C 172.16.3.0/24 is directly connected, BRI0
Router1#
Interesting traffic is the traffic that will initiate the ISDN call and is defined by the
dialer-list command. In the above configuration, the dialer-list points to the access-
list number 100 which permits all IP packets except EIGRP packets. This means, all
IP packets, except EIGRP packets, can bring up the ISDN connection. Once the
connection is made, any traffic, including EIGRP traffic, is allowed to go across the
link. But if no interesting traffic crosses the ISDN link for the duration of the dialer
idle timer, the link will be brought down and no EIGRP routes will be exchanged. At
this point, floating static route will again be installed in Router1's routing table.
Troubleshoot
For information on troubleshooting the floating static route refer to the document
Configuring and Troubleshooting DDR Backup. This document addresses common
symptoms such as:
The Backup link is not dialed when the primary link goes down.
The Backup link dials but does not connect to the other side.
The backup link is not deactivated when the primary link recovers.
The backup link is not stable (for example, it flaps) when the primary interface is down.
For Frame Relay specific troubleshooting refer to Configuring Frame Relay Backup
The following commands can help to troubleshoot the backup link.:
debug dialer events - To see dial-on-demand routing activity.
debug dialer packets - To see dialer interesting traffic information.
show ppp multilink - To check multilink status after the backup has come up.
Before attempting any of the above debug commands, please see Important
Information on Debug Commands.
Debug Output
Routing protocol traffic (EIGRP) is marked as uninteresting by the dialer list
command, so it will not bring up the link or keep it up. However, when the link is
active, routing updates will be exchanged. The debug dialer packet command can
verify if the correct traffic can bring up a link. Output is shown below.
Router1#debug dialer packets
Dial on demand packets debugging is on
Router1#
3d22h: BR0 DDR: ip (s=172.16.3.1, d=224.0.0.10), 60 bytes,
outgoing uninteresting (list 100)
!--- EIGRP packet
3d22h: BR0 DDR: sending broadcast to ip 172.16.3.2 -- failed,
not connected
!--- EIGRP packet does not bring up the link
3d22h: BR0 DDR: ip (s=172.16.3.1, d=224.0.0.10), 60 bytes,
outgoing uninteresting (list 100)
!--- EIGRP packet
3d22h: BR0 DDR: sending broadcast to ip 172.16.3.2 -- failed,
not connected
!--- EIGRP packet does not bring up the link
3d22h: BR0 DDR: cdp, 273 bytes, outgoing uninteresting (no list matched)
Interesting traffic (Internet Control Message Protocol (ICMP) echoes in this case)
will reset the idle timer and keep the link up as below. Uninteresting traffic is
passed but will not keep the link up if the idle timer expires.
Router1#ping 172.16.4.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/51/80 ms
Router1#
3d22h: BR0 DDR: ip (s=172.16.3.1, d=172.16.4.1), 100 bytes,
outgoing interesting (list 100)
!--- ICMP packet (ping)
3d22h: BR0 DDR: ip (s=172.16.3.1, d=172.16.4.1), 100 bytes,
outgoing interesting (list 100)
!--- ICMP packet (ping)
3d22h: BR0 DDR: ip (s=172.16.3.1, d=172.16.4.1), 100 bytes,
outgoing interesting (list 100)
!--- ICMP packet (ping)
3d22h: BR0 DDR: ip (s=172.16.3.1, d=172.16.4.1), 100 bytes,
outgoing interesting (list 100)
!--- ICMP packet (ping)
3d22h: BR0 DDR: ip (s=172.16.3.1, d=172.16.4.1), 100 bytes,
outgoing interesting (list 100)
!--- ICMP packet (ping)
3d22h: BR0 DDR: ip (s=172.16.3.1, d=224.0.0.10), 60 bytes,
outgoing uninteresting (list 100)
!--- EIGRP packet
3d22h: BR0 DDR: sending broadcast to ip 172.16.3.2
3d22h: BR0 DDR: ip (s=172.16.3.1, d=224.0.0.10), 60 bytes,
outgoing uninteresting (list 100)
!--- EIGRP packet
3d22h: BR0 DDR: sending broadcast to ip 172.16.3.2
Though marked as uninteresting, EIGRP packets cross the ISDN link, because the
connection is already made by the interesting ICMP traffic. |