Guest

Cisco IOS Software Releases 12.4 T

Configuring the 3G Wireless High-Speed WAN Interface Card for Cisco 1841, and 2800 and 3800 Series Routers (HWIC-3G-GSM)

Table Of Contents

Configuring the 3G Wireless High-Speed WAN Interface Card for Cisco 1841, and 2800 and 3800 Series Routers (HWIC-3G-GSM)

Contents

Prerequisites for Configuring the 3G Wireless HWIC

Restrictions for Configuring the 3G Wireless HWIC

Overview of GSM/UMTS Data Network

Supported Cisco Antennas and Cables

How to Configure the 3G Wireless HWIC (HWIC-3G-GSM)

Data Account Provisioning

Verifying Signal Strength and Service Availability

Configuring a Modem Data Profile

Data Call Setup

Configuring the Cellular Interface

Configuring DDR

Configuring DDR Backup

Configuration Examples for the Wireless HWIC

Basic Cellular Interface Configuration

Tunnel over Cellular Interface Configuration

3G Wireless Modem as Backup with NAT and IPSec

Modem Firmware Upgrade

Additional References

Related Documents

Technical Assistance

Command Reference

cellular gsm plmn search

cellular gsm plmn select

cellular gsm profile create

cellular gsm profile delete

debug cellular driver

debug cellular firmware

debug cellular messages all

debug cellular messages async

debug cellular messages data

debug cellular messages dm

debug cellular messages management

debug cellular messages virt-con

show cellular all

show cellular connection

show cellular hardware

show cellular network

show cellular profile

show cellular radio

show cellular security

show controllers cellular

show interfaces cellular

show run interface cellular

Troubleshooting

Verifying Data Call Setup

Checking Signal Strength

Verifying Service Availability

Successful Call Setup

Modem Troubleshooting Using the Diagnostic Port

Modem Settings for North America and Carriers Operating on 850 MHz and 1900 MHz Bands


Configuring the 3G Wireless High-Speed WAN Interface Card for Cisco 1841, and 2800 and 3800 Series Routers (HWIC-3G-GSM)


First Published: March 14, 2007
Revised: July 3, 2008

The Third Generation (3G) Wireless High-Speed WAN Interface Card (HWIC) is a multiband, multiservice WAN card for use over Global System for Mobile Communications/Universal Mobile Telecommunication System (GSM/UMTS) networks. Its primary application is WAN connectivity as a backup data link for critical data applications. However, the 3G wireless HWIC can also function as the primary WAN connection. It is supported on the following Cisco integrated services routers (Cisco ISRs):

Cisco 1841

Cisco 2800 series

Cisco 3800 series

The 3G wireless HWIC provides the following functionality:

Broadband WAN connectivity using high-speed cellular data technology

Support for the following technologies:

High-speed Downlink Packet Access (HSDPA)

Universal Mobile Telecommunication System (UMTS)

Enhanced Data-Rates for GSM Evolution (EDGE)

General Packet Radio Service (GPRS)

Automatic best-network selection

Multiple external antenna options

Static and dynamic IP addressing

Modem-based support for mobile IP

Cellular interface based on the asynchronous interface in Cisco IOS software

Network Address Translation (NAT) support

Security features such as firewall, intrusion-detection systems (IDS), intrusion-prevention systems (IPS), and IPSec VPN on the router

WAN switchover using Cisco IOS software backup interface feature

Table 1 shows the SKU and the frequencies supported by the 3G wireless HWICs.

Table 1 SKU Description and Supported Frequencies 

SKU Number
Description
Region
Frequency Bands

HWIC-3G-GSM

HSDPA/UMTS/EDGE/GPRS

Worldwide

850/900/1800/1900/2100 MHz


Figure 1 shows the GSM (UMTS/HSDPA) HWIC.

Figure 1 Front Panel of HWIC-3G-GSM

1

Mounting Screws

3

Antenna Connector

