This document describes the WAN Reroute feature. It includes the following sections:
WAN Reroute Overview
Configuring WAN Reroute
WAN Reroute Commands
Testing and Disabling WAN Reroute Circuits
Note: Previous versions of OpenROUTE software supported a WAN Restoral feature. Starting in OpenROUTE version 3.0, you can set up WAN Restoral functionality using Multilink PPP. See Multilink PPP.
The WAN Reroute process involves:
Figure 23 shows how WAN Reroute provides an alternate connection between LAN 1 and LAN 2. Normally, there is a connection between routers A and B and routers A and C. If the primary link between routers A and B fails, WAN Reroute establishes an alternate link between routers B and C. Routers A and B can then communicate through router C.
Configuring WAN Reroute
The steps to configure WAN Reroute follow, as well as an example of how to perform these tasks.
Figure 24 Sample WAN Reroute Configuration
To set up WAN Reroute on the router in Figure 24, you need to
Configuring the ISDN Interfaces
Follow these steps to set up the ISDN interfaces in Figure
24 for WAN Reroute.
Config>network
What is the network number [0]? 1
Circuit Configuration
Circuit Config <NET-1> set destination
Assign destination address name []? isp1
Circuit Config <NET-1> set idle
Idle timer (seconds, 0 means always active) [60]? 30
Config>network
What is the network number [0]? 2
Circuit ConfigurationCircuit Config <NET-2> set destination
Assign destination address name []? isp2
Circuit Config <NET-2> set idle
Idle timer (seconds, 0 means always active) [60]? 30
To disable the interface, enter disable interface at the Config> prompt. Otherwise, configure the interface to dial on demand by setting the idle timer to nonzero. Enter set idle at the Circuit Config <NET-#> prompt.
Assigning and Configuring the Alternate Link
Enter the WAN Reroute configuration process to assign interface 2 as the alternate link for the interface 1 and, if desired, to specify the stabilization periods. There are two types of stabilization periods:
First stabilization period is the amount of time the router waits for the primary interface to become active when the router first attempts to bring it up. If the primary interface does not come up before the first stabilization period expires, WAN Reroute brings up the alternate link.
Stabilization period is the amount of time the router waits to be sure the primary link is reliable before it switches from the alternate link back to the primary link.
Config>feature wrr
WAN Reroute user configuration
WRR Config>
WRR Config>add alternate-circuit
Alternate interface number [0]? 2
Primary interface number [0]? 1
WRR Config>enable alternate-circuit
Alternate interface number [0]? 2
WRR Config>enable wrr
To set the first stabilization period for a specific primary interface, enter set first-stabilization. To set a default first stabilization period for all interfaces that do not have specific periods set, enter set default first-stabilization.
WRR Config>set first-stabilization
Primary interface number [0]? 1
First primary stabilization time (0 - 3600 seconds -1 = default) [-1]?WRR Config>set default first-stabilization
Default first primary stabilization time (0 - 3600 seconds) [0]?
Figure 25 Sample WAN Reroute Configuration
To set up WAN reroute on Router A in Figure 25, you need to
Config> prompt. Config>set down-notify
Interface number [0]? 1
Down notification time (1 to 300, 0 to restore default)[0]? 2
Not all parameters apply to all router platforms. Press Space twice after you type a command to display the available parameters for each command. Enter help for information about using the command line interface.
[C] means the command is available at the WRR Config> prompt.
[M] means the command is available at the WRR> prompt.
| Command | Function |
|---|---|
| Add [C] | Assigns an alternate interface to a primary interface. |
| Disable [C] [M] | Clears the monitoring statistics displayed using the list command. |
| Disable [C] [M] | Disables WAN Reroute or disables the use of an alternate circuit for WAN Reroute. |
| Enable [C] [M] | Enables WAN Reroute or enables an alternate circuit. |
| Exit [C] [M] | Returns to the previous prompt. |
| List [C] [M] | Displays the current WAN Reroute configuration. |
| Remove [C] | Removes the assignment of an alternate interface to a primary interface. |
| Set [C] | Sets a stabilization period for the primary interface. |
Add [C]
Assigns an interface as the alternate to a primary interface for WAN Reroute. You must have previously configured both interfaces. You can assign only one alternate interface to a primary interface.
add alternate-circuit
Alternate interface number [0]? 4
Primary interface number [0]? 1
clear
Disable [C] [M]
Disables WAN Reroute on the router or disables an alternate circuit.
Note:
At the WRR> prompt, this command disconnects any active call on the alternate interface. The interface remains disabled until you restart or reload the router or until you enter enable alternate-circuit.
disable alternate-circuit
Alternate interface number [0]? 4
Alternate circuit 4 unassigned
Enable [C] [M]
Enables WAN Reroute on the router or enables an alternate circuit.
Example: enable alternate-circuit
Alternate interface number [0]? 4
Exit [C] [M]
Returns to the previous prompt.
exit
List [C] [M]
Displays configuration information or monitoring statistics as described in the next sections.
List [C]
Displays the current WAN Reroute configuration.
list
WAN Reroute is enabled.
Default Stabilization Time: 0 seconds
Default First Stabilization Time: 0 seconds
Alternate 1st Subseq
Primary Interface Alternate Interface Enabled Stab Stab
--------------------- ---------------------- -------- ---- ----
1 - Basic Rate ISDN 2 - PPP Dial Circuit Yes 30 dflt
WAN Re-route is enabled with 1 circuit configured
Total reroute attempts = 1 completions = 1
Longest completed restoral period in hrs:min:sec 0:30:15
Primary Alternate Re-route Re-route Current/Longest
Net Interface Net Interface Enabled Active Duration
------------- ------------- -------- -------- ---------------
3 PPP/2 4 PPP/3 Yes No ---:--:--
alternate-circuit interface#
Displays statistics and configuration for individual alternate interfaces and their associated primary interfaces.
Example: list alternate-circuit
Alternate interface number [0]? 4
Primary 3:PPP/2 Point to Point ISDN Basic Rate
Alternate 4:PPP/3 Point to Point ISDN Basic Rate
Enabled, re-route currently inactive
Primary first stabilization time: default (3 seconds)
Primary stabilization time: default (3 seconds)
Restored 0 times (0 attempts)
WAN Reroute is enabled with 1 circuit(s) configured
Total reroute attempts = 1 completions = 0
Longest completed reroute period in hrs:min:sec 0:00:00
Remove [C]
Deletes the assignment of an alternate interface to the primary interface.
remove alternate-circuit
Primary interface number [0]?
First stabilization period is the amount of time the router waits for the primary interface to become active when the router first attempts to bring it up. If the primary interface does not come up before the first stabilization period expires, WAN Reroute brings up the alternate link.
Stabilization period is the amount of time the router waits to be sure the primary link is reliable before it switches from the alternate link back to the primary link.
Example: set default first-stabilization
Default first primary stabilization time (0 - 3600 seconds) [0]?
Example: set default stabilization
Default primary stabilization time (0 - 3600 seconds) [0]?
Example: set first-stabilization
Primary interface number [0]? 1
First primary stabilization time (0 - 3600 seconds -1 = default) [-1]?
Primary interface number [0]? 1
Primary stabilization time (0 - 3600 seconds, -1 = default) [-1]?
If you enter disable at the Monitor> prompt, the router disconnects the current call, but the alternate interface remains available for WAN Reroute. To disable WAN Reroute, enter disable at the WRR> or WRR Config> prompt.