+ Reply to Thread
Results 1 to 2 of 2

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

  1. #1
    Join Date
    Oct 2005
    Location
    HCMC
    Posts
    3,963

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

    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#
    Đặng Quang Minh, CCIE#11897 CCSI#31417
    Email: dangquangminh@vnpro.org


    Viet Professionals Co. Ltd. (VnPro)
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel: (08) 35124257 Fax: (08) 35124314
    Home :http://www.vnpro.vn
    Blog :http://vnpro.org/blog
    Support forum :http://vnpro.org
    LiveChat :http://vnpro.vn/support

  2. #2
    Join Date
    Apr 2003
    Posts
    1,398

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

    đính kèm là loạt bài về ppp callback.Các bài lab này phù hợp cho các học viên ccnp bcran.

+ Reply to Thread

Similar Threads

  1. Tại sao phải học CCNP???
    By tranmyphuc in forum Dành cho người mới đến
    Replies: 12
    Last Post: 17-05-2010, 12:10 AM
  2. Những thành viên xuất sắc của VnPro (updated ngày 1/12/2008)
    By admin in forum Tôi đã thi đậu chứng chỉ quốc tế
    Replies: 21
    Last Post: 18-08-2009, 05:42 PM
  3. Replies: 3
    Last Post: 13-09-2008, 10:58 AM
  4. Replies: 9
    Last Post: 05-02-2005, 09:27 AM
  5. Replies: 8
    Last Post: 24-05-2004, 08:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
 
   TRUNG TÂM TIN HỌC VNPRO
149/1D Ung Văn Khiêm, P. 25, Q.Bình Thạnh
Phone:(08) 35124257
Fax: (08) 35124314
Email: vnpro@vnpro.org
Powered by vBulletin Version 4.1.9
Copyright 2000 - 2011, Jelsoft Enterprises Ltd.
License owned by : VietProfessional Co.,Ltd