2

Diagnostic Port

4

LEDs



Note The diagnostic port is not required for normal activation or operation. Please see the "Modem Troubleshooting Using the Diagnostic Port" section for details.


Table 2 lists the LEDs and describes their functionality and different states. The LEDs provide a visual indication of your available services. Please see Chapter 13 in the Cisco Interface Cards Hardware Installation Guide for details on hardware installation.

Table 2 3G Wireless HWIC (GSM) LED Descriptions 

LED
Description

RSSI

Off: Low RSSI (under -100 dBm).

Slow Green Blink: Low or medium RSSI (-99 to -90 dBm).

Fast Green Blink: Medium RSSI (-89 to -70 dBm).

Solid Green: High RSSI (-69 dBm or higher).

Solid Yellow: No service or no RSSI detected.

WWAN

Off: HWIC in reset mode or not powered.

Slow blink: Searching for service.

Solid Green: Active service; no traffic detected.

Fast Blink: Active service, and traffic detected proportional to blink rate.

UMTS

UMTS is the active service.

HSDPA

HSDPA is the active service.


Note Both UMTS and HSDPA Off: Fallback (EGDE or GPRS) service is active.
If the RSSI LED is solid yellow, it means that no service and no RSSI are detected.



Note Active service means the currently available service. Your 3G wireless HWIC automatically selects the best available connection.



The 3G wireless HWIC provides the following software functionality:

Modem activation—You can activate the modem by using Cisco IOS commands.

Modem management—You can access modem software and hardware information, radio and network status, and data profile information by using Cisco IOS commands.

Dial on Demand Routing (DDR)—This allows you to set up a data call when there is data traffic to be sent over the wireless network.

Fallback connection (DDR backup)—The 3G wireless WAN HWIC allows you to configure the cellular modem to initiate a dialup connection when connection to a primary service is lost.

Teardown after fallback (part of fallback DDR)—After a primary connection has failed and the cellular connection is in fallback mode, the 3G wireless HWIC tears down the fallback-mode connection when the primary connection is available.

Automatic teardown—After a configurable timeout, the 3G wireless HWIC automatically tears down a connection if there has been no activity.

Portable application—You can move the router into different coverage areas (different base stations within the same service provider) and the router establishes a connection with the nearest cell infrastructure automatically. This is different from the mobile capability that cell phones offer.

Autodetect—The 3G wireless HWIC automatically detects and uses the best available service.

Firmware upgrade—You can upgrade the firmware on the modem by using Cisco IOS commands.

Feature History

Release
Modification

12.4(11)XV

This feature was introduced.


Finding Support Information for Platforms and Cisco IOS Software Images

Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.

Contents

Prerequisites for Configuring the 3G Wireless HWIC

Restrictions for Configuring the 3G Wireless HWIC

Overview of GSM/UMTS Data Network

How to Configure the 3G Wireless HWIC (HWIC-3G-GSM)

Configuration Examples for the Wireless HWIC

Modem Firmware Upgrade

Additional References

Command Reference

Troubleshooting

Prerequisites for Configuring the 3G Wireless HWIC

The following are prerequisites to configuring the wireless HWICs:

You must have service availability on the HWIC from a carrier, and you must have network coverage where your router will be physically placed. For a complete list of supported carriers, see the data sheet at the following URL: http://www.cisco.com/go/3g

You must subscribe to a service plan with a wireless service provider and obtain a SIM card from the service provider.

You must install the SIM card before configuring the 3G Wireless HWIC. For instructions on how to install the SIM card, see Chapter 13 in the Cisco Interface Cards Hardware Installation Guide at the following URL: http://cisco.com/en/US/products/hw/modules/ps2641/products_module_installation_guide_book09186a0080692b21.html

You must install the required antennas before you configure the 3G HWIC. See the following URLs for instructions on how to install the antennas:

3G-ANTM1919D—See the Cisco Multiband Swivel Mount Dipole Antenna (3G-ANTM1919D)

