Cisco Router 860, 880 Series User Manual
Have a look at the manual Cisco Router 860, 880 Series User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 53 Cisco manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
5-19 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface 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 NoteYou 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 *22899steelers_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 = SuccessOTA State = Parameters commited to NVRAM, Result = Success Over the air provisioning complete; Result:Success Data Call Setup To set up a data call, use the following procedures: Configuring a Cellular Interface, page 5-19 Configuring DDR, page 5-21 Configuring DDR Backup, page 5-23 Configuring a Cellular Interface To configure the cellular interface, enter the following commands, beginning in cellular interface mode. SUMMARY STEPS 1.configure terminal 2.interface cellular 0 3.encapsulation ppp 4.ppp chap hostname 5.ppp chap password 0 6.asynchronous mode interactive 7.ip address negotiated NoteThe 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.
5-20 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface DETAILED STEPS NoteWhen the cellular interface requires a ststic 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 , the actual static IP address must be configurted under the cellular interface, in place of ip address negotiated. For a sample cellular interface configuration, see the “Basic Cellular Interface Configuration” section on page 5-26. Command or ActionPurpose Step 1Router# configure terminal Example: Router# configure terminal Enters global configuration mode from the terminal. Step 2Router(config)# interface cellular 0 Example: Router (config)# interface cellular 0 Specifies the cellular interface. Step 3Router(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 4Router(config-if)# ppp chap hostname Example: Router (config-if)# ppp chap hostname [email protected] Defines an interface-specific Challenge Handshake Authentication Protocol (CHAP) hostname. This must match the username given by the carrier. Applies to GSM only. Step 5Router(config-if)# ppp chap password 0 Example: Router (config-if)# ppp chap password 0 cisco Defines an interface-specific CHAP password. This must match the password given by the carrier. Applies to GSM only. Step 6Router(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 7Router(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.
5-21 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface Configuring DDR To configure 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 5.dialer string 6.dialer group 7.exit 8.dialer-list protocol {permit | deny | list | access-group}> 9.ip access-list permit 10.line 3 11.script dialer 12.exit 13.chat-script ”” “ATDT*99*#” TIMEOUT CONNECT 14.interface cellular 0 15.dialer string DETAILED STEPS Command or ActionPurpose Step 1Router# configure terminal Example: Router# configure terminal Enters global configuration mode. Step 2Router(config)# interface cellular 0 Example: Router (config)# interface cellular 0 Specifies the cellular interface. Step 3Router(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 4Router(config-if)# dialer idle-timeout Example: Router (config-if)# dialer idle-timeout 30 Specifies the duration of idle time, in seconds, after which a line will be disconnected.
5-22 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface Step 5Router(config-if)# dialer string Example: Router (config-if)# dialer string gsm Specifies the number or string to dial. Use the name of the chat script here. Step 6Router(config-if)# dialer-group Example: Router (config-if)# dialer-group 1 Specifies the number of the dialer access group to which a specific interface belongs. Step 7Router(config-if)# exit Example: Router (config-if)# exit Enters the global configuration mode. Step 8Router(config)# dialer-list protocol {permit | deny | list | 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 9Router(config)# ip access-list permit Example: Router (config)# ip access list 1 permit any Defines traffic of interest. Step 10Router(config)# line 3 Example: Router (config-line)# line 3 Specifies the line configuration mode. It is always 3. Step 11Router(config-line)script dialer Example: Router (config-line)# script-dialer gsm Specifies a default modem chat script. Step 12Router(config-line)exit Example: Router (config-line)# exit Exits line configuration mode. Command or Action Purpose
5-23 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface Configuring DDR Backup The backup interface stays in standby mode until the primary interface line protocol is detected as down: the backup interface is then brought up. To monitor the primary connection and initiate the backup connection when needed, the router can use one of the following methods: 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. When the primary interaface goes down, the floating static route is used. Dialer Watch—Dialer watch is a backup feature that integrates dial backup with routing capabilities. 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 0 3.backup delay enable-delay disable-delay Step 13For GSM: Router(config)# chat-script ”” “ATDT*99*#” TIMEOUT CONNECT For CDMA:Router(config)# chat-script ATDT*777*# TIMEOUT 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 14Router(config)# interface cellular 0 Example: Router (config)# interface cellular 0 Specifies the cellular interface. Step 15Router(config-if)# dialer string Example: Router (config)# dialer string gsm Specifies the dialer script (defined using the chat script command). Command or Action Purpose
5-24 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface DETAILED STEPS NoteYou 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 protocol {permit | deny | list | access-group} 6.ip access-list permit 7.interface cellular 0 8.dialer string Command or ActionPurpose Step 1Router(config)# interface type number Example: Router(config)# interface ATM0 Specifies the interface to be backed up and begins interface configuration mode. Step 2Router(config-if)# backup interface cellular 0 Example: Router(config-if)# backup interface cellular 0 Specifies the cellular interface as backup. Step 3Router(config-if)# backup delay enable-delay disable-delay Example: Router(config-if)# backup delay enable delay Specifies the 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.
5-25 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface DETAILED STEPS Configuring DDR Backup Using Floating Static Route To configure a floating static default route on the secondary interface, use the following commands, beginning in the global configuration mode. Command or ActionPurpose Step 1Router# configure terminal Example: Router# configure terminal Enters global configuration mode. Step 2Router(config)# interface type number Example: Router (config)# interface ATM0 Specifies the interface. Step 3Router(config-if)# dialer watch-group group-number Example: Router(config-if)# dialer watch-group 2 Enables dialer watch on the backup interface. Step 4Router(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 5Router(config)# dialer-list protocol {permit | deny | list | access-group}> Example: Router(config)# dialer-list 2 protocol ip permit Creates a dialer list for traffic of interest and permits access to an entire protocol. Step 6Router(config)# ip access-list permit Example: Router(config)# access list 2 permit 10.4.0.0 Defines traffic of interest. Do not use the access list permit all command to avoid sending traffic to the IP network. This may result in call termination. Step 7Router(config)# interface cellular 0 Example: Router (config)# interface cellular 0 Specifies the cellular interface. Step 8Router(config-if)# dialer string Example: Router (config)# dialer string cdma Specifies the dialer script (defined using the chat script command).
5-26 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface NoteMake 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 Examples for Configuring Cellular Wireless Interfaces This section provides the following configuration examples: Basic Cellular Interface Configuration, page 5-26 Tunnel over Cellular Interface Configuration, page 5-27 Cellular Wireless Modem as Backup with NAT and IPsec Configuration, page 5-27 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 ip address negotiated encapsulation ppp dialer in-band dialer string gsm dialer-group 1 async mode interactive ppp chap hostname [email protected] ppp chap password 0 cisco Command or ActionPurpose Step 1Router# configure terminal Example: Router# configure terminal Enters global configuration mode from the terminal. Step 2Router(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. A higher administrative distance should be configured for the route through the backup interface, so that the backup interface is used only when the primary interface is down.
5-27 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface ppp ipcp dns request! ip route 0.0.0.0 0.0.0.0 Cellular0! ! access-list 1 permit anydialer-list 1 protocol ip list 1 ! line 3 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 the ip address unnumbered command: interface Tunnel2 ip unnumbered Cellular0 tunnel source Cellular0 tunnel destination 128.107.248.254 interface Cellular0 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 dialer-group 1 async mode interactive no ppp lcp fast-start ppp chap hostname ppp chap password 0 ppp ipcp dns request ! traffic of interest through the tunnel/cellular interface ip route 10.10.0.0 255.255.0.0 Tunnel2 Cellular Wireless Modem as Backup with NAT and IPsec Configuration The following example shows how to configure the 3G wireless modem as backup with NAT and IPsec. NoteThe receive and transmit speeds cannot be configured. The actual throughput depends on the cellular network service. Current configuration : 3433 bytes!
5-28 Cisco 860 and Cisco 880 Series Integrated Services Routers Software Configuration Guide OL-xxxxx-xx Chapter 5 Configuring Backup Data Lines and Remote Management Configuring the Cellular Wireless Interface version 12.4no service pad service timestamps debug datetime msec service timestamps log datetime msecno service password-encryption ! hostname Router! boot-start-marker boot-end-marker! ! no aaa new-model! ! ! ! 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! ! !no ip dhcp use vrf connected 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 ! !ip cef ! no ipv6 cefmultilink bundle-name authenticated chat-script gsm atdt*98*1# TIMEOUT 30 CONNECT !! archive log config hidekeys ! !controller DSL 0 mode atm line-term cpe line-mode 4-wire standard line-rate 4608 !! ! !interface ATM0 no ip address