Cisco at a Basic Config

12
Cisco - Cisco ATA 186 Basic Configuration

description

ATA Basic config

Transcript of Cisco at a Basic Config

Page 1: Cisco at a Basic Config

Cisco − Cisco ATA 186 Basic Configuration

Page 2: Cisco at a Basic Config

Table of ContentsCisco ATA 186 Basic Configuration.................................................................................................................1

Introduction..............................................................................................................................................1Configuring the ATA 186........................................................................................................................1

Configuration Prerequisites........................................................................................................1Components Used in this Configuration.....................................................................................1Initial Setup for IP Connectivity.................................................................................................2Configuring the ATA 186 through the IVR................................................................................2Configuring the ATA 186 through a Web Server.......................................................................3Configuring the ATA 186 through a TFTP Server.....................................................................3Password Protection....................................................................................................................6Setting up the ATA 186 for Collecting Debugs.........................................................................6

Upgrading the Software...........................................................................................................................7Upgrading the Software using the Executable File....................................................................7Troubleshooting Upgrade Issues................................................................................................9

Tools Information..................................................................................................................................10Related Information...............................................................................................................................10

Related Topics..........................................................................................................................10Additional Documentation........................................................................................................10

Cisco − Cisco ATA 186 Basic Configuration

i

Page 3: Cisco at a Basic Config

Cisco ATA 186 Basic Configuration

IntroductionConfiguring the ATA 186

Configuration PrerequisitesComponents Used in this ConfigurationInitial Setup for IP ConnectivityConfiguring the ATA 186 through the IVRConfiguring the ATA 186 through a Web ServerConfiguring the ATA 186 through a TFTP ServerPassword ProtectionSetting up the ATA 186 for Collecting DebugsUpgrading the Software

Upgrading the Software using the Executable FileTroubleshooting Upgrade IssuesTools InformationRelated Information

Related TopicsAdditional Documentation

Introduction

The Cisco ATA 186 Analog Telephone Adaptor is a handset−to−Ethernet adaptor that interfaces regularanalog phones with IP−based telephony networks. The ATA 186 has two voice ports that can only supportlegacy analog touchtone telephones. Unlike the regular FXS ports, these cannot be interfaced with a PBX asthe ATA 186 cannot send out digits on these ports. With this configuration, both voice ports can be used withdifferent e164 addresses on each.

This document guides you through the initial setup of the ATA 186. For configuration information regardingother protocols, refer to the Related Topics section below.

Configuring the ATA 186

Configuration Prerequisites

This configuration requires the ATA 186 to be at version 2.0 and above, using the H.323 feature set.

Components Used in this Configuration

This configuration was developed and tested using ATA 186 with version 2.12.

The information presented in this document was created from devices in a specific lab environment. All of thedevices used in this document started with a cleared (default) configuration. If you are working in a livenetwork, ensure that you understand the potential impact of any command before using it.

Cisco − Cisco ATA 186 Basic Configuration

Page 4: Cisco at a Basic Config

Initial Setup for IP Connectivity

The Dynamic Host Configuration Protocol (DHCP) server is enabled by default in version 2.x. When theDHCP field is set to 1, the ATA 186 contacts the DHCP server to get the IP address, mask, and default route.You can disable DHCP through the IVR (Interactive Voice Response). For configuring static IP, you mustfirst disable the DHCP option, and manually configure the entries through the IVR. The following table liststhe IVR options for basic connectivity.

Function for Basic Connectivity IVR Menu Number

DHCP20 (0 =Disable, 1 =Enable)

IP Address 1

Address Mask 10

Static Route IP Address (NetworkRoute)

2

Configuring the ATA 186 through the IVR

To configure the ATA 186 through the IVR, perform the following steps.

Invoke the IVR by going offhook on the analog touchtone phone connected to port 0.1.

Note: The IVR cannot be invoked through voice port 1.

Press the button on the top of the ATA 186.2.

The menu numbers relating to the different configurations are available in the Voice Menu Optionsdocument.

After you enter the menu number, you will be prompted to enter the value. Key in the value using thetouchtone pad.

3.

Press the * key to indicate a delimiter (dot). For example, 192*168*3*1.

Press the # key after you have entered the value. If you do not press #, the system will automaticallytimeout after 10 seconds. You will hear a recording of the value you entered, followed by a request topress one of the following keys:

4.

1—Change your entered value

2—Review your entered value

3—Save your entered value

4—Review the current saved value

After completing the configuration through the IVR, press the # key to exit.5.

Cisco − Cisco ATA 186 Basic Configuration

Page 5: Cisco at a Basic Config

Configuring the ATA 186 through a Web Server

