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.

Cisco router 880 và kết nối thông qua giao diện 3G

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cisco router 880 và kết nối thông qua giao diện 3G

    Mình có một anh bạn được tặng một router 880 series của Cisco, router này chỉ có mỗi giao diện Cellular 0 để kết nối vào internet thực chất giao diện này là một modem 3G có gắn sẵn SIM của Vinaphone. Ngoài ra thiết bị còn có 4 giao diện Ethernet để cho các máy tính trong LAN kết nối internet thông qua giao diện Cellular kia

    Do không có tài liệu đi kèm nên mình mò trên Internet để cấu hình thử, kết quả là báo lỗi tùm lum (khi debug dialer thấy rất nhiều lỗi mà mình không thể giải quyết nổi).

    Vậy xin nhờ admin, mod và các bạn hỗ trợ dùm.

    Mình gửi các thông tin liên quan đến thiết bị này ngay sau đây.

    P/S: SIM 3G của Vinaphone vẫn kết nối internet bình thường nếu dùng với USB 3G lắp ngoài.

    __________

    Giao diện Cellular 0

    Router#show interfaces cellular 0
    Cellular0 is down, line protocol is down
    Hardware is 3G Modem-HSPA/UMTS/EDGE/GPRS-850/900/1800/1900/2100MHz / Global
    MTU 1500 bytes, BW 237 Kbit/sec, DLY 100000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation PPP, LCP Closed, loopback not set
    Keepalive not supported
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: weighted fair
    Output queue: 0/1000/64/0 (size/max total/threshold/drops)
    Conversations 0/0/16 (active/max active/max total)
    Reserved Conversations 0/0 (allocated/max allocated)
    Available Bandwidth 177 kilobits/sec
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 no buffer
    Received 0 broadcasts (0 IP multicasts)
    0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    0 packets output, 0 bytes, 0 underruns
    0 output errors, 0 collisions, 2 interface resets
    0 unknown protocol drops
    0 output buffer failures, 0 output buffers swapped out
    0 carrier transitions
    DCD=up DSR=up DTR=up RTS=up CTS=up

    Router#


    Router#show cellular 0 security
    Card Holder Verification (CHV1) = Disabled
    SIM Status = OK
    SIM User Operation Required = None
    Number of Retries remaining = 3
    Router#

    Router#show cellular 0 network
    Current Service Status = Normal, Service Error = None
    Current Service = Combined
    Packet Service = EDGE (Attached)
    Packet Session Status = Inactive
    Current Roaming Status = Home
    Network Selection Mode = Automatic
    Country = VNM, Network = GPC
    Mobile Country Code (MCC) = 452
    Mobile Network Code (MNC) = 2
    Location Area Code (LAC) = 132
    Routing Area Code (RAC) = 132
    Cell ID = 30253
    Primary Scrambling Code = 0
    PLMN Selection = Automatic
    Registered PLMN = , Abbreviated =
    Service Provider = VINAPHONE
    Router#


    Router#show ip int brief
    Interface IP-Address OK? Method Status Protocol
    Cellular0 unassigned YES manual down down
    Dialer2 unassigned YES manual up up
    FastEthernet0 unassigned YES unset up down
    FastEthernet1 unassigned YES unset up down
    FastEthernet2 unassigned YES unset up down
    FastEthernet3 unassigned YES unset up down
    Vlan1 unassigned YES unset up down
    Router#


    Show version

    Router#show version
    Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.1(2)T1, R
    ELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2010 by Cisco Systems, Inc.
    Compiled Wed 11-Aug-10 18:20 by prod_rel_team

    ROM: System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)

    Router uptime is 13 minutes
    System returned to ROM by reload at 04:34:50 UTC Fri Jan 21 2011
    System image file is "flash:c880data-universalk9-mz.151-2.T1.bin"
    Last reload type: Normal Reload
    Last reload reason: Reload Command


    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.

    A summary of U.S. laws governing Cisco cryptographic products may be found at:


    If you require further assistance please contact us by sending email to
    export@cisco.com.

    Cisco 888G (MPC8300) processor (revision 1.0) with 236544K/25600K bytes of memor
    y.
    Processor board ID FHK144974YG

    1 DSL controller
    4 FastEthernet interfaces
    2 terminal lines
    1 Virtual Private Network (VPN) Module
    1 Cellular interface
    256K bytes of non-volatile configuration memory.
    125440K bytes of ATA CompactFlash (Read/Write)


    License Info:

    License UDI:

    -------------------------------------------------
    Device# PID SN
    -------------------------------------------------
    *0 CISCO888G-K9 FHK144974YG



    License Information for 'c880-data'
    License Level: advipservices Type: Permanent
    Next reboot license Level: advipservices


    Configuration register is 0x2102


    Đây là cấu hình của router

    Router#show run
    Building configuration...

    Current configuration : 1449 bytes
    !
    ! Last configuration change at 04:42:05 UTC Fri Jan 21 2011
    !
    version 15.1
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname Router
    !
    boot-start-marker
    boot-end-marker
    !
    !
    !
    no aaa new-model
    !
    memory-size iomem 10
    crypto pki token default removal timeout 0
    !
    !
    ip source-route
    !
    !
    !
    !
    !
    ip cef
    no ipv6 cef
    !
    !
    multilink bundle-name authenticated
    chat-script vinaphone "" "ATDT*99*1#" timeout 60 "CONNECT"
    license udi pid CISCO888G-K9 sn FHK144974YG
    !
    !
    !
    !
    !
    !
    controller DSL 0
    !
    controller Cellular 0
    !
    !
    !
    !
    !
    !
    !
    !
    interface FastEthernet0
    !
    interface FastEthernet1
    !
    interface FastEthernet2
    !
    interface FastEthernet3
    !
    interface Cellular0
    no ip address
    ip virtual-reassembly in
    encapsulation ppp
    dialer in-band
    dialer pool-member 2
    async mode interactive
    !
    interface Vlan1
    no ip address
    !
    interface Dialer2
    ip address negotiated
    encapsulation ppp
    dialer pool 2
    dialer idle-timeout 0
    dialer string viettel
    dialer persistent
    dialer-group 2
    ppp ipcp dns request
    !
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    !
    !
    ip route 0.0.0.0 0.0.0.0 Dialer2
    !
    logging esm config
    dialer-list 2 protocol ip permit
    !
    !
    !
    !
    !
    control-plane
    !
    !
    line con 0
    no modem enable
    line aux 0
    line 3
    script dialer vinaphone
    no exec
    speed 237000
    line vty 0 4
    login
    transport input all
    !
    end

    Router#


    Và đây là lỗi khi router khởi tạo kết nối

    Router#
    *Jan 21 04:55:01.231: Ce0 DDR: re-enable timeout
    *Jan 21 04:55:02.231: Ce0 DDR: rotor dialout [best] least recent failure is also
    most recent failure
    *Jan 21 04:55:02.231: Ce0 DDR: rotor dialout [best] also has most recent failure

    *Jan 21 04:55:02.231: Ce0 DDR: rotor dialout [best]
    *Jan 21 04:55:02.231: Di2 DDR: Nailing up the Dialer profile [attempt 72]
    *Jan 21 04:55:02.231: Di2 DDR: Dialer dialing - persistent dialer profile
    *Jan 21 04:55:02.231: Ce0 DDR: Dialing cause Persistent Dialer Profile
    *Jan 21 04:55:02.231: Ce0 DDR: Attempting to dial vinaphone
    *Jan 21 04:55:02.231: CHAT3: Attempting async line dialer script
    *Jan 21 04:55:02.231: CHAT3: Dialing using Modem script: vinaphone & System scri
    pt: none
    *Jan 21 04:55:02.231: CHAT3: process started
    *Jan 21 04:55:02.231: CHAT3: Asserting DTR
    *Jan 21 04:55:02.231: CHAT3: Chat script vinaphone started
    *Jan 21 04:55:07.235: CHAT3: Chat script vinaphone finished, status = Connection
    timed out; remote host not responding
    *Jan 21 04:55:07.235: Ce0 DDR: disconnecting call

    Rất momg được sự hỗ trợ từ các bạn.

  • #2
    modem có quay số đi rồi đó bạn. Nhưng cái chatscript "vinaphone" chưa đúng.

    Để quay số 3G của Vinaphone thì bạn phải dùng số nào?
    Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

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

    Comment


    • #3
      [quote]
      dialer string viettel
      [\quote]
      chắc là cái này

      Comment

      Working...
      X