Page 131 / 196 Scroll up to view Page 126 - 130
13-13
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
Configuration Example
The following configuration example specifies an IP address for the ATM interface through PPP/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
!
ip dhcp pool 1
import all
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”
TIMEOUT 45 CONNECT \c
!
!
!
!
interface vlan 1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
hold-queue 100 out
!
! Dial backup and remote management physical interface.
interface Async1
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 3
async default routing
async dynamic routing
async mode dedicated
ppp authentication pap callin
!
Step 17
line
[
aux
|
console
|
tty
|
vty
]
line-number
[
ending-line-number
]
Example:
Router(config)#
line aux 0
Router(config)#
Enters configuration mode for the auxiliary
interface.
Step 18
flowcontrol
{
none
|
software
[
lock
] [
in
|
out
] |
hardware
[
in
|
out
]}
Example:
Router(config)#
flowcontrol hardware
Router(config)#
Enables hardware signal flow control.
Command
Purpose
Page 132 / 196
13-14
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
interface ATM0
mtu 1492
no ip address
no atm ilmi-keepalive
pvc 0/35
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
!
! Primary WAN link.
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp pap sent-username account password 7 pass
ppp ipcp dns request
ppp ipcp wins request
ppp ipcp mask request
!
! Dialer backup logical interface.
interface Dialer3
ip address negotiated
ip nat outside
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool 3
dialer idle-timeout 60
dialer string 5555102 modem-script Dialout
dialer watch-group 1
!
! Remote management PC IP address.
peer default ip address 192.168.2.2
no cdp enable
!
! Need to use your own ISP account and password.
ppp pap sent-username account password 7 pass
ppp ipcp dns request
ppp ipcp wins request
ppp ipcp mask request
!
! 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
ip classless
!
! 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
no ip http server
ip pim bidir-enable
!
Page 133 / 196
13-15
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
! 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 main permit 10
match ip address 101
match interface Dialer1
!
route-map secondary permit 10
match ip address 103
match interface Dialer3
!
! Change console to aux function.
line con 0
exec-timedout 0 0
modem enable
stopbits 1
line aux 0
exec-timeout 0 0
! To enable and communicate with the external modem properly.
script dialer Dialout
modem InOut
modem autoconfigure discovery
transport input all
stopbits 1
speed 115200
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
password cisco
login
!
scheduler max-task-time 5000
end
Page 134 / 196
13-16
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 ISDN S/T Port
Configuring Dial Backup and Remote Management Through the
ISDN S/T Port
Cisco 876 and Cisco 878 routers can use the ISDN S/T port for remote management. With an advanced
enterprise (c870-adventerprisek9-mz) image, a Cisco 876 router can also use the ISDN S/T port for
dial backup.
Figure 13-2
and
Figure 13-3
show two typical network configurations used to provide remote
management access and backup for the primary WAN line. In
Figure 13-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 13-3
, the
dial backup link goes directly from the Cisco router to the ISDN switch.
Figure 13-2
Dial Backup Through CPE Splitter, DSLAM, and CO Splitter
82892
ATM
network
Internet
B
2
3
4
8
7
6
5
C
A
1
1
Cisco 876 or Cisco 878 router
A
Primary DSL interface
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
Administrator remote management 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
Page 135 / 196
13-17
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 ISDN S/T Port
Figure 13-3
Dial Backup Directly from Router to ISDN Switch
88208
ATM
network
Internet
B
5
4
3
7
6
C
A
1
2
1
PC
A
Primary DSL interface
2
Cisco 876 router
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
Administrator remote management 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
Configuration Tasks
Perform the following tasks to configure dial backup and remote management through the ISDN S/T port
of your router:
Configure ISDN Settings
Configure the Aggregator and ISDN Peer Router
Configure 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.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top