3G-ANTM1916-CM—See the Cisco Multiband Omnidirectional Ceiling Mount Antenna (3G-ANTM1916-CM)

3G-AE015-R (Antenna Extension)—See the Cisco Single-Port Antenna Stand for Multiband TNC Male-Terminated Portable Antenna (3G-AE015-R)

You must check your LEDs for signal reception as described in Table 2.

You should be familiar with the Cisco IOS software , beginning with Release 12.4(11)XV or later for Cisco HWIC support. (See the Cisco IOS documentation.)

To configure your GSM data profile, you will need the following information from your service provider:

Username

Password

Access Point Name (APN)

Restrictions for Configuring the 3G Wireless HWIC

The following restrictions apply to configuring the Cisco Wireless HWICs:

Data connection can be originated only by the 3G wireless HWIC. Remote dial-in is not supported.

Throughput—due to the shared nature of wireless communications, the experienced throughput varies depending on the number of active users or congestion in a given network.

Cellular networks have higher latency compared to wired networks. Latency rates depend on the technology and carrier. Latency may be higher because of network congestion.

VoIP is not currently supported.

Any restrictions that are a part of the terms of service from your carrier.

Overview of GSM/UMTS Data Network

The Global System for Mobile Communications (GSM) is the most widely deployed cellular network in the world. It is based on the specification from European Telecommunications Standards Institute (ETSI). GSM was primarily designed for voice and was circuit switched but due to the popularity of cellular networks and the great demand for data services, GPRS was introduced as a packet switched data overlay over the GSM radio network. The radio and network resources of GPRS are accessed only when data actually needs to be transmitted between the GPRS mobile user and the GPRS network.

GPRS introduced several new network nodes into the GSM architecture for packet switching, they form the Mobile Packet Core. The Mobile Packet Core includes the Serving GPRS Support Node (SGSN) and the GPRS Gateway Support Node (GGSN). The SGSN is the node which in some ways carries out the same function as the Foreign Agent in Mobile IP. It tunnels IP packets towards the GGSN and detunnels packets back from the GGSN. It also carries out mobility managed and billing. The GGSN is the node which carries out the role in GPRS equivalent to the Home Agent in Mobile IP. The GGSN provides the connectivity to the IP network and the SGSN. It is responsible for IP address assignment and is the default router for the connected User Equipment (UE).

Figure 2 shows a GSM network and the network elements it contains.

Figure 2 GSM Network Overview

The Base Tranceiver Station (BTS) and Base Station Controller (BSC) are located at the Cell site and are the common nodes for both voice and data services. They provide the radio or the physical layer connectivity between the mobile user and the mobile network. As the BSC voice and data traffic get segregated, the voice traffic goes to the Mobile Switching Center (MSC), while the data traffic is sent to the GGSN. From the GGSN, the data packets either go directly to the internet or they can be backhauled to the customer data center for a VPN connection.

UMTS is a 3G wireless system that delivers high-bandwidth data and voice services to mobile users.UMTS evolved from GSM. UMTS has a new air interface based on Wideband Code Division Multiple Access (W-CDMA) and an IP core network based on general-packet radio service (GPRS). The nodes in a UMTS network are almost the same as in a GSM/GPRS network. BTS and BSC have been renamed to Node B and Radio Network Controller (RNC), respectively. UMTS addresses the growing demand of mobile and Internet applications for new capacity in the overcrowded mobile communications sky. The new network increases transmission speed to 2 Mbps per mobile user and establishes a global roaming standard.

Supported Cisco Antennas and Cables

Table 3 lists the Cisco antennas that are supported for use on the 3G wireless HWIC.

.

Table 3 Cisco Antennas Supported on the 3G Wireless HWIC 

Cisco Part Number
Antenna Type
Maximum Gain and Frequency Range
Description

3G-ANTM1919D

Dipole Omnidirectional

