Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide
Basic Router Configuration

Table Of Contents

Basic Router Configuration

Interface Ports

Default Configuration

Information Needed for Configuration

Configuring Basic Parameters

Configuring Global Parameters

Configuring the Fast Ethernet LAN Interfaces

Configuring WAN Interfaces

Configuring a Fast Ethernet WAN Interface

Configuring a G.SHDSL WAN Interface

Configuring the Cellular Wireless WAN Interface

Configuring a Wireless LAN Interface

Configuring a Loopback Interface

Example

Verifying Configuration

Configuring Command-Line Access

Example

Configuring Static Routes

Example

Verifying Configuration

Configuring Dynamic Routes

Configuring Routing Information Protocol

Example

Verifying Configuration

Configuring Enhanced Interior Gateway Routing Protocol

Example

Verifying Configuration


Basic Router Configuration


This chapter provides procedures for configuring the basic parameters of your Cisco router, including global parameter settings, routing protocols, interfaces, and command-line access. It also describes the default configuration on startup.

Interface Ports

Default Configuration

Information Needed for Configuration

Configuring Basic Parameters

Configuring Static Routes

Configuring Dynamic Routes

Configuring Routing Information Protocol

Configuring Enhanced Interior Gateway Routing Protocol


Note Individual router models may not support every feature described in this guide. Features that are not supported by a particular router are indicated whenever possible.


This chapter includes configuration examples and verification steps, as available.

For complete information on how to access global configuration mode, see the "Entering Global Configuration Mode" section in Appendix A, "Cisco IOS Basic Skills." For more information on the commands used in the following tables, see the Cisco IOS Release 12.4(15)XZ documentation set.

Interface Ports

Table 3-1 lists the interfaces that are supported for each router and their associated port labels on the equipment.

Table 3-1 Supported Interfaces and Associated Port Labels by Cisco Router 

Router
Interface
Port Label

Cisco 860 Series and Cisco 880 Series

Fast Ethernet LAN

LAN, FE0-FE3

Wireless LAN

(no label)

Cisco 861, 861W, 881, 881W

Fast Ethernet WAN

WAN, FE4

Cisco 888, 888W

G.SHDSL WAN

G.SHDSL


Default Configuration

When you first boot up your Cisco router, some basic configuration has already been performed. All of the LAN and WAN interfaces have been created, console and vty ports are configured, and the inside interface for Network Address Translation (NAT)has been assigned. Use the show running-config command to view the initial configuration, as shown in the following example.

Router# show running-config


User Access Verification                        

Password:         
Tech_Pubs1>en             
Password:         
Tech_Pubs1#show ru                  
Tech_Pubs1#show running-config                              
Building configuration...                         

Current configuration : 986 bytes                                 
! 
version 12.4            
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               
! 
enable secret 5 $1$g4y5$NxDeM.0hON6YA51bcfGvN1                                              
enable password ciscocisco                          
! 
no aaa new-model                
! 
! 
! 
! 
no ip routing             
no ip cef         
! 
! 
! 
! 
! 
multilink bundle-name authe                         
! 
! 
archive       
 log config           
  hidekeys          
! 
! 
! 
! 
! 
interface FastEthernet0                       
! 
interface FastEthernet1                       
 shutdown         
! 
interface FastEthernet2                       
 shutdown         
! 
interface FastEthernet3                       
 shutdown         
! 
interface FastEthernet4                       
 ip address 10.1.1.1 255.255.255.0                                       
 no ip route-cache                  
 duplex auto            
 speed auto           
! 
interface Vlan1               
 no ip address              
 no ip route-cache                  
 shutdown         
! 
interface wlan-ap0
 description Service Module interface to manage the embedded AP
 ip unnumbered Vlan1 
 no cdp enable 
 arp timeout 0
! 
ip route 0.0.0.0 0.0.0.0 10.1.1.1 
! 
! 
no ip http server                 
no ip http secure-server
!
!
!
!
!
control-plane
!
!
line con 0
 no modem enable
line aux 0
line vty 0 4
 password cisco
 login
 transport input telnet ssh
!
scheduler max-task-time 5000

!
webvpn cef
end

Tech_Pubs1#

Information Needed for Configuration

You need to gather some or all of the following information, depending on your planned network scenario, before configuring your network:

If you are setting up an Internet connection, gather the following information:

PPP client name that is assigned as your login name

PPP authentication type: Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP)

PPP password to access your Internet service provider (ISP) account

DNS server IP address and default gateways

