• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

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

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

    Email : dangquangminh@vnpro.org
    https://www.facebook.com/groups/vietprofessional/

  • #2
    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.
    Email : vnpro@vnpro.org
    ---------------------------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog

Comment

    Working...
    X