0 dBi
(806-960 MHz)

0 dBi
(1710-2170 MHz)

This is the default antenna. Multiband faceplate-mounted dipole antenna. For more information, see the Cisco Multiband Swivel Mount Dipole Antenna (3G-ANTM1919D) document.

3G-ANTM1916-CM

High-Gain
Ceiling-Mount Omnidirectional

1.5 dBi
(806-960 MHz)

2.5 dBi
(1710-2170 MHz)

Multiband ceiling-mounted omnidirectional antenna. For more information, see the Cisco Multiband Omnidirectional Ceiling Mount Antenna (3G-ANTM1916-CM) document.

3G-AE015-R (Antenna Extension)

Extension Base

0.8-6.0 GHz

This antenna extension is a base with a 15-foot cable included for use with a dipole omnidirectional antenna. For more information, see the Cisco Single-Port Antenna Stand for Multiband TNC Male-Terminated Portable Antenna (3G-AE015-R) document.


Table 4 lists insertion loss information for the ultra-low-loss (ULL) LMR 400 extension cables available from Cisco for use with the ceiling-mounted antenna.

Table 4 Cisco Extension Cables for Use with Antennas 

Cisco Product Number
Cable Length
Insertion Loss
Frequency (MHz)

3G-CAB-ULL-20

20 ft (6 m)

1.50 dB max.

2100

3G-CAB-ULL-50

50 ft (15 m)

3.50 dB max.

2100


Figure 3 shows the various antenna options for the 3G wireless HWIC.

Figure 3 Antenna Options

How to Configure the 3G Wireless HWIC (HWIC-3G-GSM)

To configure the 3G wireless HWIC, follow these procedures:

Data Account Provisioning

Data Call Setup

Data Account Provisioning


Note To provision your modem, you must have an active wireless account with a service provider and a SIM card installed in your 3G wireless HWIC.


To provision your data account, follow these procedures:

Verifying Signal Strength and Service Availability

Configuring a Modem Data Profile

Verifying Signal Strength and Service Availability

To verify the signal strength and service availability on your modem, use the following commands in privileged EXEC mode.

SUMMARY STEPS

1. show cellular network

2. show cellular radio

3. show cellular profile

4. show cellular security

5. show cellular all

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# show cellular <slot/wic/port> network
Example:

Router# show cellular 0/0/0 network

Displays information about the carrier network, cell site, and available service.

Step 2 

Router# show cellular <slot/wic/port> radio
Example:

Router# show cellular 0/0/0 radio

Shows the radio signal strength.


Note The RSSI should be better than -90 dBm for steady and reliable connection.


Step 3 

Router# show cellular <slot/wic/port> profile
Example:

Router# show cellular 0/0/0 profile

Shows information about the modem data profiles created.

Step 4 

Router# show cellular <slot/wic/port> security
Example:

Router# show cellular 0/0/0 security

Shows the security information for the modem, such as SIM and modem lock status.

Step 5 

Router# show cellular <slot/wic/port> all
Example:

Router# show cellular 0/0/0 all

Shows consolidated information about the modem, profiles created, radio signal strength, network security, and so on.

Configuring a Modem Data Profile

To configure or create a new modem data profile, enter the following command in privileged EXEC mode.

SUMMARY STEPS

1. cellular gsm profile create <profile number> <apn> <authentication> <username> <password>

DETAILED STEPS

Command or Action
Purpose
Router# cellular <slot/wic/port> gsm profile create 
<profile number> <apn> <authentication> <username> 
<password>
Example:

Router# cellular 0/0/0 gsm profile create 3 apn.com chap GSM GSMPassword

Creates a new modem data profile. Refer to Table 5 for details on the command parameters.


Table 5 Modem Data Profile Parameters

profile number

Number for the profile you are creating. You can create upto 16 profiles.

apn

Access Point Name. You must get this information from the service provider.

authentication