If you are setting up a connection to a corporate network, you and the network administrator must generate and share the following information for the WAN interfaces of the routers:

PPP authentication type: CHAP or PAP

PPP client name to access the router

PPP password to access the router

If you are setting up IP routing:

Generate the addressing scheme for your IP network.

Determine the IP routing parameter information, including IP address and ATM permanent virtual circuits (PVCs). These PVC parameters are typically virtual path identifier (VPI), virtual circuit identifier (VCI), and traffic-shaping parameters.

Determine the number of PVCs that your service provider has given you, along with their VPIs and VCIs.

For each PVC determine the type of AAL5 encapsulation supported. It can be one of the following:

AAL5SNAP—This can be either routed RFC 1483 or bridged RFC 1483. For routed RFC 1483, the service provider must provide you with a static IP address. For bridged RFC 1483, you may use DHCP to obtain your IP address, or you may obtain a static IP address from your service provider.

AAL5MUX PPP—With this type of encapsulation, you need to determine the PPP-related configuration items.

If you plan to connect over an ADSL or G.SHDSL line:

Order the appropriate line from your public telephone service provider.

For ADSL lines—Ensure that the ADSL signaling type is DMT (also known as ANSI T1.413) or DMT Issue 2.

For G.SHDSL lines—Verify that the G.SHDSL line conforms to the ITU G.991.2 standard and supports Annex A (North America) or Annex B (Europe).

Once you have collected the appropriate information, you can perform a full configuration on your router, beginning with the tasks in the "Configuring Basic Parameters" section.

If you plan to connect voice equipment:

Seethe Cisco IOS Voice Port Configuration Guide

If you plan to install 3G backup:

See Chapter 5, "Configuring Backup Data Lines and Remote Management"

To obtain or change software licenses:

See Software Activation on Cisco Integrated Routers

Configuring Basic Parameters

To configure the router, perform one or more of these tasks:

Configuring Global Parameters

Configuring the Fast Ethernet LAN Interfaces

Configuring WAN Interfaces

Configuring a Wireless LAN Interface

Configuring a Loopback Interface

Configuring Command-Line Access

A configuration example is presented after each task to show the network configuration.

Configuring Global Parameters

To configure selected global parameters for your router, perform these steps:

 
Command
Purpose

Step 1 

configure terminal

Example:

Router> enable

Router# configure terminal

Router(config)#

Enters global configuration mode, when using the console port.

If you are connecting to the router using a remote terminal, use the following:

telnet router name or address

Login: login id

Password: *********

Router> enable

Step 2 

hostname name

Example:

Router(config)# hostname Router

Router(config)#

Specifies the name for the router.

Step 3 

enable secret password

Example:

Router(config)# enable secret cr1ny5ho

Router(config)#

Specifies an encrypted password to prevent unauthorized access to the router.

Step 4 

no ip domain-lookup

Example:

Router(config)# no ip domain-lookup Router(config)#

Disables the router from translating unfamiliar words (typos) into IP addresses.

For complete information on the global parameter commands, see the Cisco IOS Release 12.4(15)XZ documentation set.

Configuring the Fast Ethernet LAN Interfaces

The Fast Ethernet LAN interfaces on your router are automatically configured as part of the default VLAN and are not configured with individual addresses. Access is provided through the VLAN. You may assign the interfaces to other VLANs if you want. For more information about creating VLANs, see Chapter 7, "Configuring the Ethernet Switches."

Configuring WAN Interfaces

The Cisco 860 and Cisco 880 series ISRs each have one interface for a WAN connection.

Configure the WAN interface for your router using one of the following as appropriate:

Configuring a Fast Ethernet WAN Interface

Configuring a G.SHDSL WAN Interface

Configuring the Cellular Wireless WAN Interface

Configuring a Fast Ethernet WAN Interface

To configure the Fast Ethernet interface on a Cisco 861 or 881 ISR perform these steps, beginning in global configuration mode:

 
Command
Purpose

Step 1 

interface type number

Example:

Router(config)# interface fastethernet 4
Router(config-if)# 

Enters the configuration mode for a Fast Ethernet WAN interface on the router.

Step 2 

ip address ip-address mask

Example:

Router(config-if)# ip address 192.168.12.2 
255.255.255.0
Router(config-if)# 

Sets the IP address and subnet mask for the specified Fast Ethernet interface.

Step 3 

no shutdown

Example:

Router(config-if)# no shutdown
Router(config-if)# 

Enables the Ethernet interface, changing its state from administratively down to administratively up.

