Configuration & Troubleshooting: Joe Huynh Development Test

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 48

Configuration &

Troubleshooting

Joe Huynh
Development Test
johuynh@cisco.com

ENzo 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
Enzo Troubleshooting Agenda

Introduction to configuration and monitoring


Modem Activation
Show Cellular information.
Sample configuration
Problem during Bring up
Problem initial the call set up.
Problem during operation
Firmware Upgrade.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
3G WWAN HWIC Configuration and Monitoring

Modem Profile configuration and activation

Cellular Interface configuration


CONFIGURATION
IOS Dialer/Backup Configuration

Modem HW/SW Status


MONITORING Modem Signal/Network/Service Status

Data connection Status

Modem profile configuration and account activation


Cellular interface configuration
Data connection setup and teardown Only for troubleshooting,
IOS CLI not supported officially
Reverse Telnet for modem AT command prompt
Cellular modem firmware upgrade
Show cellular commands
Debug and test
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Modem firmware upgrade using IOS
Sierra Wireless modem firmware is not bundled with IOS. Modem
firmware upgrade may be required for bug fixes and enhancements

New Firmware version Firmware uploaded to Download and copy firmware Use IOS command to
released by Sierra Wireless cisco.com after Certification into router flash memory upgrade to new firmware
version

Download link on cisco.com for modem firmware:


http://www.cisco.com/kobayashi/sw-center/sw-wireless.shtml

IOS Commands to upgrade firmware:


microcode reload cellular <pa-bay> <slot> cdma modem-provision
where pa-bay is 0 for HWIC, slot is the slot number where the 3G HWIC is plugged in (0-3).

Note: The firmware is packaged as a TAR archive. After copying to router flash, use the following
command to untar:
archive tar /xtract flash:<firmware> flash:
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
CDMA Modem Activation CLI (Manual)
CDMA Modem activation command:
cellular cdma activate manual <mdn> <min> <sid> <nid> <msl>

Activation Parameters:
mdn 10-digit mobile directory number Modem NAM parameters
min 10-digit mobile identity number
sid System ID
are provided by the Carrier
nid Network ID
msl Master Subsidy Lock (Activation Code)

Router# cellular 0/0/0 cdma activate manual 4082099845 4082099845 41838 87 65535
NAM 0 will be configured and will become Active
Modem will be activated with following Parameters
MDN :4082099845; MSID :4082099845 ; SID :4183; NID 87:
Checking Current Activation Status
Modem activation status: Activated
Modem Parameters are being changed
Begin Activation
Account provisioning - Step 1 of 5
Account provisioning - Step 2 of 5
Account Provisioning - Step 3 of 5
Account Provisioning - Step 4 of 5
Account Provisioning - Step 5 of 5
Secure Commit Result: Succeed
Done Configuring - Resetting the Modem

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
CDMA Modem Activation CLI (Automatic)
CDMA Modem activation command:
cellular cdma activate otasp <phone number>

Activation phone number:


Not all Carriers support
Sprint *228
OTASP. Please verify with
Verizon *22899
your carrier.

Router# cell 0/3/0 cdma activate otasp *22899


Beginning OTASP activation
OTASP number is *22899
cdma-branch1-VZW#
Jul 25 18:48:58.091: OTASP State = SPL unlock, Result = Success
Jul 25 18:49:15.483: OTASP State = PRL downloaded, Result = Success
Jul 25 18:49:16.335: OTASP State = Profile downloaded, Result = Success
Jul 25 18:49:16.335: OTASP State = MDN downloaded, Result = Success
Jul 25 18:49:20.279: OTASP State = Parameters committed to NVRAM, Result = Success

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
GSM/UMTS Modem Profile Configuration CLI
GSM Profile configuration command:
cellular x/x/x gsm profile create <number> <apn> [chap|pap] username passwd
cellular x/x/x gsm profile delete <number>

Profile Parameters 16 GSM Profiles can be


username: BSS authentication credential
password: BSS authentication credential configured at one time
authentication: PAP/CHAP
apn: Access Point Name Note: When no profile is
selected profile 1 is used
Profile Selection
Using ATDT*98*<profile-number>#in the dialer chat script