The type of authentication. For example, CHAP, PAP.

Username

The username provided by your service provider.

Password

The password provided by your service provider.


Data Call Setup

To set up a data call, use the following procedures:

Configuring the Cellular Interface

Configuring DDR

Configuring DDR Backup

Figure 4 shows a typical data call setup with the 3G wireless HWIC.

Figure 4

Data Call Setup with HWIC-3G-GSM

Configuring the Cellular Interface

To configure the cellular interface, enter the following commands in the cellular interface mode.

SUMMARY STEPS

1. configure terminal

2. interface cellular <slot/wic/port>

3. encapsulation ppp

4. ppp chap hostname <host>

5. ppp chap password 0 <password>

6. asynchronous mode interactive

7. ip address negotiated


Note The PPP CHAP authentication parameters that you use in this procedure must be the same as the username and password provided by your carrier and configured under the GSM profile.


DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# configure terminal 
Example:

Router# configure terminal

Enters global configuration mode from the terminal.

Step 2 

Router(config)# interface cellular <slot/wic/port>
Example:

Router (config)# interface cellular 0/0/0

Specifies the cellular interface.

Step 3 

Router(config-if)# encapsulation ppp
Example:

Router (config-if)# encapsulation ppp

Specifies PPP encapsulation for an interface configured for dedicated asynchronous mode or dial-on-demand routing (DDR).

Step 4 

Router(config-if)# ppp chap hostname <hostname>
Example:

Router (config-if)# ppp chap hostname cisco@wwan.ccs

Defines an interface-specific CHAP hostname. This must match the username given by the carrier.

Step 5 

Router(config-if)# ppp chap password <password>
Example:

Router (config-if)# ppp chap password 0 cisco

Defines an interface-specific CHAP password. This must match the password given by the carrier.

Step 6 

Router(config-if)# async mode interactive
Example:

Router (config-if)# async mode interactive

Returns a line that has been placed into dedicated asynchronous network mode to interactive mode, thereby enabling the SLIP and PPP commands in privileged EXEC mode.

Step 7 

Router(config-if)# ip address negotiated
Example:

Router (config-if)# ip address negotiated

Specifies that the IP address for a particular interface is obtained via PPP/IPCP address negotiation.


Note When a static IP address is required for the cellular interface, the address may be configured as ip address negotiated. During IPCP, the network ensures that the correct static IP address is allocated to the device. If a tunnel interface is configured with ip address unnumbered <cellular interface>, it is necessary to configure the actual static IP address under the cellular interface, in place of ip address negotiated. For a sample cellular interface configuration, see the "Basic Cellular Interface Configuration" section.


Configuring DDR

To configure DDR for the cellular interface, follow these steps.

SUMMARY STEPS

1. configure terminal

2. interface cellular <slot/wic/port>

3. dialer in-band

4. dialer idle-timeout <seconds>

5. dialer string <string>

6. dialer group <number>

7. exit

8. dialer-list <dialer-group> protocol <protocol-name> {permit | deny | list <access-list-number> | access-group}>

9. ip access-list<access list number>permit <ip source address>

10. line <slot/wic/port>

11. script dialer <regexp>

12. exit

13. chat-script <script name> "" "ATDT*99*<profile number>#" TIMEOUT <timeout value> CONNECT

14. interface cellular <slot/wic/port>

15. dialer string <string>

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# configure terminal

Example:

Router# configure terminal

Enters global configuration mode from the terminal.

Step 2 

Router(config)# interface cellular <slot/wic/port>

Example:

Router (config)# interface cellular 0/0/0

Specifies the cellular interface.

Step 3 

Router(config-if)# dialer in-band

Example:

Router (config-if)# dialer in-band

Enables DDR and configures the specified serial interface to use in-band dialing.

Step 4 

Router(config-if)# dialer idle-timeout <seconds>

Example:

Router (config-if)# dialer idle-timeout 30