Step 4 

exit

Example:

Router(config-if)# exit
Router(config)# 

Exits configuration mode for the Fast Ethernet interface and returns to global configuration mode.

Configuring a G.SHDSL WAN Interface

To configure G.SHDSL as CPE on the Cisco 888 ISR perform these steps, beginning in global configuration mode:

 
Command
Purpose

Step 1 

Router(config)# controller dsl 0


Enters controller configuration mode and the controller number.

Step 2 

Router(config-ctrl)# mode atm


Enables ATM encapsulation and creates logical ATM interface 0.

Step 3 

Router(config-ctrl)# line-term cpe


Enables CPE.

Step 4 

Router(config-ctrl)# line-mode 4 wire standard

Enables 4 wire operation.

Step 5 

Router(config-ctrl)# line-rate 4608

Specifies the DSL line rate for the SHDSL port. The range is 192 to 2312 kb/s. The default is auto (negotiated between the SHDSL port and the DSLAM).


Note If different DSL line rates are configured at opposite ends of the DSL uplink, the actual DSL line rate is always the lower rate.



Note The maximum peak cell rate is 8 kb/s less than the line rate.


Step 6 

Router(config-ctrl)# interface atm0

Enters ATM configuration mode for interface ATM 0.

Step 7 

Router(config-ctrl)#ip-address IP-address

Assigns an IP address to the DSL ATM interface.

Step 8 

Router(config-ctrl)#load-interval 3

 

Step 9 

Router(config-ctrl)# no atm ilmi-keepalive0

(Optional) Disables Integrated Local Management Interface (ILMI) keepalives.

If you enable ILMI keepalives without specifying the number of seconds, the default time interval is 3 seconds.

Step 10 

Router(config-ctrl)# pvc 0/35

Enters atm-virtual-circuit (interface-atm-vc) configuration mode, and configures a new ATM PVC by assigning a name (optional) and VPI/VCI numbers.

The default traffic shaping is UBR; the default encapsulation is AAL5+LLC/SNAP.

Step 11 

Router(config-ctrl)# protocol ip 10.10.10.2 broadcast

(Optional) Enables IP connectivity and creates a point-to-point IP address for the VC.

Step 12 

Router(config-ctrl)# encapsulation aal5snap

(Optional) Configures the ATM adaptation layer (AAL) and encapsulation type.

Use the aal2 keyword for AAL2

Use the aal5ciscoppp keyword for Cisco PPP over AAL5

Use the aal5mux keyword for AAL5+MUX

Use the aal5nlpid keyword for AAL5+NLPID

Use the aal5snap keyword for AAL5+LLC/SNAP (the default)

For complete information on the G.SHDSL commands, see the Cisco IOS Release 12.4(15)XZ documentation set.

Example

The following configuration example shows a 4-wire standard G.SHDSL configuration.

!
controller DSL 0
 mode atm
 line-term cpe
 line-mode 4-wire standard
 dsl-mode shdsl symmetric annex B
 line-rate 4608
!
interface BRI0
 no ip address
 encapsulation hdlc
 shutdown
 isdn termination multidrop
!
!
interface ATM0
 ip address 10.10.10.1 255.255.255.0
 no atm ilmi-keepalive
 pvc 0/35 
  protocol ip 10.10.10.2 broadcast
  encapsulation aal5snap
 !
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
 shutdown
!
interface Vlan1
 ip address 2.15.15.26 255.255.255.0
!
ip forward-protocol nd
ip route 223.255.254.254 255.255.255.255 Vlan1
no ip http server
no ip http secure-server
!

Verifying Configuration

To verify that you have properly configured the router, enter the show run command and look for controller DSL and interface ATM0 paramters.

Router#sh run
Building configuration...
Current configuration : 1298 bytes
!
.......
!
controller DSL 0
 mode atm
 line-term cpe
 line-mode 4-wire standard
 dsl-mode shdsl symmetric annex B
 line-rate 4608
!         
!
interface ATM0
 ip address 10.10.10.1 255.255.255.0
 no atm ilmi-keepalive
 pvc 0/31 
  protocol ip 10.10.10.5 broadcast
  encapsulation aal5snap
 !

Configuring the Cellular Wireless WAN Interface

The Cisco 881G and 888G ISRs provide a Third Generation (3G) wireless interface for use over Global System for Mobile Communications (GSM) and code division multiple access (CDMA) networks. Its primary application is WAN connectivity as a backup data link for critical data applications. However, the 3G wireless interface can also function as the primary WAN connection. The interface is a 34-mm PCMCIA slot.

