来源:CISCO 补习班
R1#sh run
Building configuration...
Current configuration : 1153 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ftp-server write-enable
!
!
controller E1 2/0
channel-group 0 timeslots 1-31
!
controller E1 2/1
!
!
!
interface FastEthernet0/0
ip address 199.14.1.7 255.255.255.0
duplex auto
speed auto
standby ip 199.14.1.9
standby preempt
standby track Serial2/0:0 50
!
interface BRI0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial2/0:0
ip address 172.18.14.2 255.255.255.252
encapsulation ppp
ip ospf message-digest-key 1 md5 lottery
!
router ospf 1
log-adjacency-changes
area 14 authentication message-digest
passive-interface FastEthernet0/0
network 172.18.14.2 0.0.0.0 area 14
network 199.14.1.7 0.0.0.0 area 14
!
ip classless
ip route 196.1.1.0 255.255.255.0 199.14.1.10
ip route 198.1.1.0 255.255.255.0 199.14.1.10
ip http server
!
!
line con 0
password cisco
line aux 0
line vty 0 4
password cisco
login
!
end
R1#
R2#sh run
Building configuration...
Current configuration : 1819 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$KZ/w$wuEuGqOdxSR5nIeaShH/M.
!
memory-size iomem 30
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
username test password 0 test
!
!
controller E1 3/0
channel-group 0 timeslots 1-31
!
controller E1 3/1
!
!
!
!
interface Loopback0
no ip address
!
interface FastEthernet0/0
ip address 199.14.1.8 255.255.255.0
duplex auto
speed auto
standby ip 199.14.1.9
standby priority 90
standby preempt
standby track Serial3/0:0 50
!
interface BRI0/0
no ip address
shutdown
!
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.0
no ip route-cache cef
no ip route-cache
no ip mroute-cache
duplex auto
speed auto
!
interface Serial3/0:0
ip address 172.18.14.6 255.255.255.252
encapsulation ppp
ip ospf message-digest-key 1 md5 lottery
!
interface Group-Async0
ip unnumbered FastEthernet0/1
encapsulation ppp
no ip route-cache cef
no ip route-cache
ip tcp header-compression
no ip mroute-cache
shutdown
dialer in-band
dialer idle-timeout 600
dialer-group 1
async dynamic address
async mode dedicated
peer default ip address pool test
ppp authentication pap
no group-range
!
interface Group-Async1
physical-layer async
no ip address
!
router ospf 1
log-adjacency-changes
area 14 authentication message-digest
passive-interface FastEthernet0/0
network 172.18.14.6 0.0.0.0 area 14
network 199.14.1.8 0.0.0.0 area 14
!
no ip http server
ip classless
ip route 196.1.1.0 255.255.255.0 199.14.1.10
ip route 198.1.1.0 255.255.255.0 199.14.1.10
!
!
dialer-list 1 protocol ip permit
!
!
!
!
!
!
!
line con 0
password cisco
line aux 0
line vty 0 4
password cisco
login
!
end