Specifies the duration of idle time, in seconds, after which a line will be disconnected.

Step 5 

Router(config-if)# dialer string <string>

Example:

Router (config-if)# dialer string gsm

Specifies the number or string to dial. Use the name of the CHAT script here.

Step 6 

Router(config-if)# dialer-group <number>

Example:

Router (config-if)# dialer-group 1

Specifies the number of the dialer access group to which the specific interface belongs.

Step 7 

Router(config-if)# exit

Example:

Router (config-if)# exit

Enters the global configuration mode.

Step 8 

Router(config)# dialer-list <dialer-group> protocol <protocol-name> {permit | deny | list <access-list-number> | access-group}>

Example:

Router (config)# dialer-list 1 protocol ip list 1

Creates a dialer list for traffic of interest and permits access to an entire protocol.

Step 9 

Router(config)# ip access-list<access list number>permit <ip source address>

Example:

Router (config)# ip access list 1 permit any

Defines traffic of interest.

Step 10 

Router(config)# line <slot/wic/port>

Example:

Router (config-line)# line 0/0/0

Specifies the line configuration mode.

Step 11 

Router(config-line)script dialer <regexp>

Example:

Router (config-line)# script-dialer gsm

Specifies a default modem chat script.

Step 12 

Router(config-line)exit

Example:

Router (config-line)# exit

Exits line configuration mode.

Step 13 

Router(config)# chat-script <script name> "" "ATDT*99*<profile number>#" TIMEOUT <timeout value> CONNECT

Example:

Router (config)# chat-script gsm "" "ATDT*98*2#" TIMEOUT 60 "CONNECT"

Defines the ATDT commands when the dialer is initiated.

Step 14 

Router(config)# interface cellular <slot/wic/port>

Example:

Router (config)# interface cellular 0/1/0

Specifies the cellular interface.

Step 15 

Router(config-if)# dialer string <string>

Example:

Router (config)# dialer string gsm

Specifies the dialer script (defined using the chat script command).

Configuring DDR Backup

To monitor the primary connection and initiate the backup connection when needed, the router can use one of the following methods:

Backup Interface—The backup interface that stays in standby mode until the primary interface line protocol is detected as down and then is brought up.

Floating Static Route—The route through the backup interface has an administrative distance that is greater than the administrative distance of the primary connection route and therefore would not be in the routing table until the primary interface goes down.

Dialer Watch—Dialer watch is a backup feature that integrates dial backup with routing capabilities.

Configuring Interfaces to Use a Backup Interface

To configure one or more interfaces to use a backup interface, use the following commands, beginning in global configuration mode.

SUMMARY STEPS

1. interface type number

2. backup interface cellular number

3. backup delay enable-delay disable-delay

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router(config)# interface type number

Example:

Router(config)# interface ATM0/0/0

Specifies the interface to be backed up and begins interface configuration mode.

Step 2 

Router(config-if)# backup interface cellular <number>

Example:

Router(config-if)# backup interface cellular0/3/0

Specifies the cellular interface as backup.

Step 3 

Router(config-if)# backup delay enable-delay disable-delay

Example:

Router(config-if)# backup delay enable delay

Specifies delay between the physical interface going down and the backup interface being enabled, and between the physical interface coming back up and the backup being disabled.


Note You cannot configure a backup interface for the cellular interface and any other asynchronous serial interface.


Configuring DDR Backup Using Dialer Watch

To initiate dialer watch, you must configure the interface to perform DDR and backup. Use traditional DDR configuration commands, such as dialer maps, for DDR capabilities. To enable dialer watch on the backup interface and create a dialer list, use the following commands in interface configuration mode.

SUMMARY STEPS

1. configure terminal

2. interface type number

3. dialer watch group group-number

4. dialer watch-list group-number ip ip-address address-mask

5. dialer-list <dialer-group> protocol <protocol name> {permit | deny | list <access list number> | access-group}

