Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Cisco 819 - chat script OK but int cellular0 do not get ip address

We configure a cisco 819 as follow:

*************

chat-script hspa "" "AT!SCACT=1,1" TIMEOUT 60 "OK"

interface Cellular0

ip address negotiated

encapsulation slip

dialer in-band

dialer idle-timeout 0

dialer string hspa

dialer-group 1

async mode interactive        

line 3

script dialer hspa

modem InOut

no exec

rxspeed 21600000

txspeed 5760000            

**************

the following output show that the chat-script is correctly working

*************

yourname#start-chat hspa 3

yourname#

*Dec  4 17:07:02.019: CHAT3: Matched chat script hspa to string hspa

*Dec  4 17:07:02.019: CHAT3: Asserting DTR

*Dec  4 17:07:02.019: CHAT3: Chat script hspa started

*Dec  4 17:07:02.019: CHAT3: Sending string: AT!SCACT=1,1

*Dec  4 17:07:02.019: CHAT3: Expecting string: OK

*Dec  4 17:07:02.019: CHAT3: Completed match for expect: OK

*Dec  4 17:07:02.019: CHAT3: Chat script hspa finished, status = Success                

yourname#sh cellular 0 connection

Data Transmitted = 0 bytes, Received = 0 bytes

Profile 1, Packet Session Status = ACTIVE

        IP address = 10.147.5.124

        Primary DNS address = 212.98.37.131

        Secondary DNS address = 194.230.55.97

        Negotiated QOS Parameters:

        Precedence = Normal Priority, Delay = Class 3

        Reliability = Unack GTP, LLC, Ack RLC, Protected data

        Peak = 256 kB/sec, Mean = 50000 kB/hr

        Traffic Class = Interactive

        Uplink Max = 11.5Mbps, Guaranteed = Subscribed

        Downlink Max = 42Mbps, Guaranteed = Subscribed

        Max SDU size = 1500 bytes

        SDU error ratio = 1E-4, BER = 1E-5         

**********                                             

but on the cellular0 interface we do not get any ip address....

Any suggestion or ideas?

thank you!

***********

yourname#sh ip int c0

Cellular0 is up, line protocol is up

  Internet address will be assigned dynamically by the network

  Broadcast address is 255.255.255.255

********************

yourname#sh ver

Cisco IOS Software, C800 Software (C800-UNIVERSALK9-M), Version 15.2(4)M4, RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2013 by Cisco Systems, Inc.

Compiled Thu 20-Jun-13 16:14 by prod_rel_team

ROM: System Bootstrap, Version 15.1(4r)M, RELEASE SOFTWARE (fc1)

yourname uptime is 19 minutes

System returned to ROM by power-on

System image file is "flash:c800-universalk9-mz.SPA.152-4.M4.bin"        

Cisco C819HG+7-K9 (revision 3.0) with 492620K/31667K bytes of memory.

Processor board ID FCZ1743C24B

4 FastEthernet interfaces

1 Gigabit Ethernet interface

1 Serial(sync/async) interface

1 terminal line

1 Virtual Private Network (VPN) Module

1 Cellular interface

DRAM configuration is 32 bits wide

255K bytes of non-volatile configuration memory.

250880K bytes of ATA System CompactFlash (Read/Write)                  

***************

4 REPLIES
Community Member

Cisco 819 - chat script OK but int cellular0 do not get ip addre

Do you mind posting your current Run Configuration?

Community Member

Cisco 819 - chat script OK but int cellular0 do not get ip addre

hi misha,

sorry not updating this thread.

the 3g modem configuration was correct, the interface c0 came up after doing a ping so we configured an sla.

Community Member

Cisco 819 - chat script OK but int cellular0 do not get ip addre

Hello,

Can I ask you for what IOS are you running this on? I am currently experiencing the same issue with IOS

Version 15.2(4)M4. I am trying to determine whether it is the IOS that's preventing me from using similar configurations that other people posted, which work for them, but not for me.

Cisco Employee

Cisco 819 - chat script OK but int cellular0 do not get ip addre

Yes, you need to initiate the traffic for this to work. I have done a lot of POC on this and have a blueprint config if someone needs it.

Also, I ended up writing an EEM script to initiate the traffic as soon as router comes up and modem dials out.

Have a look at this for the EEM script write up. Please change the timers as needed.

https://techzone.cisco.com/t5/Cellular-Module/Yet-Another-Cellular-Modem-Recovery-Script/ta-p/287802

877
Views
0
Helpful
4
Replies
CreatePlease to create content