3-9
Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide (H.323)
OL-4008-01
Chapter3 Configuring the Cisco ATA for H .323
Configuring the Cisco ATA Using a TFTP Server
Step 4 Use the example_uprofile.txt file again, this time as a template for creating a text file of values that are
specific to one CiscoATA. For example, you might configure the following parameters:
UserID:8530709
GkorProxy:192.168.1.1
Save this file of CiscoATA-specific parameters as:
ata<macaddress>.txt
where macaddress is the non-dotted hexadecimal version of the MAC address of the Cisco ATA you are
configuring. This non-dotted hexadecimal MAC address is labeled on the bottom of most Cisco ATAs
next to the word “MAC.” The file name must be exactly 15 characters long. (However, if this filename
is supplied by the DHCP server, the name can be as long as 31 characters and can be any name with
printable ASCII characters.)
If necessary, you can obtain the non-dotted hexadecimal MAC address by using the atapna me.exe
command. For information on using the atapname.exe command, see the “Using atapname.exe Tool to
Obtain MAC Address” section on page 3-10. That section includes an example of a dotted decimal MAC
address and its corresponding non-dotted hexadecimal address.
Note The ata<macaddress>.txt file should contain only those parameters whose values are different
from the file of common parameters. Parameter values in the ata<macaddress> configuration file
will overwrite any manually configured values (values configured through the web or voice
configuration menu) when the Cisco ATA powers up or refreshes.
Step 5 On the top line of the ata<macaddress>.txt file, add an include command to include the name of the
common-parameters file, and save the file.
include:common.txt
UserID:8530709
GkorProxy:192.168.1.1
Step 6 Run the cfgfmt.exe tool, which is bundled with the CiscoATA software, on the ata<macaddress>.txt text
file to generate the binary configuration file. If you wish to encrypt the binary file for security reasons,
see the “Using the EncryptKey Parameter and cfgfmt Tool” section on page 3-11.
The syntax of the cfgfmt program follows:
Syntax
cfgfmt [-eRC4Password] -tpTagFile input-text-file outpu t-binary-file
-eRC4Password is the optional RC 4key to encrypt the binary TFTP file provided by the
cfgfmt program (up to eight alphanumeric characters).
pTagFile is the command used to specify the ptag.dat file that is provided with the
Cisco ATA software version you are running. Search on the keyword ptag to find the complete
name of the ptag file that is included with the Cisco ATA software for the signaling protocol
you are using. Be sure this file resides in the same directory from which you are running the
cfgfmt program. The ptag.dat file is used by cfgfmt.exe to format a text input representation of
the parameter/value pairs to its output binary representation.input-text-file is the input
text file representation of the Cisco ATA configuration file.
input-text-file is the input text file representation of the Cisco ATA configuration file.
output-binary-file is the final output binary file that CiscoATA uses as the TFTP
configuration file.