6. ip access-list <access list number> permit <ip source address>

7. interface cellular <slot/wic/port>

8. dialer string <string>

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# configure terminal

Example:

Router# configure terminal

Enters global configuration mode from the terminal.

Step 2 

Router(config)# interface type number

Example:

Router (config)# interface ATM0/0/0

Specifies the interface.

Step 3 

Router(config-if)# dialer watch-group

group-number

Example:

Router(config-if)# dialer watch-group 2

Enables dialer watch on the backup interface.

Step 4 

Router(config)# dialer watch-list group-number ip ip-address address-mask

Example:

Router(config-if)# dialer watch-list 2 ip 10.4.0.254 255.255.0.0

Defines a list of all IP addresses to be watched.

Step 5 

Router(config)# dialer-list <dialer-group> protocol <protocol-name> {permit | deny | list <access-list-number> | access-group}>

Example:

Router(config)# dialer-list 2 protocol ip permit

Creates dialer list for traffic of interest and permits access to an entire protocol.

Step 6 

Router(config)# ip access-list<access list number>permit <ip source address>

Example:

Router(config)# access list 2 permit 10.4.0.0

Defines traffic of interest.


Note Do not use the access list permit all command to avoid sending traffic to the IP network. This may result in call termination.


Step 7 

Router(config)# interface cellular <slot/wic/port>
Example:

Router (config)# interface cellular 0/1/0

Specifies the cellular interface.

Step 8 

Router(config-if)# dialer string <string>
Example:

Router (config)# dialer string cdma

Specifies the dialer script (defined using the chat script command).

Configuring DDR Backup Using Floating Static Route

To configure a floating static default route on the secondary interface beginning in the global configuration mode, perform the following tasks.


Note Make sure you have ip classless enabled on your router.


SUMMARY STEPS

1. configure terminal

2. ip route network-number network-mask {ip address | interface} [administrative distance] [name name]

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# configure terminal

Example:

Router# configure terminal

Enters global configuration mode from the terminal.

Step 2 

Router(config)# ip route network-number network-mask

{ip-address | interface} [administrative distance] [name name]

Example:

Router (config)# ip route 0.0.0.0 Dialer 2 track 234

Establishes a floating static route with the configured administrative distance through the specified interface.


Note A higher administrative distance should be configured for the route through the backup interface, so that it is used only when the primary interface is down.


Configuration Examples for the Wireless HWIC

This section provides the following configuration examples:

Basic Cellular Interface Configuration

Tunnel over Cellular Interface Configuration

3G Wireless Modem as Backup with NAT and IPSec

Basic Cellular Interface Configuration

The following example shows how to configure the cellular interface to be used as a primary and is configured as the default route:

chat-script gsm "" "ATDT*98*2#" TIMEOUT 60 "CONNECT"

!
interface Cellular0/0/0
 ip address negotiated
 encapsulation ppp
 dialer in-band
 dialer string gsm
 dialer-group 1
 async mode interactive
 ppp chap hostname cisco@wwan.ccs
 ppp chap password 0 cisco
 ppp ipcp dns request
!

ip route 0.0.0.0 0.0.0.0 Cellular0/0/0
!
!
access-list 1 permit any
dialer-list 1 protocol ip list 1
!
line 0/0/0
 exec-timeout 0 0
 script dialer gsm
 login
 modem InOut

Tunnel over Cellular Interface Configuration

The following example shows how to configure the static IP address when a tunnel interface is configured with ip address unnumbered <cellular interface>:

interface Tunnel2
 ip unnumbered Cellular0/3/0
 tunnel source Cellular0/3/0
 tunnel destination 128.107.248.254

interface Cellular0/3/0
 bandwidth receive 1400000
 ip address 23.23.0.1 255.255.0.0
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 no ip mroute-cache
 dialer in-band
 dialer idle-timeout 0
 dialer string dial<carrier>
 dialer-group 1
 async mode interactive
 no ppp lcp fast-start
 ppp chap hostname <hostname>
 ppp chap password 0 <password>
 ppp ipcp dns request
