Table Of Contents
Configuring Backup Data Lines and Remote Management
Configuring Backup Interfaces
Configuring Cellular Dial-on-Demand Routing Backup
Configuring DDR Backup Using Dialer Watch
Configuring DDR Backup Using Floating Static Route
Cellular Wireless Modem as Backup with NAT and IPsec Configuration
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
Example
Configuring Data Line Backup and Remote Management Through the ISDN S/T Port
Configuring ISDN Settings
Configuring Aggregator and ISDN Peer Router
Configuring Backup Data Lines and Remote Management
This chapter describes configuring backup data lines and remote management in the following sections:
•
Configuring Backup Interfaces
•
Configuring Cellular Dial-on-Demand Routing Backup
•
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
•
Configuring Data Line Backup and Remote Management Through the ISDN S/T Port.
The Cisco 880Series Integrated Services Routers (ISRs) support backup data connectivity with a backup data line that enables them to mitigate WAN downtime.
Note
Voice backup is available on router models C881SRST and C888SRST. For information on configuring voice backup, see Chapter 7, "Configuring Voice Functionality."
Cisco 880 ISRs also support remote management functions as follows:
•
Through the auxiliary port on any Cisco 880 series ISRs
•
Through the ISDN S/T port on the Cisco 880 series ISRs
Note
On the Cisco 880 series ISRs the console port and the auxiliary port are on the same physical RJ-45 port. Therefore, the two ports cannot be activated simultaneously. You must use the command-line interface (CLI) to enable the desired function.
Configuring Backup Interfaces
When the router receives an indication that the primary interface is down, the backup interface becomes enabled. After the primary connection has been restored for a specified period, the backup interface is disabled.
Even if the backup interface comes out of standby mode, the router does not enable the backup interface unless the router receives the traffic specified for that backup interface.
Table 4-1 shows the backup interfaces available for each Cisco 880 ISR, along with their port designations. Basic configurations for these interfaces are given in the "Configuring WAN Interfaces" section on page 3-7 of Chapter 3, "Basic Router Configuration."
Table 4-1 Model Numbers and Data Line Backup Capabilities
Router Model Number
|
ISDN
|
3G
|
881G
|
—
|
Yes
|
888G
|
—
|
Yes
|
888
|
Yes
|
—
|
To configure your router with a backup interface, perform these steps, beginning in global configuration mode:
| |
Command
|
Purpose
|
Step 1
|
interface type number
Example:
Router(config)# interface atm 0
|
Enters interface configuration mode for the interface for which you want to configure backup.
This can be a serial interface, ISDN interface, or asynchronous interface.
The example shows the configuration of a backup interface for an ATM WAN connection.
|
Step 2
|
backup interface interface-type interface-number
Example:
Router(config-if)# backup interface bri 0
|
Assigns an interface as the secondary, or backup interface.
This can be a serial interface or asynchronous interface. For example, a serial 1 interface could be configured to back up a serial 0 interface.
The example shows a BRI interface configured as the backup interface for the ATM 0 interface.
|
Step 3
|
exit
Example:
|
Exits the configuration interface mode.
|
Configuring Cellular Dial-on-Demand Routing Backup
To monitor the primary connection and initiate the backup connection over the cellular interface when needed, the router can use one of the following methods:
•
Backup Interface—The backup interface that stays in standby mode until the primary interface line protocol is detected as down and then is brought up. See the "Configuring Backup Interfaces" section.
•
Dialer Watch—Dialer watch is a backup feature that integrates dial backup with routing capabilities. See the "Configuring DDR Backup Using Dialer Watch" section.
•
Floating Static Route—The route through the backup interface has an administrative distance that is greater than the administrative distance of the primary connection route and therefore would not be in the routing table until the primary interface goes down. When the primary interaface goes down, the floating static route is used. See the "Configuring DDR Backup Using Floating Static Route" section
Note
You cannot configure a backup interface for the cellular interface and any other asynchronous serial interface.
Configuring DDR Backup Using Dialer Watch
To initiate dialer watch, you must configure the interface to perform dial-on-demand routing (DDR) and backup. Use traditional DDR configuration commands, such as dialer maps, for DDR capabilities. To enable dialer watch on the backup interface and create a dialer list, use the following commands in interface configuration mode.
SUMMARY STEPS
1.
configure terminal
2.
interface type number
3.
dialer watch group group-number
4.
dialer watch-list group-number ip ip-address address-mask
5.
dialer-list <dialer-group> protocol <protocol name> {permit | deny | list <access list number> | access-group}
6.
ip access-list <access list number> permit <ip source address>
7.
interface cellular 0
8.
dialer string <string>
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
Router# configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 2
|
Router(config)# interface type number
Example:
Router (config)# interface ATM0
|
Specifies the interface.
|
Step 3
|
Router(config-if)# dialer watch-group
group-number
Example:
Router(config-if)# dialer watch-group 2
|
Enables dialer watch on the backup interface.
|
Step 4
|
Router(config)# dialer watch-list group-number ip
ip-address address-mask
Example:
Router(config-if)# dialer watch-list 2 ip 10.4.0.254
255.255.0.0
|
Defines a list of all IP addresses to be watched.
|
Step 5
|
Router(config)# dialer-list <dialer-group> protocol
<protocol-name> {permit | deny | list
<access-list-number> | access-group}>
Example:
Router(config)# dialer-list 2 protocol ip permit
|
Creates a dialer list for traffic of interest and permits access to an entire protocol.
|
Step 6
|
Router(config)# ip access-list <access list number>
permit <ip source address>
Example:
Router(config)# access list 2 permit 10.4.0.0
|
Defines traffic of interest.
Do not use the access list permit all command to avoid sending traffic to the IP network. This may result in call termination.
|
Step 7
|
Router(config)# interface cellular 0
Example:
Router (config)# interface cellular 0
|
Specifies the cellular interface.
|
Step 8
|
Router(config-if)# dialer string <string>
or
Router(config-if)# dialer group <dialer group
number>
Example:
Router (config-if)# dialer string cdma *** cdma ***
or
Router (config-if)# dialer group 2 *** gsm ***
|
CDMA only. Specifies the dialer script (defined using the chat script command).
GSM only. Maps a dialer list to the dialer interface.
|
Configuring DDR Backup Using Floating Static Route
To configure a floating static default route on the secondary interface, use the following commands, beginning in the global configuration mode.
Note
Make sure you have ip classless enabled on your router.
SUMMARY STEPS
1.
configure terminal
2.
ip route network-number network-mask {ip address | interface} [administrative distance] [name name]
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
Router# configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode from the terminal.
|
Step 2
|
Router(config)# ip route network-number network-mask
{ip-address | interface} [administrative distance]
[name name]
Example:
Router (config)# ip route 0.0.0.0 Dialer 2 track 234
|
Establishes a floating static route with the configured administrative distance through the specified interface.
A higher administrative distance should be configured for the route through the backup interface, so that the backup interface is used only when the primary interface is down.
|
Cellular Wireless Modem as Backup with NAT and IPsec Configuration
The following example shows how to configure the 3G wireless modem as backup with NAT and IPsec on either GSM or CDMA networks.
Note
The receive and transmit speeds cannot be configured. The actual throughput depends on the cellular network service.
Current configuration : 3433 bytes
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
crypto isakmp key gsm address 128.107.241.234 *** or cdma ***
crypto ipsec transform-set gsm ah-sha-hmac esp-3des *** or cdma ***
crypto map gsm1 10 ipsec-isakmp *** or cdma1 ***
set transform-set gsm *** or cdma ***
no ip dhcp use vrf connected
ip dhcp excluded-address 10.4.0.254
ip dhcp pool gsmpool *** or cdmapool ***
network 10.4.0.0 255.255.0.0
dns-server 66.209.10.201 66.102.163.231
default-router 10.4.0.254
multilink bundle-name authenticated
chat-script gsm "" "atdt*98*1#" TIMEOUT 30 "CONNECT" *** or cdma ***
line-mode 4-wire standard
interface ATM0.1 point-to-point
backup interface Cellular0
pppoe-client dial-pool-number 2
dialer string gsm *** or cdma ***
ppp chap hostname chunahayev@wwan.ccs
ppp chap password 0 B7uhestacr
crypto map gsm1 *** or cdma1 ***
description used as default gateway address for DHCP clients
ip address 10.4.0.254 255.255.0.0
ppp authentication chap callin
ppp chap hostname cisco@dsl.com
ppp chap password 0 cisco
crypto map gsm1 *** or cdma1 ***
ip local policy route-map track-primary-if
ip route 0.0.0.0 0.0.0.0 Dialer2 track 234
ip route 0.0.0.0 0.0.0.0 Cellular0 254
ip nat inside source route-map nat2cell interface Cellular0 overload
ip nat inside source route-map nat2dsl interface Dialer2 overload
icmp-echo 209.131.36.158 source-interface Dialer2
ip sla schedule 1 life forever start-time now
access-list 2 permit 10.4.0.0 0.0.255.255
access-list 101 permit ip 10.4.0.0 0.0.255.255 any
access-list 102 permit icmp any host 209.131.36.158
access-list 103 permit ip host 166.136.225.89 128.107.0.0 0.0.255.255
access-list 103 permit ip host 75.40.113.246 128.107.0.0 0.0.255.255
dialer-list 1 protocol ip list 1
dialer-list 2 protocol ip permit
route-map track-primary-if permit 10
route-map nat2dsl permit 10
route-map nat2cell permit 10
match interface Cellular0
script dialer gsm *** or cdma ***
scheduler max-task-time 5000
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
When customer premises equipment, such as a Cisco 880 series ISR is connected to an ISP, an IP address is dynamically assigned to the router, or the IP address may be assigned by the router peer through the centrally managed function. The dial backup feature can be added to provide a failover route in case the primary line fails. The Cisco 880 series ISRs can use the auxiliary port for dial backup and remote management.
Figure 4-1 shows the network configuration used for remote management access and for providing backup to the primary WAN line.
Figure 4-1 Dial Backup and Remote Management Through the Auxiliary Port
1
|
Cisco 880 series router
|
A
|
Main WAN link; primary connection to Internet service provider
|
2
|
Modem
|
B
|
Dial backup; serves as a failover link for Cisco 880 routers when primary line goes down
|
3
|
PC
|
C
|
Remote management; serves as dial-in access to allow changes or updates to Cisco IOS configurations
|
To configure dial backup and remote management for these routers, perform these steps, beginning in global configuration mode:
| |
Command
|
Purpose
|
Step 1
|
ip name-server server-address
Example:
Router(config)#ip name-server 192.168.28.12
|
Enters your ISP DNS IP address.
Tip  You may add multiple server addresses if available.
|
Step 2
|
ip dhcp pool name
Example:
Router(config)#ip dhcp pool 1
|
Creates a DHCP address pool on the router and enters DHCP pool configuration mode. The name argument can be a string or an integer.
• Configure the DHCP address pool. For sample commands that you can use in DHCP pool configuration mode, see the "Example" section.
|
Step 3
|
exit
Example:
|
Exits config-dhcp mode and enters global configuration mode.
|
Step 4
|
chat-script script-name expect-send
Example:
Router(config)# chat-script Dialout ABORT
ERROR ABORT BUSY "" "AT" OK "ATDT 5555102
T" TIMEOUT 45 CONNECT \c
|
Configures a chat script used in dial-on-demand routing (DDR) to give commands for dialing a modem and for logging in to remote systems. The defined script is used to place a call over a modem connected to the PSTN.
|
Step 5
|
interface type number
Example:
Router(config)# interface Async 1
|
Creates and enters configuration mode for the asynchronous interface.
Configure the asynchronous interface. For sample commands that you can use in asynchronous interface configuration mode, see the "Example" section.
|
Step 6
|
exit
Example:
|
Enters global configuration mode.
|
Step 7
|
interface type number
Example:
Router(config)# interface Dialer 3
|
Creates and enters configuration mode for the dilaer interface.
|
Step 8
|
dialer watch-group group-number
Example:
Router(config-if)# dialer watch-group 1
|
Specifies the group number for the watch list.
|
Step 9
|
exit
Example:
|
Exits the interface configuration mode.
|
Step 10
|
ip nat inside source {list access-list-number} {interface type number | pool name} [overload]
Example:
Router(config)# ip nat inside source list
101 interface Dialer 3 overload
|
Enables dynamic translation of addresses on the inside interface.
|
Step 11
|
ip route prefix mask {ip-address | interface-type interface-number [ip-address]}
Example:
Router(config)# ip route 0.0.0.0 0.0.0.0
22.0.0.2
|
Sets the IP route to point to the dialer interface as a default gateway.
|
Step 12
|
access-list access-list-number {deny | permit} source [source-wildcard]
Example:
Router(config)# access-list 1 permit
192.168.0.0 0.0.255.255 any
|
Defines an extended access list that indicates which addresses need translation.
|
Step 13
|
dialerwatch-list group-number {ip ip-address address-mask | delay route-check initial seconds}
Example:
Router(config)# dialer watch-list 1 ip
22.0.0.2 255.255.255.255
|
Evaluates the status of the primary link, based on the existence of routes to the peer. The address 22.0.0.2 is the peer IP address of the ISP.
|
Step 14
|
line [aux | console | tty | vty] line-number [ending-line-number]
Example:
Router(config)# line console 0
|
Enters configuration mode for the line interface.
|
Step 15
|
modem enable
Example:
Router(config-line)# modem enable
|
Switches the port from console to auxiliary port function.
|
Step 16
|
exit
Example:
Router(config-line)# exit
|
Exits the configure interface mode.
|
Step 17
|
line [aux | console | tty | vty] line-number [ending-line-number]
Example:
Router(config)# line aux 0
|
Enters configuration mode for the auxiliary interface.
|
Step 18
|
flowcontrol {none | software [lock] [in | out] | hardware [in | out]}
Example:
Router(config)# flowcontrol hardware
|
Enables hardware signal flow control.
|
Example
The following configuration example specifies an IP address for the ATM interface through PPP and IPCP address negotiation and dial backup over the console port.
ip name-server 192.168.28.12
ip dhcp excluded-address 192.168.1.1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
! Need to use your own correct ISP phone number.
modemcap entry MY-USER_MODEM:MSC=&F1S0=1
chat-script Dialout ABORT ERROR ABORT BUSY "" "AT" OK "ATDT 5555102\T"
ip address 192.168.1.1 255.255.255.0
! Dial backup and remote management physical interface.
ppp authentication pap callin
pppoe-client dial-pool-number 1
ppp authentication pap callin
ppp pap sent-username account password 7 pass
! Dialer backup logical interface.
dialer string 5555102 modem-script Dialout
! Remote management PC IP address.
peer default ip address 192.168.2.2
! Need to use your own ISP account and password.
ppp pap sent-username account password 7 pass
! IP NAT over Dialer interface using route-map.
ip nat inside source route-map main interface Dialer1 overload
ip nat inside source route-map secondary interface Dialer3 overload
! When primary link is up again, distance 50 will override 80 if dial backup
! has not timed out. Use multiple routes because peer IP addresses are alternated
! among them when the CPE is connected.
ip route 0.0.0.0 0.0.0.0 64.161.31.254 50
ip route 0.0.0.0 0.0.0.0 66.125.91.254 50
ip route 0.0.0.0 0.0.0.0 64.174.91.254 50
ip route 0.0.0.0 0.0.0.0 63.203.35.136 80
ip route 0.0.0.0 0.0.0.0 63.203.35.137 80
ip route 0.0.0.0 0.0.0.0 63.203.35.138 80
ip route 0.0.0.0 0.0.0.0 63.203.35.139 80
ip route 0.0.0.0 0.0.0.0 63.203.35.140 80
ip route 0.0.0.0 0.0.0.0 63.203.35.141 80
ip route 0.0.0.0 0.0.0.0 Dialer1 150
! PC IP address behind CPE.
access-list 101 permit ip 192.168.0.0 0.0.255.255 any
access-list 103 permit ip 192.168.0.0 0.0.255.255 any
! Watch multiple IP addresses because peers are alternated
! among them when the CPE is connected.
dialer watch-list 1 ip 64.161.31.254 255.255.255.255
dialer watch-list 1 ip 64.174.91.254 255.255.255.255
dialer watch-list 1 ip 64.125.91.254 255.255.255.255
! Dial backup will kick in if primary link is not available
! 5 minutes after CPE starts up.
dialer watch-list 1 delay route-check initial 300
dialer-list 1 protocol ip permit
! Direct traffic to an interface only if the dialer is assigned an IP address.
route-map secondary permit 10
! Change console to aux function.
! To enable and communicate with the external modem properly.
modem autoconfigure discovery
scheduler max-task-time 5000
Configuring Data Line Backup and Remote Management Through the ISDN S/T Port
Cisco 880series routers can use the ISDN S/T port for remote management. Figure 4-2 and Figure 4-3 show two typical network configurations that provide remote management access and backup for the primary WAN line. In Figure 4-2, the dial backup link goes through a customer premises equipment (CPE) splitter, a digital subscriber line access multiplexer (DSLAM), and a central office (CO) splitter before connecting to the ISDN switch. In Figure 4-3, the dial backup link goes directly from the router to the ISDN switch.
Figure 4-2 Data Line Backup Through CPE Splitter, DSLAM, and CO Splitter
1
|
Cisco 880 series router
|
A
|
Primary DSL interface, FE interface (Cisco 881 router)
|
2
|
DSLAM
|
B
|
Dial backup and remote management through the ISDN interface (ISDN S/T port); serves as a failover link when the primary line goes down
|
3
|
ATM aggregator
|
4
|
ISDN switch
|
5
|
ISDN
|
C
|
Provides administrator with remote management capability through the ISDN interface when the primary DSL link is down; serves as dial-in access to allow changes or updates to Cisco IOS configuration
|
6
|
ISDN peer router
|
7
|
Web server
|
8
|
Administrator
|
—
|
—
|
Figure 4-3 Data Line Backup Directly from Router to ISDN Switch
1
|
PC
|
A
|
Primary DSL interface
|
2
|
Cisco 880 series ISR
|
B
|
Dial backup and remote management through the ISDN interface (ISDN S/T port); serves as a failover link when the primary line goes down
|
3
|
DSLAM
|
4
|
Aggregator
|
5
|
ISDN switch
|
C
|
Provides administrator with remote management capability through the ISDN interface when the primary DSL link is down; serves as dial-in access to allow changes or updates to Cisco IOS configuration
|
6
|
Web server
|
7
|
Administrator
|
To configure dial backup and remote management through the ISDN S/T port of your router. perform the following procedures:
•
Configuring ISDN Settings
•
Configuring Aggregator and ISDN Peer Router
Configuring ISDN Settings
Note
Traffic of interest must be present to activate the backup ISDN line by means of the backup interface and floating static routes methods. Traffic of interest is not needed for the dialer watch to activate the backup ISDN line.
To configure your router ISDN interface for use as a backup interface, perform these steps, beginning in global configuration mode:
| |
Command
|
Purpose
|
Step 1
|
isdn switch-type switch-type
Example:
Router(config)# isdn switch-type basic-net3
|
Specifies the ISDN switch type.
The example specifies a switch type used in Australia, Europe, and the United Kingdom. For details on other supported switch types, see the Cisco IOS Dial Technologies Command Reference.
|
Step 2
|
interface type number
Example:
Router(config)# interface bri 0
|
Enters configuration mode for the ISDN Basic Rate Interface (BRI).
|
Step 3
|
encapsulation encapsulation-type
Example:
Router(config-if)#encapsulation ppp
|
Sets the BRI0 interface encapsulation type.
|
Step 4
|
dialer pool-member number
Example:
Router(config-if)# dialer pool-member 1
|
Specifies the dialer pool membership.
|
Step 5
|
isdn switch-type switch-type
Example:
Router(config-if)# isdn switch-type
basic-net3
|
Specifies the ISDN switch type.
|
Step 6
|
exit
Example:
|
Exits configuration interface mode and enters global configuration mode.
|
Step 7
|
interface dialer dialer-rotary-group-number
Example:
Router(config)# interface dialer 0
|
Creates a dialer interface (numbered 0 to 255) and enters interface configuration mode.
|
Step 8
|
ip address negotiated
Example:
Router(config-if)# ip address negotiated
|
Specifies that the IP address for the interface is obtained through PPP/IPCP (IP Control Protocol) address negotiation. The IP address is obtained from the peer.
|
Step 9
|
encapsulation encapsulation-type
Example:
Router(config-if)# encapsulation ppp
|
Sets the encapsulation type to PPP for the interface.
|
Step 10
|
dialer pool number
Example:
Router(config-if)# dialer pool 1
|
Specifies the dialer pool to be used.
In the example, the dialer pool 1 setting associates the dialer 0 interface with the BRI0 interface because the BRI0 dialer pool-member value is 1.
|
Step 11
|
dialer string dial-string#[:isdn-subaddress]
Example:
Router(config-if)# dialer string 384040
|
Specifies the telephone number to be dialed.
|
Step 12
|
dialer-group group-number
Example:
Router(config-if)# dialer group 1
|
Assigns the dialer interface to a dialer group (1-10).
|
Step 13
|
exit
Example:
|
Exits dialer 0 interface configuration mode, and enters global configuration mode.
|
Step 14
|
dialer-list dialer-group protocol protocol-name {permit | deny | list access-list-number | access-group}
Example:
Router(config)# dialer-list 1 protocol ip
permit
|
Creates a dialer list for packets of interest to be forwarded through the specified interface dialer group.
In the example, dialer-list 1 corresponds to dialer-group 1.
For details about this command and additional parameters that can be set, see the Cisco IOS Dial Technologies Command Reference.
|
Configuring Aggregator and ISDN Peer Router
The aggregator is typically a concentrator router where your Cisco router ATM PVC terminates. In the following configuration example, the aggregator is configured as a PPPoE server.
The ISDN peer router is any router that has an ISDN interface and can communicate through a public ISDN network to reach your Cisco router ISDN interface. The ISDN peer router provides Internet access for your Cisco router during the ATM network downtime.
! This portion of the example configures the aggregator.
ip address 40.1.1.1 255.255.255.0
ip address 30.1.1.1 255.255.255.0
interface Virtual-Template1
ip address 22.0.0.2 255.255.255.0
peer default ip address pool adsl
ip local pool adsl 22.0.0.1
ip route 0.0.0.0 0.0.0.0 22.0.0.1 50
ip route 0.0.0.0 0.0.0.0 30.1.1.2.80
! This portion of the example configures the ISDN peer.
isdn switch-type basic-net3
ip address 30.1.1.2 255.0.0.0
description "to 836-dialbackup"
isdn switch-type basic-net3
ip address 192.168.2.2 255.255.255.0
peer default ip address pool isdn
ip local pool isdn 192.168.2.1
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip route 40.0.0.0 255.0.0.0 30.1.1.1
dialer-list 1 protocol ip permit