Router# cellular 0/0/0 gsm profile create 1 ISP.CINGULAR chap


ISP@CINGULARGPRS.COM CINGULAR1

Profile 1 = INACTIVE*
--------
PDP Type = IPv4, Header Compression = OFF
Data Compression = OFF
Access Point Name (APN) = ISP.CINGULAR
Authentication = PAP
Username: ISP@CINGULARGPRS.COM, Password: CINGULAR1

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
GSM/UMTS Network Selection Command
PLMN Selection commands:
cellular x/x/x gsm plmn search
Default PLMN Selection Mode
cellular x/x/x gsm plmn select auto
cellular x/x/x gsm plmn select manual <mcc> <mnc>
Manual PLMN Selection Parameters
mcc: Mobile Country Code
mnc: Mobile Network Code
plmn: public land mobile network

Note:
The PLMN Search command may take anywhere between 30 secs to 5 minutes
To see the available PLMNs, run the show cellular x/x/x network command
Network Information
===================
Current Service Status = Normal, Service Error = None
Current Service = Combined Packet Service = EDGE (Attached)
Packet Session Status = Inactive Current
Roaming Status = Roaming
Network Selection Mode = Automatic
Country = USA, Network = AT&T
Mobile Country Code (MCC) = 310
Mobile Network Code (MNC) = 17
Location Area Code (LAC) = 230
Routing Area Code (RAC) = 1
Cell ID = 25573
Primary Scrambling Code = 0
PLMN Selection = Automatic
Registered PLMN = T-Mobile , Abbreviated =
Service Provider =
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
HWIC Insertion and Recognition
show version: 1 Virtual Private Network (VPN) Module
1 Cellular interface
DRAM configuration is 64 bits wide with parity enabled.
479K bytes of NVRAM.

show diag: WIC Slot 0:


3G WWAN HWIC-HSDPA/UMTS/EDGE/GPRS-850/900/1800/1900/2100MHz
Hardware Revision : 1.0

Top Assy. Part Number : 800-28846-01
Product (FRU) Number : HWIC-HSDPA-N
Version Identifier : NA

show run: !
interface Cellular0/0/0
no ip address
shutdown
!

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
New Cellular Interface configuration
The new Cellular interface is an Async Serial interface
and requires following configuration

PPP Configuration Sample Configuration:


encapsulation ppp
ppp chap hostname <username> interface Cellular0/0/0
ip address negotiated
ppp chap password <passwd> ip nat outside
encapsulation ppp
ppp ipcp dns request dialer in-band
dialer string gsm
Dialer Configuration dialer-group 1
async mode interactive
async mode interactive ppp chap hostname dummy
dialer in-band ppp chap password 0 dummy
ppp ipcp dns request
!
IP Address configuration
ip address negotiated

Note: The ppp chap authentication credentials under the cellular interface
needs to be obtained from the carrier.
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
DDR Configuration refresher
Cellular is an Async dialer interface similar to an analog modem
Implementation: Routing
Interface Cellular Encapsulation: PPP
Media Type: Async

DDR Configuration Steps: interface Cellular0/0/0


dialer in-band
1. Enable DDR on the interface
chat-script gsm "" "ATDT*99#"
2. Define chat-script for the dialer interface Cellular0/0/0
dialer string cingular
interface
3. Define Interesting traffic ip access-list 1 permit any 66.0.0.0

4. Create dialer list for interesting dialer-list 1 protocol ip list 1


traffic
5. Map dialer list to the dialer interface Cellular0/0/0
dialer-group 1
interface

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
Dialer/Chat Scripts for Cellular modem
GSM/UMTS
ATDT*98*<profile-number>#
where profile-number could be 1-16 and represents the
modem profile to be used for the call. Example chat script:

chat script gsm ATDT*98*2 TIMEOUT 30 CONNECT

CDMA/EVDO
ATDT#777
Example chat script:

chat script cdma ATDT#777 TIMEOUT 30 CONNECT

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
Dial Backup options
Using Backup interface command:
interface Serial 1/0:1
- When primary interface goes down backup backup interface cellular 0/0/0
interface is activated backup delay 30
- While the primary line is up, the backup !
interface is placed in standby mode.
- Independent of routing protocol convergence
Administrative
Distance
Using floating static route:
- Higher administrative distance
ip route 0.0.0.0 0.0.0.0 cellular 0/0/0 200
used for the route over backup
interface
- Independent of line protocol status
of primary interface, dependent on
routing protocol convergence
interface cellular 0/0/0
Using Dialer Watch: dialer watch-group 1
!
- DDR with no need to define dialer watch-list 1 ip 3.1.1.0 255.255.255.0
interesting traffic dialer watch-list 1 ip 4.1.1.0 255.255.255.0
- Integrates dial backup with routing !
capabilities
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
New show cellular commands

c3825#show cellular 0/0/0 ?


all Display all the information
connection Current active connection and statistics
hardware Cellular modem hardware information
network Cellular network information
profile Profile information in the modem
radio Cellular modem radio information
security Modem security status

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
CLI: show cellular connection
- Displays the current active connection state and statistics for CDMA.
V2800#sh cellular 0/0/0 connection
Phone number of outgoing call = #777
CDMA HDR AT State = Idle, HDR Session State = Open HDR Session Info:
UATI (Hex) = 0080:0580:0000:0000:000A:CCC5:45C0:C2A7
Color Code = 237, RATI = 0xFA362F86
Session duration = 672 msecs, Session start = 15612 msecs
Session end = 16782 msecs, Authentication Status = Authentication disabled
HDR DRC Value = 7, DRC Cover = 1, RRI = 9.6 kbps
Current Transmitted = 1279 bytes, Received = 1596 bytes
Total Transmitted = 1023626 KB, Received = 1025546 KB
Current Call Status = DORMANT
Current Call Duration = 52 secs
Total Call Duration = 1302986 seconds
Current Call State = AT Packet Call Dormant
Last Call Disconnect Reason = Base station release (No reason)
Last Connection Error = None
HDR DDTM (Data Dedicated Transmission Mode) Preference = Off
Mobile IP Error Code (RFC-2002) = 0 (Registration accepted)

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
CLI: show cellular connection
- Displays the current active connection state and statistics for GSM

Data Connection Information


===========================
GSM Data Transmitted = 868892423 bytes, Received = 867644510 bytes
Profile 1, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state
Profile 2, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state
Profile 3, Packet Session Status = ACTIVE
IP address = 166.138.186.118
Profile 4, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state
Profile 5, Packet Session Status = INACTIVE

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
CLI: show cellular hardware
- Displays the Modem firmware version and hardware details
- For GSM/UMTS, SIM card information is displayed
- For CDMA ESN and PRL information is displayed
V2800#sh cellular 0/0/0 hardware
Hardware Information
====================
Modem Firmware Version = p2005700
Modem Firmware built = 12-14-06
GSM Hardware Version = 2.0
Electronic Serial Number (ESN) = 0x603C63E2
Preferred Roaming List (PRL) Version = 50719
Current Modem Temperature = 27 degrees Celsius

enzo-3845#sh cellular 0/1/0 hardware


Hardware Information
====================
Modem Firmware Version = H1_1_8_3MCAP C:/WS/
CDMA Modem Firmware built = 03/08/07
Hardware Version = 1.0
International Mobile Subscriber Identity (IMSI) = 310410064603443
International Mobile Equipment Identity (IMEI) = 352678010002795
Factory Serial Number (FSN) = X2819460297100D
Modem Status = Online
Current Modem Temperature = 27 deg C, State = Normal

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
CLI: show cellular profile
- Displays all the modem profiles and related details
- 16 Profiles supported for GSM

C3845#show cellular 0/0/0 profile


Profile Information
====================
Profile 1 = INACTIVE*
--------
PDP Type = IPv4
Access Point Name (APN) =
Authentication = None
GSM Username: , Password:

Profile 3 = ACTIVE
--------
PDP Type = IPv4
PDP address = 166.138.186.118
Access Point Name (APN) = wwan.ccs
Authentication = CHAP
Username: crlayiaprl@wwan.ccs, Password: br6eqiUh10

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
CLI: show cellular profile
- Displays all the modem profiles and related details
- 2 Profiles supported for for CDMA