! traffic of interest through the tunnel/cellular interface
ip route 10.10.0.0 255.255.0.0 Tunnel2

3G Wireless Modem as Backup with NAT and IPSec

The following example shows how to configure the 3G wireless modem on the router as backup with NAT and IPSec:


Note The receive and transmit speeds cannot be configured. The actual throughput depends on the cellular network service.


ip dhcp excluded-address 10.4.0.254
!
ip dhcp pool gsmpool
   network 10.4.0.0 255.255.0.0
   dns-server 66.209.10.201 66.102.163.231 
   default-router 10.4.0.254 
!
!
chat-script gsm "" "atdt*98*1#" TIMEOUT 30 "CONNECT"

crypto isakmp policy 1
 encr 3des
 authentication pre-share
crypto isakmp key gsm address 128.107.241.234
!
!
crypto ipsec transform-set gsm ah-sha-hmac esp-3des 
!
crypto map gsm1 10 ipsec-isakmp 
 set peer 128.107.241.234
 set transform-set gsm 
 match address 103
!
!
interface ATM0/0/0
 no ip address
 ip virtual-reassembly
 load-interval 30
 no atm ilmi-keepalive
 dsl operating-mode auto 
!
interface ATM0/0/0.1 point-to-point
 backup interface Cellular0/3/0
 ip nat outside
 ip virtual-reassembly
 no snmp trap link-status
 pvc 0/35 
  pppoe-client dial-pool-number 2
 !
!
interface Cellular0/3/0
 bandwidth receive 1400000
 ip address negotiated
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 no ip mroute-cache
 dialer in-band
 dialer idle-timeout 0
 dialer string gsm
 dialer-group 1
 async mode interactive
 no ppp lcp fast-start
 ppp chap hostname cisco@wwan.ccs
 ppp chap password 0 cisco
 ppp ipcp dns request
 crypto map gsm1
!

interface Vlan104
 description used as default gateway address for DHCP clients
 ip address 10.4.0.254 255.255.0.0
 ip nat inside
 ip virtual-reassembly
!
interface Dialer2
 ip address negotiated
 ip mtu 1492
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 load-interval 30
 dialer pool 2
 dialer-group 2
 ppp authentication chap callin
 ppp chap hostname cisco@dsl.com
 ppp chap password 0 cisco
 ppp ipcp dns request
 crypto map gsm1
!
ip local policy route-map track-primary-if
ip route 0.0.0.0 0.0.0.0 Dialer2 track 234
ip route 0.0.0.0 0.0.0.0 Cellular0/3/0 254
!
!
ip nat inside source route-map nat2cell interface Cellular0/3/0 overload
ip nat inside source route-map nat2dsl interface Dialer2 overload
!
ip sla 1
 icmp-echo 209.131.36.158 source-interface Dialer2
 timeout 1000
 frequency 2
ip sla schedule 1 life forever start-time now
access-list 1 permit any
access-list 2 permit 10.4.0.0 0.0.255.255
access-list 3 permit any
access-list 101 permit ip 10.4.0.0 0.0.255.255 any
access-list 102 permit icmp any host 209.131.36.158
access-list 103 permit ip host 166.138.186.119 128.107.0.0 0.0.255.255
access-list 103 permit ip host 75.40.113.246 128.107.0.0 0.0.255.255
dialer-list 1 protocol ip list 1
dialer-list 2 protocol ip permit
!
!
route-map track-primary-if permit 10
 match ip address 102
 set interface Dialer2
!
route-map nat2dsl permit 10
 match ip address 101
 match interface Dialer2
!
route-map nat2cell permit 10
 match ip address 101
 match interface Cellular0/3/0
!

line 0/3/0
 exec-timeout 0 0
 script dialer dial gsm
 login
 modem InOut