ChinaUnix.net
 >> ChinaUnix.net > 网络技术及应用

拨号备份的问题

作者:amd-ppp     发表时间:2002/04/28 10:22am

我使用cisco3660、2500两台路由器其中3660走DDN做主线路,2500走拨号备份DDN线路(GVC33.6外猫)客户端使用MP2600终端服务器,s2 口走DDN,s1走拨号(用2600的内猫)谁知道如何配置拨号线路

此文章相关评论:
该文章有5个相关评论如下:(点这儿可以发表评论)
peng 发表于: 2002/04/28 10:34am
[这个贴子最后由peng在 2002/04/28 10:36am 编辑]

配置拨号备份

拨号备份提供了一种保护,使得当广域网上主干线出现故障时,启动一条备份线路,使通信正常运转.

启动备份有两种情况:

主干线断掉

传输流量超过了定义的最大值

需作的定义如下:

在主干线路端口上设置它的备份端口 backup interface interface-name
定义备份负载 backup load {enable-threshold | never} {disable-load |never}
定义主干线up或down的响应时间 backup delay {enable-delay | never) {disable-delay | never}

其中: enable-threshold --- 表示主干线超过总传输量的百分比,启动备份线路

disable-load --- 表示传输量减少百分之多少就断开备份线路.

enable-delay --- 表示主干线断开多长时间后,启动备份线路.

disable-delay --- 表示主干线又重新恢复多长时间后,断开备份线路.
要想了解更多,到本论坛的ftp空间去下载cisco配置手册
 我没有做过,你要是做成了,请给回个贴子,说明一下解决方法,以便大家更好的学习。

 
amd-ppp 发表于: 2002/04/28 10:47am
谢谢你,我要做的是当主线路断掉后,启动拨号,现在的问题是GVC33。6猫的呼出脚本如何配?
 
流风回雪 发表于: 2002/06/26 12:04pm
设置成缺省的modem试一下
chat-script default ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "ATDT\T" TIMEOUT
60 CONNECT \c
设置响应的备分接口
定义modeml autoconfigure type default

 
我爱臭豆腐 发表于: 2002/06/26 12:31pm
这是cisco的一个例子你看看是否对你有帮助。我过去做过但是没有留脚本。和这个差不多。
gaugin (Cisco 2500) - Calling Router

gaugin#show running-config
Building configuration...

Current configuration:
hostname gaugin

username sphinx password 0 cisco
!
chat-script CALLOUT "" "atdt\T" TIMEOUT 60 CONNECT \c
modemcap entry usr:MSC=&FS0=1&C1&D2&H1&R2&B1&W
interface Loopback1
ip address 1.1.1.1 255.255.255.255
!
interface Serial0
ip address 3.3.3.1 255.255.255.0
!
interface Serial2
physical-layer async
ip unnumbered Loopback1
encapsulation ppp
dialer in-band
dialer map ip 2.2.2.1 name sphinx modem-script CALLOUT 8029
dialer-group 1
async mode dedicated
no peer default ip address
no fair-queue
ppp authentication chap callin

ip route 2.2.2.1 255.255.255.255 Serial0
ip route 2.2.2.1 255.255.255.255 Serial2

dialer-list 1 protocol ip permit

line 2
script dialer CALLOUT
modem InOut
modem autoconfigure type usr
transport input all
speed 115200
flowcontrol hardware

sphinx (Cisco 2500) - Called Router

sphinx#show running-config
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname sphinx
username gaugin password 0 cisco
modemcap entry usr:MSC=&FS0=1&C1&D2&H1&R2&B1&W
!
interface Loopback1
ip address 2.2.2.1 255.255.255.255
no ip directed-broadcast
!
interface Serial0
ip address 3.3.3.2 255.255.255.0
!
interface Serial2
physical-layer async
ip unnumbered Loopback1
no ip directed-broadcast
encapsulation ppp
dialer in-band
dialer-group 1
async mode dedicated
no peer default ip address
no fair-queue
no cdp enable
ppp authentication chap

ip route 1.1.1.1 255.255.255.255 Serial0
ip route 1.1.1.1 255.255.255.255 Serial2 2
! --- The 2 here is important since the async interface will be in spoofing mode
! --- (not in standby mode). If we do not use the 2 here, we lose half of the
! --- packets in the return path.
line 2
modem InOut
modem autoconfigure type usr
transport input all
speed 115200
flowcontrol hardware

 
terrance 发表于: 2002/09/28 09:05pm
[这个贴子最后由terrance在 2002/09/28 09:06pm 编辑]

不错
:em37:
 
 

Copyright © ChinaUnix.net  *  转载请注明出处及作者