C3845#show cellular 0/0/0 profile


Profile Information
====================
Electronic Serial Number (ESN) = 0x603C63E2 Modem activated = YES

Account Information:
======================
Activation Date: 20070116
CDMA Phone Number (MDN) : 2022225539
Mobile Station Identifier (MSID) : 2025576432

Data Profile Info:


=====================
Number of data profiles configured : 1
Current active data profile : 0

Data Profile 0 Information (Active)


==================================
NAI (Network Access Identifier) = 2022225539@vzw3g.com
MN-HA SS = Set
MN-HA SPI = 300
MN-AAA SS = Set
MN-AAA SPI = 2
Reverse Tunneling Preference = Set
Home Address = 0.0.0.0
Primary Home Agent Address = 255.255.255.255
Secondary Home Agent Address = 255.255.255.255

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
CLI: show cellular radio
- Displays modem radio statistics like signal strength and
channels/band connected to
- GSM and CDMA have different data displayed

c3825#show cellular 0/0/0 radio


Current Band = WCDMA 1900, Channel Number = 9721
GSM Current RSSI = -89 dBm, BER = BER<0.2

# show cellular 0/0/0 radio


Current RSSI = -81 dBm, ECIO = -5 dBm
Current Channel Number = 1175
Current Band Class = Band Class 1
CDMA Sector ID (Hex) = 0080:0580:0000:0000:000A:CCC5:4501:6001
Subnet Mask = 104, Color Code = 237, PN Offset = 132
Rx gain control(Main) = 0 dBm, Diversity = Unavailable
Tx total power = 6 dBm, Tx gain adjust = 1536 dBm
Carrier to interference (C/I) ratio = 0

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
CLI: show cellular network (CDMA)
- Displays carrier network information, very useful in debugging
- Provides system and network ids for profile activation

Type of service
1xRTT or EVDO

