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.
Figure 1 WAN Reroute

Configuring WAN Reroute
The steps to configure WAN Reroute follow, as well as an example of how to perform these tasks.
To configure WAN Reroute:
Figure 2 Sample WAN Reroute Configuration

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
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.
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 3 Sample WAN Reroute Configuration

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.
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.
Syntax: add
add alternate-circuit
Alternate interface number [0]? 4
Primary interface number [0]? 1
clear
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.
Example: disable alternate-circuit
Alternate interface number [0]? 4
Alternate circuit 4 unassigned
disable wrr
enable alternate-circuit
Alternate interface number [0]? 4
enable wrr
exit
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
list all
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)
list summary
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.
Syntax: remove
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.
set default first-stabilization
Default first primary stabilization time (0 - 3600 seconds) [0]?
set default stabilization
Default primary stabilization time (0 - 3600 seconds) [0]?
set first-stabilization
Primary interface number [0]? 1
First primary stabilization time (0 - 3600 seconds -1 = default) [-1]?
set stabilization
Primary interface number [0]? 1
Primary stabilization time (0 - 3600 seconds, -1 = default) [-1]?
WRR> or WRR Config> prompt.