一个Snapshot配置的实例无图,很简单,就两台路由器
ietobe()
hostname router2
!
username all
username router1 password foo <-- for CHAP athentication
!
isdn switch-type basic-net3
!
interface Ethernet0
ip address 192.168.60.34 255.255.255.0
!
interface BRI0
ip address 172.16.13.134 255.255.255.0
encapsulation ppp
no keepalive
dialer idle-timeout 300
dialer map ip 172.16.13.133 name router1 broadcast 5552070
dialer hold-queue 10 <-- snapshot itself will not use this
dialer-group 1
snapshot server 5
! make sure active time "5" matches the active time on client side
ppp authentication chap
!
router igrp 33
network 172.16.0.0
network 192.168.60.0
!
access-list 101 deny igrp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
access-list 101 deny ip 198.92.60.149 0.0.0.0 0.0.0.0 255.255.255.255
access-list 101 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
! Snapshot routing does not need to de defined in the access-list.
!
dialer-list 1 list 101
router igrp 33
network 172.16.0.0
!
access-list 101 deny igrp any any
access-list 101 permit ip any any
!
dialer-list 1 list 101
×××××××××××××××××××××××××××××××××
hostname router1
!
username router2 password foo
!
isdn switch-type basic-net3
!
interface Ethernet0
ip address 133.11.12.133 255.255.255.0 secondary
ip address 198.92.60.133 255.255.255.0
!
interface BRI0
ip address 172.16.13.133 255.255.255.0
encapsulation ppp
no keepalive
dialer map snapshot 1 5552050
! or use alternatively: dialer map snapshot 1 name router2 broadcast 5552050
dialer map ip 172.16.13.134 name router2 broadcast 5552050
dialer hold-queue 10
dialer-group 1
snapshot client 5 20 dialer
! the dialer option means we allow snapshot to use the dialer interface.
ppp authentication chap
!
文章录入:csh 责任编辑:csh