#Network Information
===================
Current Service = 1xEV-DO (Rev A) and 1xRTT
Current Roaming Status(1xRTT) = HOME, (HDR) = HOME
CDMA Current Idle Digital Mode = HDR
Current System Identifier (SID) = 40
Current Network Identifier (NID) = 2
Current Call Setup Mode = Mobile IP Preferred with SIP fallback
SIP Username = 2022225539@vzw3g.com, SIP Password = $^E^L`h,mW^_t}=^L^E@
Serving Base Station Longitude = 0 deg 0 min 0 sec
Serving Base Station Latitude = 0 deg 0 min 0 sec
Current System Time = Tue Mar 20 9:40:34 2007

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
CLI: show cellular network (GSM)
- Displays carrier network information, very useful in debugging
- Provides system and network ids for profile activation
Type of service
EDGE

C3845#show cellular 0/0/0 network

Network Information
===================
Current Service Status = Normal, Service Error = None
Current Service = Combined Packet Service = EDGE (Attached)
Packet Session Status = Active Current
GSM Roaming Status = Roaming
Network Selection Mode = Automatic Country = USA,
Network = AT&T
Mobile Country Code (MCC) = 310
Mobile Network Code (MNC) = 17
Location Area Code (LAC) = 230
Routing Area Code (RAC) = 1 Cell ID = 25573
Primary Scrambling Code = 0
PLMN Selection = Automatic Registered
PLMN = Cingular , Abbreviated = Service Provider =

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
New debug cellular commands
c3825#deb cellular 0/0/0 messages ?
all All debugging
async Cellular async debugging
data Data debugging
dm DM debugging
management Mgmt debugging
virt-con Virtual console

c3825#deb cellular 0/0/0 virt-con ?


clear Clear all virtual console debug log messages
disable Disable virtual console real time debug monitoring
dump-data-structs Dump virtual console data structures
log Display virtual console messages from the debug log
monitor Enable monitoring of real time virtual console debug
messages
wrapper-off Disable wrap around for virtual console log messages
wrapper-on Enable wrap around for virtual console log messages

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
Test cellular Commands

c2801#test cellular 0/1/0 ?


cnm-process-enqueue Enqueue to CNM process
modem-power-cycle Modem Power Cycle
modem-reset Modem Reset

Use the hidden command service internal in router


configuration mode to enable the test commands

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
Access to Modem AT commands
Configure the modem line interface
line 0/0/0
modem InOut
transport input telnet
! Note: If encounter
connection refused
error, clear line using
Reverse telnet from router console to modem the command:
# clear line 2002
telnet 128.1.1.1 2002

Port number is obtained by doing a show line:

c2851#show line
Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 0 CTY - - - - - 0 0 0/0 -
1 1 AUX 9600/9600 - - - - - 0 0 0/0 -
I0/0/0 2 TTY - inout - - - 0 0 0/0 -
322 322 VTY - - - - - 0 0 0/0 -

Look for the interface number (0/0/0), add 2000 to the corresponding Line number

To return to router console, press ctrl + shift + 6 followed by x.


Once you get back router CLI, type disc and hit enter.
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
Useful modem AT Commands
Check modem hardware and software information
ati
Enable ciphering and integrity (GSM/UMTS)
at!gcipher=2 [ciphering on, integrity on]
at!gcipher=1 [ciphering on, integrity off]
Specify frequency band (GSM/UMTS)
at!band? to list the bands, at!band=<x> to set the band
Turn Hybrid mode on/off (CDMA/EVDO)
at!swi=97 unlock modem
at!nv=562,00 Set Hybrid pref off
at!nv=562,01 Set Hybrid pref on
at!nv=10,00,0A,00 Sets to HDR Only
Turn EVDO RevA capability ON (CDMA/EVDO)
at!scpcustconfig=01,79,00,00,00,00,00,00,00,00,00,00,00 Turns RevA ON
at!sessionstatus=00,00 Clears out any active session in NV
at!reset Performs modem reset

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
Useful modem AT Commands (contd.)
Turn EVDO RevA capability OFF (CDMA/EVDO)
at!scpcustconfig=01,249,00,00,00,00,00,00,00,01,00,00,00 Turns RevA OFF
at!sessionstatus=00,00 Clears out any active session in NV
at!reset Performs modem reset

Check modem mobile IP settings (CDMA/EVDO)


at$qcmipgetp

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
Sample Configuration
ip dhcp excluded-address 10.1.1.1
DHCP Pool for
ip dhcp excluded-address 10.1.10.1
LAN Clients
!
ip dhcp pool lan-client
network 10.1.0.0 255.255.0.0
default-router 10.1.0.1 Chat scripts for
dns-server 66.102.163.231 66.102.163.232 CDMA and GSM
! data calls
chat-script cdma "" "ATDT#777" TIMEOUT 60 "CONNECT
chat-script gsm "" "ATDT*99#" TIMEOUT 60 "CONNECT"
chat-script gsm-profile "" "ATDT*98*2#" TIMEOUT 60 "CONNECT

! Router Switch port


interface FastEthernet0/1/0
switchport access vlan 1
!
interface Cellular0/0/0
ip address negotiated
encapsulation ppp Dynamically
dialer in-band Allocated IP
dialer string gsm
dialer-group 1
async mode interactive
Authentication
ppp chap hostname cisco@wwan.ccs
Credentials
ppp chap password 0 cisco
ppp ipcp dns request
!

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
Sample Configuration (contd.)
interface Vlan1
ip address 10.1.0.1 255.255.0.0
ip nat inside Dynamic NAT
! configuration
ip route 0.0.0.0 0.0.0.0 Cellular0/0/0
!
ip nat inside source list 10 interface Cellular0/0/0 overload
!
access-list 1 permit any
dialer-list 1 protocol ip list 1
!
line 0/0/0
exec-timeout 0 0 Dialer list for
script dialer gsm interesting traffic
login
modem InOut
no exec
transport preferred all
transport input all
transport output all
autoselect during-login
autoselect ppp
!

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
Problems during Router booting up
Initialization problems.
Hardware is not up to date. Cookies were not
programmed correctly.
Modem is not properly inserted. Firmware was not
upgrade successful.
Change that Customer still have the Beta Hardware

SIM Card Insertion problem.


SIM card is not insert properly or SIM card is not
functional.

Troubleshooting Tips:
Please refer to Hardware section for the SIM Card installation.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
Hardware initialization problem
When booting up if initialization occurs
Cisco 2811 (revision 48.46) with 241664K/20480K bytes of memory.
Processor board ID FHK0824F03U
2 FastEthernet interfaces
4 Low-speed serial(sync/async) interfaces
Check for the right 1 ATM interface
Modem on the HWIC 1 terminal line
1 Virtual Private Network (VPN) Module
1 ATM/Voice AIM
2 802.11 Radios
1 Cellular interface
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
125440K bytes of ATA CompactFlash (Read/Write)

This command has no effect on this line; use modem AT commands instead This command has no effect
on this line; use modem AT commands instead

Press RETURN to get started!

%CELLWAN-2-MODEM_INIT_TIMEOUT: Cellular modem initialization timeout for Cellular0/2/0

Check if you have


The latest hardware

- It is a good idea to see if there is a counterfeit problem by checking Quack


test ecdsa display -s
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
Initialization SIM Card not recognized

When booting up if Sim Card is not inserted properly

Booting up Message

Mar 8 10:19:22.875: %CELLWAN-2-MODEM_UP: Cellular0/3/0 modem is now UP


*Mar 8 10:19:22.931: %CELLWAN-2-SIM_FAILURE: SIM read failed

Show cell x/x/x


Security
Modem Security Information
==========================
Card Holder Verification (CHV1) = Disabled
SIM Status = Removed
SIM User Operation Required = None
Number of Retries remaining = 255

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
Problem to make a CDMA data call
Successful No No
Modem activated
Call initiate Yes Activate modem
Yes

Service Available

No
Yes
Check RSSI

Chat Scripts Dialer list

Check configuration

Interface Cellular x/x/x Line x/x/x


ip route

Configuration Tips:
Chat script/Dialer list/ip route/line x/x/x and Dialer list must be configured correctly.
Please refer to the configuration sample
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 33
CLI: show controller cellular x/x/x (GSM)
- Displays what service provider your modem is attached to.
- LED status/ Theoretical speed of the technology

Interface Cellular0/1/0
HSDPA/UMTS/EDGE/GPRS-850/900/1800/1900/2100MHz unit 0,
HWIC cellular modem configuration:
GSM ---------------------------
Modem is recognized as valid for this HWIC
manufacture id: 0x00001199 product id: 0x00006812
Sierra Wireless MC8775 UMTS modem.
Modem Uplink Speed = 118 kbit.
Modem Downlink Speed 236 kbit.
Modem Management Statistics
---------------------------
Modem resets = 1
Packets sent = 63, Packets received = 101034, Packets pending = 0
RSSI LED = Fast Blinking
UMTS LED = OFF
HSDPA LED = OFF
DM port = Disabled

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34
CLI: show controller cellular x/x/x (CDMA)
- Displays what service provider your modem is connected to.
- LED status/ Service where the modem is locked to
S-LC6#show controllers cellular 0/1/0

Interface Cellular0/1/0
EVDO Rev A/Rel 0/1xRTT-800/1900MHz / SP unit 0,
CDMA HWIC cellular modem configuration:
---------------------------
Modem is recognized as valid for this HWIC
manufacture id: 0x00001199 product id: 0x00000020
Sierra Wireless MC5725 CDMA modem.
Locked for Rev 0 operation only.
Modem Management Statistics
---------------------------
Modem resets = 1
Packets sent = 310, Packets received = 3658528, Packets pending = 0
RSSI LED = Fast Blinking
1xRTT LED = OFF
EVDO LED = OFF
DM port = Disabled

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 35
Cellular interface should be initialized as
async at spoofing mode in order to make a call
- Always at spoofing before initiate any call.
- Check DCD, DSR, DTR, RTS and CTS should be up
V2800-1#sh int cellular 0/1/0
Cellular0/1/0 is up (spoofing), line protocol is up (spoofing)
Hardware is EVDO Rev A/Rel 0/1xRTT-800/1900MHz / VZ
Internet address will be negotiated using IPCP
CDMA MTU 1500 bytes, BW 153 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Closed, loopback not set
Keepalive not supported
Last input 1d02h, output 1d02h, output hang never
Last clearing of "show interface" counters 00:00:17
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/1/16 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 114 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 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, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 36
Problem to make a GSM Data Call
Successful No Account activation No
SIM card inserted?
Yes
Call initiate Yes Activate your account
Work
Service Available/Attached
Profile Create

No No
Create Profile Yes Yes
Check RSSI

Chat Scripts Dialer list

Check configuration

Interface Cellular x/x/x Line x/x/x


ip route

Configuration Tips:
Chat script/Dialer list/ip route/line x/x/x and Dialer list must be configured correctly.
Please refer to the configuration sample
Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 37
Debug to turn on while initiate the call
Debug chat
*Mar 8 09:49:52.540: CHAT0/0/0: Attempting async line dialer script
*Mar 8 09:49:52.540: CHAT0/0/0: Dialing using Modem script: wcdma & System script: none
*Mar 8 09:49:52.540: CHAT0/0/0: process started
*Mar 8 09:49:52.540: CHAT0/0/0: Asserting DTR
*Mar 8 09:49:52.540: CHAT0/0/0: Chat script wcdma started
*Mar 8 09:49:52.540: CHAT0/0/0: Sending string: atdt*99#
*Mar 8 09:49:52.540: CHAT0/0/0: Expecting string: CONNECT
*Mar 8 09:49:52.584: CHAT0/0/0: Completed match for expect: CONNECT

Debug ppp
*Mar 8 09:49:58.656: Ce0/0/0 IPCP: Ignoring unrequested options!
negotiation *Mar 8 09:49:58.656: Ce0/0/0 IPCP: O CONFREQ [REQsent] id 5 len 10
*Mar 8 09:49:58.656: Ce0/0/0 IPCP: Address 0.0.0.0 (0x030600000000)
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: I CONFREQ [REQsent] id 3 len 4
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: O CONFACK [RE.Qsent] id 3 len 4
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: I CONFNAK [ACKsent] id 5 len 10
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: Address 1.5.97.2 (0x030601056102)
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: O CONFREQ [ACKsent] id 6 len 10
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: Address 1.5.97.2 (0x030601056102)
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: I CONFACK [ACKsent] id 6 len 10
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: Address 1.5.97.2 (0x030601056102)
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: State is Open
*Mar 8 09:49:59.216: Ce0/0/0 IPCP: Install negotiated IP interface address 1.5.97.2!

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 38
Check if the line is busy before make any data call
- Need to clear line when it is busy
- Clear line 18 or clear interface cellular 0/1/0 will get the line back to ready

S-LC6# sh line
Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 0 CTY - - - - - 0 0 0/0 -
1 1 AUX 9600/9600 - - - - - 0 0 0/0 -
A 0/1/0 18 TTY - inout - - - 119 0 0/0 Ce0/1/0
BUSY 514 514 VTY
515 515 VTY
-
-
-
-
-
-
-
-
-
-
0
0
0
0
0/0
0/0
-
-
516 516 VTY - - - - - 0 0 0/0 -
517 517 VTY - - - - - 0 0 0/0 -
518 518 VTY - - - - - 0 0 0/0 -

S-LC6#sh line
Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 0 CTY - - - - - 0 0 0/0 -
1 1 AUX 9600/9600 - - - - - 0 0 0/0 -
READY I 0/1/0 18 TTY - inout - - - 118 0 0/0 Ce0/1/0
514 514 VTY - - - - - 0 0 0/0 -
515 515 VTY - - - - - 0 0 0/0 -
516 516 VTY - - - - - 0 0 0/0 -
517 517 VTY - - - - - 0 0 0/0 -
518 518 VTY - - - - - 0 0 0/0 -

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 39
Cannot make a data call cause line always busy
Both sample configures work fine for any Enzo interface

Sample Configuration: Sample Configuration:


Basis line x/x/x line 0/1/0
line 0/1/0
configuration exec-timeout 0 0
exec-timeout 0 0
script dialer cdma-1x
script dialer cdma-1x
login
login
modem InOut
modem InOut
no exec
no exec
transport input all
transport input all
transport output all
transport output all
autoselect ppp
autoselect during-login
autoselect during-login

Note: If you have autoselect ppp under line x/x/x. Then you should also
configured autoselect during-login. Otherwise the line keep busy and no
call can be made

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 40
Modem Firmware Upgraded Support
There are two methods to upgrade the RJ-45 Port

modem firmware to 3G-HWIC: IOS and


thru the Diag port

Command to enable the diag port:


SWI One Click Tool
test cell-hwic 0/0/0 usb-to-dm

Command to connect modem USB port


back to HWIC:
Note1: User need to power cycle to modem after
test cell-hwic 0/0/0 usb-to-hwic
upgrade in order to use the new Firmware.
Use the one click tool from SWI. Router reload sometime necessary for this

Tar file is available from tftp Note2: Profile may get erased during the upgrade
process. It is recommended that you should
archive tar /xtract flash:V58.tar flash: backup your profiles and check if your profile
still available after upgraded.
Microcode reload from IOS
microcode reload cellular 0 0 cdma provision-modem
flash:FWUpgradeConfigFile

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 41
Modem Activation using MDN/MSID

Activating the modem using MDN/MSID:


cellular 0/0/0 cdma activate manual <mdn> <msid> <sid>
<nid> <msl>

Viewing modem NAM and Data profile configuration:


show cellular 0/0/0 profile

Viewing the radio and network status:


show cellular 0/0/0 all

Troubleshooting Tips:
The sid (System id) and nid (Network id) can be obtained from show cellular network
Turn the console/terminal logging on to view the activation progress
Make sure the modem is attached to a valid service before issuing activation command
Check the output of show cellular profile to see if the modem has been activated.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 42
Modem Activation using OTASP

Activating the modem using OTASP:


cellular 0/0/0 cdma activate otasp *22899

Viewing modem NAM and Data profile configuration:


show cellular 0/0/0 profile

Viewing the radio and network status:


show cellular 0/0/0 all

Troubleshooting Tips:
Turn the console/terminal logging on to view the activation progress
Make sure the modem is attached to a valid service before issuing activation command
Check the output of show cellular profile to see if the modem has been activated.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 43
Cellular Interface Configuration
IP address configuration
ip address negotiated

PPP Chap configuration


ppp chap password <password>

Dialer configuration
dialer in-band
dialer idle timeout

Troubleshooting Tips:
When using NAT with a static IP address,
The chap authentication parameters are not required for Mobile IP(MIP) call.
For Simple IP(SIP) call, make sure you only configure ppp chap password.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 44
Modem line configuration
Configure line attributes
modem InOut
transport input telnet

Configure dialer script


script dialer cdma

Troubleshooting Tips:
Make sure you configure the script dialer under line interface same as the dialer string
configured under the cellular interface.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 45
Dialer group and Chat script
Configure dialer list 1
access-list 1 permit any
dialer-list 1 protocol ip list 1

Create the static route


ip route 0.0.0.0 0.0.0.0 cellular 0/0/0

Create modem chat script


chat-script cdma "" "ATDT#777" TIMEOUT 60 CONNECT

Troubleshooting Tips:
The chat-script name should be same as the dialer string/script.
For Simple IP(SIP) call, make sure you only configure ppp chap password.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 46
Step 4: Setting up and clearing a data call

Use ping command on router to create interesting traffic


ping 168.1.1.1

If a client device (like PC) is connected to the router, use a web request to
generate interesting traffic
To clear a data call, use the clear line command
clear line 0/0/0

Troubleshooting Tips:
Use debug dialer, debug ppp negotiation and debug modem to debug call setup.

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 47
Router show commands for debugging
show cellular 0/0/0 [all | connection | hardware | network | radio | security]

all Display all the information


connection Current active connection and statistics
hardware Cellular modem hardware information
network Cellular network information
profile Profile information in the modem
radio Cellular modem radio information
security Modem lock status

show ip route
(Routing table on the router)

show ip interface brief


(List of interfaces on the router)

debug dialer
(Dialer Debugs for call setup)

debug ppp negotiation


(PPP Debugs for call setup)

Presentation_ID 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 48

You might also like