To configure the 3G cellular wireless interface, follow these guidelines and procedures:

Prerequisites for Configuring the 3G Wireless Interface

Restrictions for Configuring the Cellular Wireless Interface

Data Account Provisioning

Configuring a Cellular Interface

Configuring DDR

Examples for Configuring Cellular Wireless Interfaces

Prerequisites for Configuring the 3G Wireless Interface

The following are prerequisites to configuring the 3G wireless interface:

You must have wireless service 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 (GSM modem only) from the service provider.

You must check your LEDs for signal strength as described in Table 3-2.

You should be familiar with the Cisco IOS software, beginning with Cisco IOS Release 12.4(15)XZ or later for Cisco 3G Wireless 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)

To configure your CDMA data profile for manual activation, you need the following information from your service provider:

Master Subsidy Lock (MSL) number

Mobile Directory number (MDN)

Mobile Station Identifier (MSID)

Electronic Serial Number (ESN)

Table 3-2 Front Panel LED Signal Strength Indications

LED
LED Color
Signal Strength

3G RSSI1

Amber

No service available and no RSSI detected

Solid green

High RSSI (-69 dBm or higher)

Fast (16 Hz) blinking green

Medium RSSI (-89 to -70 dBm)

Slow (1 Hz) blinking green

Low to medium RSSI (-99 to -90 dBm), minimum level for a reliable connection

Off

Low RSSI (less than -100 dBm)

1 3G receive signal strength indication


Restrictions for Configuring the Cellular Wireless Interface

The following restrictions apply to configuring the Cisco 3G wireless interface:

A data connection can be originated only by the 3G wireless interface. Remote dial-in is not supported.

Because of the shared nature of wireless communications, the experienced throughput varies depending on the number of active users or the amount of congestion in a given network.

Cellular networks have higher latency than wired networks. Latency rates depend on the technology and carrier. Latency may be higher when there is network congestion.

VoIP is not currently supported.

Any restrictions that are part of the terms of service from your carrier also apply to the Cisco 3G wireless interface.

Data Account Provisioning


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


To provision your data account, follow these procedures:

Verifying Signal Strength and Service Availability

Configuring a GSM Modem Data Profile

CDMA Modem Activation and Provisioning

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 0 network

2. show cellular 0 hardware

3. show cellular 0 connection

4. show cellular 0 radio

5. show cellular 0 profile

6. show cellular 0 security

7. show cellular 0 all

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# show cellular 0 network
Example:

Router# show cellular 0 network

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

Step 2 

Router# show cellular 0 hardware
Example:
Router# show cellular 0 hardware

Displays the cellular modem hardware information.

Step 3 

Router# show cellular 0 connection
Example:
Router# show cellular 0 connection

Displays the current active connection state and data statistics.

Step 4 

Router# show cellular 0 radio
Example:

Router# show cellular 0 radio

Shows the radio signal strength.


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


Step 5 

Router# show cellular 0 profiles
Example:

Router# show cellular 0 profile

Shows information about the modem data profiles created.

Step 6 

Router# show cellular 0 security
Example:

Router# show cellular 0 security

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

Step 7 

Router# show cellular 0 all
Example:

Router# show cellular 0 all

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

Configuring a GSM 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 0 gsm profile create <profile 
number> <apn> <authentication> <username> 
<password>
Example:

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

Creates a new modem data profile. See Table 3-3 for details about the command parameters.


The following table lists the modem data profile parameters.

Table 3-3 Modem Data Profile Parameters

profile number

Number for the profile that you are creating. You can create up to 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.


CDMA Modem Activation and Provisioning

Activation procedures may differ, depending upon your carrier. Consult your carrier, and perform one of the following procedures as appropriate:

Manual Activation

Activating Using Over the Air Service Provisioning

The following table lists the activation and provisioning processes supported by different wireless carriers.

Activation and Provisioning Process
Carrier

Manual Activation using MDN, MSID, MSL

Sprint

OTASP1 Activation

Verizon Wireless

IOTA2 for Data Profile refresh

Sprint

1 Over the Air Service Provisioning

2 Internet Over the Air


Manual Activation


Note You must have valid mobile directory numner (MDN), mobile subsidy lock (MSL), and mobile station identifier (MSID) information from your carrier before you start this procedure.


To configure a modem profile manually, use the following command, beginning in EXEC mode:

cellular 0 cdma activate manual mdn msid sid nid msl

