Tải bản đầy đủ (.doc) (5 trang)

Cấu hình PPP callback giữa hai router (CCNP-BCRAN lab) pdf

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (46.88 KB, 5 trang )

Trong bài lab này, hai router có tên là dung và chau sẽ thực hiện ppp callback.
dung#sh run
Building configuration
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname dung
username chau password 0 cisco
ip subnet-zero
no ip domain-lookup
!
chat-script DUNG ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T"
TIMEOUT 30 CONNECT \c
interface Loopback0
ip address 1.1.1.1 255.255.255.0
no ip directed-broadcast
!
interface Async1
ip address 192.168.8.3 255.255.255.0
no ip directed-broadcast
encapsulation ppp
dialer in-band
dialer callback-secure
dialer idle-timeout 300
dialer enable-timeout 10
dialer wait-for-carrier-time 60
dialer map ip 192.168.8.1 name chau class dialback modem-script DUNG broadcast 204


dialer hold-queue 50
dialer-group 1
async mode dedicated
no cdp enable
ppp callback accept
ppp authentication chap
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.8.1
no ip http server
!
!
map-class dialer dialback
dialer callback-server username
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line aux 0
modem InOut
modem autoconfigure discovery
transport input all
stopbits 1
speed 38400
flowcontrol hardware
line vty 0 4
password cisco
login
!
end

dung#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-I-L), Version 12.0(5)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 23-Jul-99 03:14 by kpma
Image text-base: 0x03039754, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(5), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(5), RELEASE
SOFTWARE (fc1)
dung uptime is 2 hours, 7 minutes
System returned to ROM by reload
System image file is "flash:c2500-i-mz_120-5_T.bin"
cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 02095691, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
Đây là cấu hình router chau:
show run
Building configuration
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption

service udp-small-servers
service tcp-small-servers
!
hostname chau
!
!
username dung password 7 060506324F41
!
ip subnet-zero
!
chat-script chau ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT
30 CONNECT \c
!
process-max-time 200
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
!
interface Loopback1
ip address 192.168.216.1 255.255.255.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
!
interface Ethernet0
ip address 10.0.0.2 255.255.255.0
no ip directed-broadcast

no ip route-cache
no ip mroute-cache
!
!
interface Async1
ip address 192.168.8.1 255.255.255.0
no ip directed-broadcast
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer in-band
dialer idle-timeout 300
dialer enable-timeout 10
dialer wait-for-carrier-time 60
dialer map ip 192.168.8.3 name dung modem-script chau broadcast 203
dialer-group 1
async mode dedicated
ppp callback request
ppp authentication chap
!
ip classless
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
line aux 0
modem InOut
transport input all

stopbits 1
speed 38400
flowcontrol hardware
line vty 0 4
login
!
end
chau#show ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-I-L), Version 12.0(5)T, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 23-Jul-99 03:14 by kpma
Image text-base: 0x03039754, data-base: 0x00001000
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE
SOFTWARE (fc1)
chau uptime is 19 minutes
System returned to ROM by reload
System image file is "flash:c2500-i-mz_120-5_T.bin"
cisco 2500 (68030) processor (revision L) with 14336K/2048K bytes of memory.
Processor board ID 08370517, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
2 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
chau#

×