Cisco Backup Adsl/Sdsl

De BlaxWiki
Aller à la navigationAller à la recherche
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname test
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
enable secret 5 $1$R510$xGEmJcm5paMbP6eEr7cTO/
enable password 7 052A0E1F3478465B38
!
aaa new-model
!
!
aaa authentication login clientauth local
aaa authorization network groupauthor local 
!
aaa session-id common
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip cef
!
!
no ip dhcp use vrf connected
!
!
!
!
no ip domain lookup
ip domain name test
ip name-server 212.43.194.2
ip name-server 212.43.194.3
ip sla monitor 1
 type echo protocol ipIcmpEcho 62.240.247.52
 timeout 1000
 threshold 2
 frequency 3
ip sla monitor schedule 1 life forever start-time now
vpdn enable
!
!
!
!
!
username Router password 7 0205085A1907012458
!
!
track 123 rtr 1 reachability
! 
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.168.254 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 speed 100
 full-duplex
!
interface FastEthernet0/1
 no ip address
 ip tcp adjust-mss 1452
 speed auto
 half-duplex
 pppoe enable
 pppoe-client dial-pool-number 1
 hold-queue 100 out
!
interface ATM0/0/0
 no ip address
 ip broadcast-address 0.0.0.0
 no ip mroute-cache
 atm ilmi-keepalive 1
 dsl operating-mode auto 
 pvc 8/35 
  pppoe-client dial-pool-number 2
 !
!
interface Dialer1
 ip dhcp client route track 123
 ip address negotiated
 ip mtu 1492
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 ip tcp adjust-mss 1452
 dialer pool 1
 dialer remote-name redback
 ppp authentication pap chap callin
 ppp chap hostname xxx@claranet.fr
 ppp chap password xxx
 ppp pap sent-username xxx@claranet.fr password xxx
 ppp ipcp dns request
 ppp ipcp wins request
!
interface Dialer2
 ip address negotiated
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 dialer pool 2
 dialer idle-timeout 10
 dialer wait-for-line-protocol 1
 dialer wait-for-carrier-time 1
 dialer-group 8
 no cdp enable
 ppp authentication pap chap callin
 ppp chap hostname xxxx-2@dsl1.ipadsl
 ppp chap password xxxx
 ppp pap sent-usernamexxxx-2@dsl1.ipadsl password xxxx
 ppp ipcp dns request
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 name Primary-Connection track 123
ip route 0.0.0.0 0.0.0.0 Dialer2 254 name secondary-Connexion
!
ip http server
no ip http secure-server
ip nat inside source route-map Primary-Connection interface Dialer1 overload
ip nat inside source route-map Secondary-Connection interface Dialer2 overload
!
ip access-list extended protocol
!
ip access-list log-update threshold 10
access-list 2 permit 192.168.0.0 0.0.0.255
access-list 3 permit 212.43.195.0 0.0.0.255
access-list 102 permit ip any any log
access-list 110 permit ip 192.168.168.0 0.0.0.255 any
dialer-list 1 protocol ip permit
dialer-list 8 protocol ip permit
route-map Secondary-Connection permit 10
 match ip address 110
 match interface Dialer2
!
route-map Primary-Connection permit 10
 match ip address 110
 match interface Dialer1
!
!
!
control-plane
!
!
line con 0
 exec-timeout 120 0
 transport output all
 stopbits 1
line aux 0
 transport output all
 stopbits 1
line vty 0 3
 access-class 23 in
 exec-timeout 120 0
 length 0
 transport output all
line vty 4
 access-class 3 in
 exec-timeout 120 0
 length 0
 transport input telnet
 transport output all
!
scheduler max-task-time 5000
end