Besides being activated, the modem data profile is provisioned through the Internet Over the Air (IOTA) process. The IOTA process is initiated automatically when you use the cellular cdma activate manual command.

Here is a sample output from this command:

router# cellular 0 cdma activate manual 1234567890 1234567890 1234 12 12345 
NAM 0 will be configured and will become Active
Modem will be activated with following Parameters 
MDN :1234567890; MSID :1234567890; SID :1234; NID 12:
Checking Current Activation Status
Modem activation status: Not Activated
Begin Activation
Account activation - Step 1 of 5
Account activation - Step 2 of 5
Account activation - Step 3 of 5
Account activation - Step 4 of 5
Account activation - Step 5 of 5
Secure Commit Result: Succeed
Done Configuring - Resetting the modem
The activation of the account is Complete
Waiting for modem to be ready to start IOTA
Beginning IOTA
router#
*Feb  6 23:29:08.459: IOTA Status Message Received. Event: IOTA Start, Result: SUCCESS
*Feb  6 23:29:08.459: Please wait till IOTA END message is received
*Feb  6 23:29:08.459: It can take up to 5 minutes
*Feb  6 23:29:27.951: OTA State = SPL unlock, Result = Success
*Feb  6 23:29:32.319: OTA State = Parameters commited to NVRAM, Result = Success
*Feb  6 23:29:40.999: Over the air provisioning complete; Result:Success
*Feb  6 23:29:41.679: IOTA Status Message Received. Event: IOTA End, Result: SUCCESS

The IOTA start and end must have "success" as the resulting output. If you receive an error message, you can run IOTA independently by using the cellular cdma activate iota command.

Your carrier may require periodic refresh of the data profile. Use the following command to refresh the data profile:

cellular cdma activate iota

Activating with Over-the-Air Service Provisioning

To provision and activate your modem using Over-the-Air Service Provisioning (OTASP), use the following command, beginning in EXEC mode:

cellular 0 cdma activate otasp phone_number


Note You need to obtain the phone number for use with this command from your carrier. The standard OTASP calling number is *22899.


Here is a sample output from this command:

router# cellular 0 cdma activate otasp  *22899
Beginning OTASP activation
OTASP number is *22899
steelers_c881G#
OTA State = SPL unlock, Result = Success
router#
OTA State = PRL downloaded, Result = Success
OTA State = Profile downloaded, Result = Success
OTA State = MDN downloaded, Result = Success
OTA State = Parameters commited to NVRAM, Result = Success
Over the air provisioning complete; Result:Success

Configuring a Cellular Interface

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

SUMMARY STEPS

1. configure terminal

2. interface cellular 0

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 Challenge Handshake Authentication Protocol (CHAP) authentication parameters that you use in this procedure must be the same as the username and password provided by your carrier and configured only under the GSM profile. CDMA does not require a username or password.


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 0
Example:

Router (config)# interface cellular 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 Challenge Handshake Authentication Protocol (CHAP) hostname. This must match the username given by the carrier. Applies to GSM only.

Step 5 

Router(config-if)# ppp chap password 0 <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)# asynchronous mode interactive
Example:

Router (config-if)# asynchronous mode interactive

Returns a line from dedicated asynchronous network mode to interactive mode, 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 and IPCP address negotiation.


Note When the cellular interface requires a static IP address, the address may be configured as ip address negotiated. Through IP Control Protocol (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>, the actual static IP address must be configured 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 dial-on-demand routing (DDR) for the cellular interface, follow these steps.

SUMMARY STEPS

1. configure terminal

2. interface cellular 0

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 3

11. script dialer <regexp>

12. exit

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

14. interface cellular 0

15. dialer string <string>

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

Router# configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 2 

Router(config)# interface cellular 0

Example:

Router (config)# interface cellular 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 for 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 a 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 3

Example:

Router (config-line)# line 3

Specifies the line configuration mode. It is always 3.

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 

For GSM:

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


For CDMA:

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

Example:

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

This line is for GSM

This line is for CDMA

Defines the Attention Dial Tone (ATDT) commands when the dialer is initiated.

Step 14 

Router(config)# interface cellular 0

Example:

Router (config)# interface cellular 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).

Examples for Configuring Cellular Wireless Interfaces

This section provides the following configuration examples:

Basic Cellular Interface Configuration

Tunnel over Cellular Interface Configuration

Basic Cellular Interface Configuration

The following example shows how to configure a gsm cellular interface to be used as a primary. It is configured as the default route.

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

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