2514的配置 2514# sho run Building configuration... ! Current configuration: ! version 11.2 no service udp-small-servers no service tcp-small-servers ! hostname 2514 ! enable secret 5 $1$uoHU$Vks/1YCRi33z4TXs4qekI0 ! frame-relay switching ! interface Ethernet0 no ip address ! interface Ethernet1 no ip address shutdown ! interfacc Serial0 ip address 192.3.1.2 255.255.255.0 encapsulation frame-relay IETF ip ospf message-digest-key 1 md5 kim bandwidth 2000 clockrate 2000000 frame-relay map ip 192.3.1.1 100 broadcast frame-relay intf-type dce ! interface Serial1 ip address 192.8.1.1 255.255.255.0 no ip mroute-cache enthpsulation x25 dce ip ospf message-digest-key 2 md5 cisco bandwidth 64 x25 address 1234 x25 htc 16 x25 nvc 4 x25 map ip 192.8.1.2 5678 broadcast clockrate 64000 ! router ospf 1 passive-interface Ethernet0 network 192.3.1.0 0.0.0.255 area 0 network 192.8.1.O 0.0.0.255 area 0 neighbor 192.8.l.2 PRiority 1 neighbor 192.3.1.1 priority 1 area 0 authentication message-digest ! no ip classless ! line con 0 line aux 0 line vty 0 4 login ! end
2505的配置 building configuraiion... Current configuration:! version 11.2 no service udp-small-servers no service tcp-small-servers ! hostname 2505 ! enable secret 5 $1$b43o$CpEYSTc2EPwnRlQGDvIm// ! username 2511-1 passWord 7 1511021F0725 ! hub ether 0 1 link-test auto-polarity ! hub ether O 2 link-test auto-polarity ! hub ether 0 3 link-test auto-polarity ! hub ether 0 4 link-test auto-polarity ! hub ether 0 5 link-test auto-polarity ! hub ether 0 6 link-test auto-polarity ! hub ether 0 7 link-test auto-polarity ! hub ether 0 8 link-test auto-polarity ! interface Ethernet0 ip address 192.1.4.1 255.255.255.0 ! interfacc Serial0 ip address 192.l.2.1 255.255.255.0 ip ospf message-digest-key 1 md5 cisco ip ospf network non-broadcast bandwidth 2000 clockrate 2000000 ! interface Serial1 ip address 192.7.1.2 255.255.255.0 encapsulation ppp ip ospf message-digdest-key 1 md5 kim ip ospf network non-broadcast bandwidth 64 clockrate 64000 ppp authentication chap ! router ospf 1 passive-interface Ethernet0 network 192.l.2.0 0.0.0.255 area 2 network 192.l.4.O 0.0.0.255 area 2 network 192.7.1.0 0.0.0.255 area 0
neighbor 192.7.l.1 priority 1 neighbor 192.1.2.2 priority 1 area 0 authentication message-digest area 2 authentication message-digest area 2 range 192.1.0.0 255.255.0.0 ! no ip classless ip ospf name-lookup ! line con 0 line aux 0 Iine vty 0 4 login ! end线路备份 其实,在广域网连接中,最不可靠的因素大多数情况下是出在线路、端口及外接的设备上。相对来说线路备份更为重要。 线路备份一般有几种主要方法: · 采用动态路由自动进行备份 · 采用显示backup(备份)方法进入备份 · 采用浮动的静态路由方法进行备份
Cisco 2501-above 的配置 Current configuration: ! version 11.2 no service udp-small-servers no service tcp-small-servers ! hostname above ! Current configuration: ! version 11.2 no service udp-small-servers no service tcp-small-servers ! hostname above ! enable secret 5 $1$O1aq$Kxgp1A0Eulqug8SbCm6rdl enable password cisco ! username down password 7 095C5E19 chat-script lab ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "AT H" OK "ATDT /T" TIMEOUT 60 CONNECT /c ! interface Ethernet0 ip address 192.192.193.1 255.255.255.0 !interface Serial0 ip address 192.192.192.1 255.255.255.0 bandwidth 64 clockrate 64000 ! interface Serial1 no ip address shutdown ! interface Async1 ip address 166.71.70.1 255.255.255.0 encapsulation ppp async dynamic address async dynamic routing async mode dedicated dialer in-band dialer map ip 167.71.70.2 name down moden-script lab broadcast 3631 dialer-group 1 no cdp enable ppp authentication chap
! router rip network l92.192.192.0 nctwork 192.192.193.0 ! no ip classless ip route 0.0.0.0 0.0.0.0 166.71.70.2 ip routc 192.192.191.0 255.255.255.0 166.71.70.2 dialer-list 1 protocol ip permit ! line con 0 line aux 0 modem InOut modem autoconfigure discovery stopbits 1 rxspeed 38400 txspeed 38400 flowcontrol hardware line vty 0 4 no login ! end
!Cisco 2501 named down configuration Cisco 2501-down 的配置 Current configuration: ! version 11.2 no service udp-small-servers no servicc tcp-small-servers ! hostname down ! enable secret 5 $1$m8S4$lnrkhnJDtCVtSvTpXO8v/0 enable password cisco ! username above password 7 095C5E19 chat-script lab ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "AT H" OK "ATDT /T" TIMEOUT 60 CONNECT /C ! interface Ethernet 0 ip address 192.192.191.1 255.255.255.0 ! interface Serial0 backup delay 10 10 backup interface Async1 ip address 192.192.192.3 255.255.255.0 !interface Seriall no ip address shutdown ! interface Async1 ip address 166.71.70.2 255.255.255.0 encapsulation ppp async dynamic address async dynamic routing async mode dedicated dialer in-band dialer map ip 166.71.70.1 name above modem-script lab broadcast 3621 dialer-group 1 no cdp enable ppp authentication chap ! router rip net work 192.192.192.0 net work 192.192.191.0 ! no ip classless ip route 0.0.0.0 0.0.0.0 166.71.70.1 ip route 192.192.193.0 255.255.255.0 166.71.70.1 dialer-list 1 protocol ip permit ! line con 0 line aux 0 modem InOut modem autoconfigure discovery stopbits 1 rxspeed 38400 txspeed 38400 flowcontrol hardware line vty 0 4 no login