Cisco IOS Cookbook 中文精简版第十三章拨号备份…

2008-02-23 04:55:03来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

13.1. 自动拨号备份

提问 当广域网链路中断得时候自动拨号恢复备份链路

回答

Router1#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router1(config)#interface BRI0/0

Router1(config-if)#ip address 10.1.99.55 255.255.255.0

Router1(config-if)#encapsulation ppp

Router1(config-if)#dialer idle-timeout 300

Router1(config-if)#dialer map ip 10.1.99.1 name dialhost broadcast 95551212

Router1(config-if)#dialer load-threshold 50 either

Router1(config-if)#dialer-group 1

Router1(config-if)#isdn switch-type basic-ni

Router1(config-if)#isdn spid1 800555123400 5551234

Router1(config-if)#isdn spid2 800555123500 5551235

Router1(config-if)#ppp authentication chap

Router1(config-if)#ppp multilink

Router1(config-if)#exit

Router1(config)#username dialhost password dialpassword

Router1(config)#ip route 0.0.0.0 0.0.0.0 10.1.99.1 180

Router1(config)#dialer-list 1 protocol ip list 101

Router1(config)#access-list 101 deny eigrp any any

Router1(config)#access-list 101 permit ip any any

Router1(config)#router eigrp 55

Router1(config-router)#network 10.0.0.0

Router1(config-router)#end

Router1#

注释 isdn switch-type 定义对端ISDN交换机类型中国用basic-net3。通过Router1#show isdn status 来查看当前状态

Router1#show isdn status

Global ISDN Switchtype = basic-ni

ISDN BRI1/0 interface

dsl 8, interface ISDN Switchtype = basic-ni

Layer 1 Status:

ACTIVE

Layer 2 Status:

TEI = 85, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED

TEI = 86, Ces = 2, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED

TEI 85, ces = 1, state = 8(established)

spid1 configured, spid1 sent, spid1 valid

TEI 86, ces = 2, state = 8(established)

spid2 configured, spid2 sent, spid2 valid

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:Cisco IOS Cookbook 中文精简版第十四章NTP和时钟

下一篇:Cisco IOS Cookbook 中文精简版第十二章隧道和VPN