|
|
Snapshot routing enables a single router interface to call other routers during periods when the line protocol for the interface is up (these are called "active periods"). The router dials to all configured locations during such active periods to get routes from all the remote locations.
The router can be configured to exchange routing updates each time the line protocol goes from "down" to "up" or from "dialer spoofing" to "fully up." The router can also be configured to dial the server router in the absence of regular traffic if the active period time expires.
Snapshot routing is useful in two command situations:
For a complete description of the snapshot routing commands in this chapter, refer to the "Snapshot Routing Commands" chapter of the Dial Solutions Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
When configuring snapshot routing, you choose one router on the interface to be the client router and one or more other routers to be server routers. The client router determines the frequency at which routing information is exchanged between routers.
Routing information is exchanged during an active period. During the active period, a client router dials all the remote server routers for which it has a snapshot dialer map defined in order to get routes from all the remote locations. The server router provides information about routes to each client router that calls.
At the end of the active period, the router takes a snapshot of the entries in the routing table. These entries remain frozen during a quiet period. At the end of the quiet period, another active period starts during which routing information is again exchanged. See Figure 127.

When the router transitions from the quiet period to the active period, the line might not be available for a variety of reasons. For example, the line might be down or busy, or the PVC might be down. If this happens, the router has to wait through another entire quiet period before it can update its routing table entries. This wait might be a problem if the quiet period is very long--for example, 12 hours. To avoid having to wait through the quiet period, you can configure a retry period. If the line is not available when the quiet period ends, the router waits for the amount of time specified by the retry period and then transitions to an active period. See Figure 128.

The retry period is also useful in a dial-up environment in which there are more remote sites than router interface lines that dial in to a Primary Rate Interface (PRI) and want routing information from that interface. For example, a PRI has 23 DS-0s available, but you might have 46 remote sites. In this situation, you would have more dialer map commands than available lines. The router will try the dialer map commands in order and will use the retry time for the lines that it cannot immediately access.
To configure snapshot routing, perform the tasks described in the following sections:
You can also monitor and maintain interfaces configured for snapshot routing. See the "Monitor DDR Connections and Snapshot Routing" section.
For an example of configuring snapshot routing, see the ""Snapshot Routing Configuration Examples"" section later in this chapter.
To configure snapshot routing on the client router that is connected to a dedicated serial line, perform the following tasks starting in global configuration mode:
| Task | Command |
|---|---|
| Step 1 Specify a serial interface. | interface serial number |
| Step 2 Configure the client router. | snapshot client active-time quiet-time [suppress-statechange-updates] [dialer] |
To configure snapshot routing on the client router connected to an interface configured for DDR, perform the following tasks starting in global configuration mode:
| Task | Command |
|---|---|
| Step 1 Specify a serial interface. | interface serial number |
| Step 2 Configure a dialer rotary group. | dialer rotary-group number |
| Step 3 Specify a dialer interface. | interface dialer number |
| Step 4 Configure the client router. | snapshot client active-time quiet-time [suppress-statechange-updates] [dialer] |
| Step 5 Define a dialer map. | dialer map snapshot sequence-number dial-string |
Repeat Step 5 for each map you want to define. Maps must be provided for all the remote server routers this client router is to call during each active period.
Because ISDN BRI and PRI automatically have rotary groups, you do not need to define a rotary group when configuring snapshot routing. To configure snapshot routing on the client router over an interface configured for BRI or PRI, perform the following steps:
| Task | Command |
|---|---|
| Step 1 Specify a BRI interface. | interface bri number |
| Step 2 Configure the client router. | snapshot client active-time quiet-time [suppress-statechange-updates] [dialer] |
| Step 3 Define a dialer map. | dialer map snapshot sequence-number dial-string |
Repeat Step 3 for each map you want to define.
To configure snapshot routing on the server router that is connected to a dedicated serial line, perform the following tasks starting in global configuration mode:
| Task | Command |
|---|---|
| Step 1 Specify a serial interface. | interface serial number |
| Step 2 Configure the server router. | snapshot server active-time [dialer] |
To configure snapshot routing on the associated server router connected to an interface configured for DDR, perform the following tasks beginning in global configuration mode:
The active period for the client router and its associated server routers should be the same.
To monitor DDR connections and snapshot routing, perform the following tasks in privileged EXEC mode:
| Task | Command |
|---|---|
| Display general diagnostics about the DDR interface. | show dialer [interface type number] |
| Display information about the ISDN interface. | show interfaces bri 0 |
| Terminate the snapshot routing quiet period on the client router within two minutes. | clear snapshot quiet-time interface |
| Display information about snapshot routing parameters. | show snapshot interface |
| Clear the values of the general diagnostic statistics. | clear dialer |
The following example configures snapshot routing on an interface configured for DDR on the client router. In this configuration, a single client router can call multiple server routers. It dials to all different locations during each active period to get routes from all those remote locations.
The absence of the suppress-statechange-updates keyword means that routing updates will be exchanged each time the line protocol goes from "down" to "up" or from "dialer spoofing" to "fully up." The dialer keyword on the snapshot client command allows the client router to dial the server router in the absence of regular traffic if the active period time expires.
interface serial 0 dialer rotary-group 3 ! interface dialer 3 dialer in-band snapshot client 5 360 dialer dialer map snapshot 2 4155556734 dialer map snapshot 3 7075558990
The following commands configure the server router:
interface serial 2 snapshot server 5 dialer
|
|