Once you have IP connectivity from the ATA 186 to any PC, you can perform the remaining configurationsthrough the web server.

Note: If you are unable to access the web server, make sure you can ping the ATA 186 from the PC. If youare unable to ping the ATA 186, confirm IP connectivity (configured IP address, subnet mask, and networkroute). To confirm that you are using the correct IP address, press 80# on the IVR. For IVR commands, tocheck the other parameters, refer to the Voice Menu Options document. Make sure the configured IP addressis the one you are using for web access.

Enable the web server on the ATA 186 through the IVR by selecting menu number 80#.1.

From the PC, open a web browser and enter the following URL: http:/</ipaddress_of_ata>/dev.2.

Note: For versions older than v1.34, the web server functionality has to be enabled (with 80# throughthe IVR) every time a call is placed through the ATA 186.

The following window appears.

Select the values for the items that you want to configure.3.

Click Apply to save your changes.4.

The ATA 186 takes 10 seconds to reconfigure itself. You will need to reload the page before you canmake any further changes.

Close the web browser.5.

Configuring the ATA 186 through a TFTP Server

This method of provisioning makes it easier to scale large deployments of ATA 186 adaptors: When the ATA186 is powered up it contacts the Trivial File Transfer Protocol (TFTP) server for a specific profile to

Cisco − Cisco ATA 186 Basic Configuration

Page 6: Cisco at a Basic Config

download. The ATA 186 has internal local nonvolatile cache of the profile so that if the TFTP server is notreachable after three attempts, it continues its normal operation using its own locally−cached profile from theprevious configuration. A TFTP server needs to host a profile (configuration) for each ATA 186.

Creating the Profile

When you create a profile you will modify the example text file (example_uprofile.txt). You need to createthe binary version of the example text file using the cfgfmt.exe application. These files are included in thelatest ATA 186 software release zip file.

To obtain these files from the Cisco Software Center, perform the following steps.

Note: You must be a registered user to download software.

Open a web browser and enter the following URL: http://www.cisco.com/tac.1.

Go to Select & Download Software > Software Center > Voice Software > ATA 186 AnalogTelephone Adaptor.

2.

To create the profile, perform the following steps.

Modify the example text file (example_uprofile.txt) with the required configuration changes. Theconfiguration changes depend on the network in which the ATA 186 will be used. Refer to thedocuments listed in the Related Topics section for more information.

1.

The example_uprofile.txt file is included in the latest ATA 186 software release zip file.

Note: The ATA 186 cannot take the configuration directly from the text file. You need to convert thetext file into binary format. Use the cfgfmt.exe application to create the binary version of the file.

Name the binary profile file. The binary profile file must be named as ataxxxxxxxxxxxx, where eachxx is the two−digit lowercase hex representation of each integer in the MAC address of the ATA 186.For example, if the MAC address of the ATA 186 is 1.2.3.4.5.6, the file name will beata010203040506.

2.

Note: The file can be optionally encrypted for security reasons using option e of the cfgfmt.exeapplication. When using encryption, the ATA 186 must be configured with the right key to be able todecrypt the file. The field to be configured is EncryptKey. A value of 0 in this field indicates that noencryption was made on the incoming profile from the TFTP server. To specify the key used toencrypt the profile from the TFTP server, type an alphanumeric string (8 characters maximum) in thisfield.

Store the configuration file on the TFTP server.3.

The following example shows the use of the cfgfmt.exe application to create the binary version of the text file.

D:\Documents\My Documents\voice\ata>cfgfmt.exeusage: cfgfmt [−eRc4passwd] [−tPtagFile] input output −eRc4Passwd −− use Rc4Passwd to encrypt or decrypt input −tPtagFile −− specify an alternate PtagFile pathD:\Documents\My Documents\voice\ata>cfgfmt.exe example.txt ata010203040506

Cisco − Cisco ATA 186 Basic Configuration

Page 7: Cisco at a Basic Config

Configuring the ATA 186 to Download its Profile from the TFTP Server

The DHCP server can be configured to provide the TFTP server's URL and file name to the ATA 186. In theabsence of a DHCP server providing such information, the TFTP server's URL must be manually provisionedeither through a web server or IVR. The following table lists the fields that need to be provisioned.

Parameter DescriptionIVR Access

CodeDefault

CfgInterval Specifies the number ofseconds (interval) betweeneach configuration update.For example, when usingTFTP for provisioning, theCisco ATA 186 contacts theTFTP server each time theinterval expires to get itsconfiguration file the nexttime the box is idle.

You can set the CfgIntervalto a random value toachieve random contactintervals from an individualCisco ATA 186 to theTFTP server.

80002 3600(1 hour)

EncryptKey Determines if encryption isto be made on the incomingprofile from the TFTPserver.

An encryption key can beconfigured which must bethe same as the one used forthe encryption of theconfiguration file by thecfgfmt.exe application. Thisenables the ATA 186 todecrypt the file. Theencryption algorithm usedis rc4.

320 0

Tftp URL The IP address or URL ofthe TFTP server to use.

This is needed if the DHCPdoes not provide the TFTPaddress. You can optionallyinclude the path prefix tothe TFTP file to download.For example, if the TFTPserver IP address is

905 0

Cisco − Cisco ATA 186 Basic Configuration

Page 8: Cisco at a Basic Config

192.168.2.170 orwww.cisco.com, and thepath to download the TFTPfile is in /ata186, then youcan specify the URL as192.168.2.170/ata186 orwww.cisco.com/ata186.

Note: From the IVR, youcan only enter the IPaddress; from the webserver, you can enter theactual URL.

Note: You can also update the ATA 186 profile from the TFTP server before the CfgInterval expires. To dothis, open your web browser and type http://<ipaddress>/refresh (where ipaddress is the IP address of theCisco ATA 186 you want to update). The ATA 186 responds with an OK page if idle; otherwise, it respondswith a later page.

Password Protection

To ensure that the ATA 186 configuration is protected, you can set the password.

Setting the Password in Web Configuration Mode

Set the value of the UIPassword field to 1, then click the Submit button at the bottom of the page.1.

The password challenge page appears and prompts you for the password. At this point, you are alsoable to change the alphanumeric password.

2.

You will now be prompted for a password when you try to access the ATA 186.

Setting the Password in IVR Mode

At the p−a−s−s−w−d prompt, type the password followed by the # key.1.

You will now be prompted for a password when you try to access the ATA 186.

Clearing the Password

To clear the password, change the Password field to 0.

Forgot Your Password?

The only way to recover a forgotten password is to reset the entire configuration of the ATA 186.

Setting up the ATA 186 for Collecting Debugs

To collect ATA 186 debug output, you must configure the ATA 186 to send debug information to the PC's9001 port.

In the NPrintf field, enter the IP address and port number of the PC to which debug messages are to be sent,

Cisco − Cisco ATA 186 Basic Configuration

Page 9: Cisco at a Basic Config

using the following syntax: IP_Address.Port Number. For example, 192.168.2.159.9001.

Note: If this field is set to 0 or 0.0.0.0.0, the Cisco ATA 186 does not send any debug messages.

On the PC, execute prserv.exe from the DOS prompt, and debugs will begin to show up. This executable fileis included in the latest ATA 186 software release zip file. To obtain these files from the Cisco SoftwareCenter, perform the following steps.

Note: You must be a registered user to download software.

Open a web browser and enter the following URL: http://www.cisco.com/tac.1.

Go to Select & Download Software > Software Center > Voice Software > ATA 186 AnalogTelephone Adaptor.

2.

Upgrading the Software

You can upgrade the software image of your Cisco ATA 186 remotely. Two methods are available forupgrading the software:

Executable file•

TFTP server•

Note: This document covers only the Executable file procedure.

Upgrading the Software using the Executable File

To upgrade the software using the executable file, the following are required:

Network connection between the PC and the ATA 186•

A PC running Windows 9X, Windows ME, Windows NT, or Windows 2000•

Note: For Windows XP users, there have been some cases noted where executable file method upgrades failwhen using the ata186us.exe upgrade utility on a PC running Windows XP. Refer to Upgrading ATAs:Problem with The Executable File Upgrade Method with Windows XP for more information on this problem.

Upgrading from ATA v2.xx

To upgrade from ATA version 2.xx, perform the following steps.

Save the executable upgrade program (ata186us.exe) and the software image (for example,ata186−v2−14−020315a.zup) in a directory on your PC.

1.

These files are included in the latest ATA 186 software release zip file. The software image has a .zupextension.

At the DOS prompt of the directory where the files are saved, type D:\ata_dir\ata186us<software_image_filename> −d1 −any2.

2.

Cisco − Cisco ATA 186 Basic Configuration

Page 10: Cisco at a Basic Config

If you receive the upgrade not available error message from the IVR, use type [−any] switch withthe ata186us.

You will be prompted with instructions on how to proceed.

Access the IVR of the ATA 186 and enter the following commands:3.

100#<ip_address_of_PC>*8000#(to upgrade the ATA 186 software version)

101#<ip_address_of_PC>*8000#(to upgrade the ATA 186 language file)

Upgrading from v1.xx to 2.xx

To upgrade from ATA version 1.xx to 2.xx, perform the following steps.

Note: Users of ATA 186 v1.34 software (and earlier versions) cannot directly upgrade to v2.10 or highersoftware versions. Instead, you must first upgrade to v2.0, then to v2.10 or higher. For user convenience, atransition software image (transition.zup) is included in the latest ATA 186 software release zip file. Users ofv1.34 and earlier versions must upgrade to the transition image first.

Save the executable upgrade program (ata186us.exe) and the transition image in a directory on yourPC.

1.

At the DOS prompt of the directory where the files are saved, type D:\ata_dir\ata186ustransition.zup −d1 −any2.

2.

Upgrade to the current 2.xx image (see Upgrading from ATA v2.xx).3.

If the IVR does not function properly, perform a language upgrade (with the *.kbx image, which isincluded in the ATA software zip file). Use the ata186us.exe to perform the language upgrade.

Downgrading from 2.xx to 1.xx

To downgrade from 2.xx to 1.xx, perform the following steps.

At the DOS prompt, execute the upgrade program (ata186us.exe) with the transition−down image file.1.

This image file is located in the 2v1x.zip (263 KB) file.

Upgrade to the desired or required image.2.

Command Reference for the ata186us.exe Upgrade Program

The following is a reference of the available options when using the ata186us.exe upgrade software.

usage: ata186us {−h[host_ip]} {−p[port]} {−quiet} <image file {language file} ...>

−h[host_ip] If the host has more than one IP address, use thisoption to set a specific host IP address. The defaultis to use the first IP address obtained by

Cisco − Cisco ATA 186 Basic Configuration

Page 11: Cisco at a Basic Config

gethostbyname.

−p[port]

Set the server port to a specific port. The default is8000; use a different port only if you are setting upan IP−directed upgrade server other than thedefault.

−quietSet to quiet mode. This sends all output to a logfile named port.log. This option is useful when theupgrade server is run as a daemon.

−anyAllow upgrade even if the software version isolder than, or the same as, that of the client ATA186.

−any2Allow upgrade regardless of software type andversion.

−d1,−d2,−d3Set the level of detailed description for debugging.

The following example is an output from an upgrade.

D:\My Documents\voice\ata>ata186us.exe −d1 −any2 ata186−v2−13−0110a.zupUsing Host: SSHAFIQU−W2K with IP : 172.16.104.118 as upgrade serverThis machine IP: 172.16.104.118Upgrade Server Port: 8000Data stream 0 port: 8500image found: code −− ata186.itsp2.v2.13Using dialpad of your telephone (attached to your ATA box),press ATA button to go to main menu, and enter:100#172*16*104*118*8000#(to upgrade code)NOTE:Pressing 123# will announce your code's version number.You can later verify that you have upgraded your ATA box.−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−This program runs continuously; Press <ctrl>−c to abort.Upgrade server ready...Tue Feb 19 13:52:34 2002 172.16.104.118 > −> <udp: 172.16.104.118 8500 123>Begin uploading code to 172.16.104.118 (Tue Feb 19 13:52:34 2002) ...Done uploading code to 172.16.104.118 (Tue Feb 19 13:52:36 2002)

Troubleshooting Upgrade Issues

If you are not able to upgrade, verify that you are able to ping the ATA 186 from the PC in which theupgrade server is running.

Use the −any2 option if you see the <your_ip_address> −> <udp: <your_ip_address> 8500

123> message on the PC consoleand hear the upgrade failed message on the IVR. This allows theATA 186 to move from any image to any other image without verifying the version.

You cannot upgrade from v1.x to any v2.x image without going to the 2.0 transition image. Similarly,you cannot downgrade from 2.x to 1.x without the transition image.

Do not power cycle the ATA 186 during an upgrade procedure. The unit may need to be replaced due

to an image corruption problem.

Cisco − Cisco ATA 186 Basic Configuration

Page 12: Cisco at a Basic Config

Tools Information

For additional resources, refer to Cisco TAC Tools for Voice, Telephony and Messaging Technologies.

Related Information

Related Topics

Configuring an ATA 186 with a Gatekeeper• Configuring and Troubleshooting an ATA 186 with Cisco IOS Gateways• Cisco ATA 186 and Cisco ATA 188 Installation and Configuration Guide• Voice Menu Options•

Additional Documentation

Voice, Telephony and Messaging Technical Tips• Voice, Telephony and Messaging Technologies• Voice, Telephony and Messaging Products• Cisco Solutions Voice, Telephony and Messaging• Voice, Telephony and Messaging Top Issues• Field Notices• Voice, Telephony and Messaging TAC eLearning Solutions•

All contents are Copyright © 1992−−2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.

Updated: Sep 26, 2002 Document ID: 19288

Cisco − Cisco ATA 186 Basic Configuration