Page 126 / 196 Scroll up to view Page 121 - 125
13-8
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 13
Configuring Dial Backup and Remote Management
Dial Backup Feature Limitations
!
dsl operating-mode auto
!
! Dial backup interface, associated with physical BRI0 interface.
! Dialer pool 1 associates it with BRI0’s dialer pool member 1
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer idle-timeout 30
dialer string 384040
dialer-group 1
!
! Primary interface associated with physical ATM0’s interface.
! Dialer pool 2 associates it with ATM0’s dial-pool-number2.
interface Dialer2
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer pool 2
dialer-group 2
!
ip classless
no cdp enable
! Primary and backup interface are given route metric. (This example uses static routes,
! thus atm0 line protocol must be brought down for backup interface to function.)
ip route 0.0.0.0 0.0.0.0 22.0.0.2
ip route 0.0.0.0 0.0.0.0 192.168.2.2 150
ip http server
!
! Specifies interesting traffic to trigger backup ISDN traffic.
dialer-list 1 protocol ip permit
Example 13-3
Configuring Dial Backup Using Dialer Watch
!
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
!
! Specifies the ISDN switch type.
isdn switch-type basic-net3
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
hold-queue 100 out
!
! ISDN interface to be used as a backup interface.
interface BRI0
no ip address
encapsulation ppp
dialer pool-member 1
isdn switch-type basic-net3
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 1/40
encapsulation aal5snap
pppoe-client dial-pool-number 2
Page 127 / 196
13-9
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 13
Configuring Dial Backup and Remote Management
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
!
dsl operating-mode auto
!
! Dial backup interface, associated with physical BRI0 interface.
! Dialer pool 1 associates it with BRI0’s dialer pool member 1.
! Note “dialer watch-group 1” associates a watch list with corresponding
! “dialer watch-list” command.
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer idle-timeout 30
dialer string 384040
dialer watch-group 1
dialer-group 1
!
! Primary interface associated with physical ATM0 interface.
! Dialer pool 2 associates it with ATM0’s dial-pool-number2.
interface Dialer2
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer pool 2
dialer-group 2
no cdp enable
!
ip classless
!
! Primary and backup interface are given route metric.
ip route 0.0.0.0 0.0.0.0 22.0.0.2
ip route 0.0.0.0 0.0.0.0 192.168.2.2 80
ip http server
!
! Watch for interesting traffic.
dialer watch-list 1 ip 22.0.0.2 255.255.255.255
! Specifies interesting traffic to trigger backup ISDN traffic.
dialer-list 1 protocol ip permit
!
Configuring Dial Backup and Remote Management Through the
Console or Auxiliary Port
When customer premises equipment, such as a Cisco 850 or Cisco 870 series router 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. Cisco 850 and Cisco 870 routers can use the auxiliary port for dial
backup and remote management.
Note
The cable modem environment is currently not supported.
Page 128 / 196
13-10
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 13
Configuring Dial Backup and Remote Management
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
Figure 13-1
shows the network configuration used for remote management access and for providing
backup to the primary WAN line.
Figure 13-1
Dial Backup and Remote Management Through the Auxiliary Port
82269
A
1
3
2
2
C
B
B
C
2
ATM
PSTN
1
Cisco 850 or Cisco 870
series router
A
Main WAN link; primary connection to Internet service provider
2
Modem
B
Dial backup; serves as a failover link for Cisco 870 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
Configuration Tasks
Perform these steps to configure dial backup and remote management for these routers, beginning in
global configuration mode:
Command
Purpose
Step 1
ip name-server
server-address
Example:
Router(config)#
ip name-server
192.168.28.12
Router(config)#
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
Router(config-dhcp)#
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 you can use in DHCP pool
configuration mode, see the
“Configuration
Example” section on page 13-13
.
Page 129 / 196
13-11
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 13
Configuring Dial Backup and Remote Management
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
Step 3
exit
Example:
Router(config-dhcp)#
exit
Router(config)#
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
Router(config)#
Configures a chat script used in dial-on-demand
routing (DDR) to give commands to dial a modem
and to log in to remote systems. The defined script
is used to place a call over a modem.
Step 5
interface
type
number
Example:
Router(config)#
interface Async 1
Router(config-if)#
Creates and enters configuration mode for the
asynchronous interface.
Configure the asynchronous interface. For
sample commands you can use in async
interface configuration mode, see the
“Configuration Example” section on
page 13-13
.
Step 6
exit
Example:
Router(config-if)#
exit
Router(config)#
Enters global configuration mode.
Step 7
interface
type
number
Example:
Router(config)#
interface Dialer 3
Router(config-if)#
Enters interface configuration mode.
Step 8
dialer watch-group
group-number
Example:
Router(config-if)#
dialer watch-group 1
Router(config-if)#
Specifies the group number for watch list.
Step 9
exit
Example:
Router(config-if)#
exit
Router(config)#
Enters global configuration mode.
Command
Purpose
Page 130 / 196
13-12
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 13
Configuring Dial Backup and Remote Management
Configuring Dial Backup and Remote Management Through the Console or Auxiliary Port
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
Router(config)#
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
Router(config)#
Evaluates the status of the primary link, based on
the existence of routes to the peer. 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
Router(config-line)#
Enters configuration mode for the line interface.
Step 15
modem enable
Example:
Router(config-line)#
modem enable
Router(config-line)#
Switches the port from console to auxiliary port
function.
Step 16
exit
Example:
Router(config-line)#
exit
Router(config)#
Enters global configuration mode.
Command
Purpose

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top