Cisco Systems ATA 188 manual Using atapname.exe Tool to Obtain MAC Address, Syntax, Example, 3-13

Models: ATA 188 ATA 186

1 166
Download 166 pages 49.11 Kb
Page 45
Image 45
cfgfmt -tmgcp_ptag.dat ata0a141e28323c.txt ata0a141e28323c

Chapter 3 Configuring the Cisco ATA for SCCP

Configuring the Cisco ATA Using a TFTP Server

Step 3 Run the cfgfmt.exe tool, which is bundled with the Cisco ATA 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-14.

The syntax of the cfgfmt program follows:

Syntax

cfgfmt [-eRC4Password] -tpTagFile input-text-file output-binary-file

-eRC4Passwordis 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-fileis the input text file representation of the Cisco ATA configuration file.

output-binary-fileis the final output binary file that Cisco ATA uses as the TFTP configuration file.

Example

cfgfmt -tmgcp_ptag.dat ata0a141e28323c.txt ata0a141e28323c

This example is based on a Cisco ATA MAC address of 10.20.30.40.50.60, which converts to the two-digit, lower-case hexadecimal representation of each integer as 0a141e28323c.

Step 4 Store the binary configuration file in the TFTP server root directory.

Step 5 Reset the Cisco ATA using the Cisco CallManager. (See the “Resetting the Cisco ATA Using Cisco CallManager” section on page 3-23.)

After being reset, the Cisco ATA will download this ata<macaddress> binary configuration file as its unique configuration file. This file takes precedence over the atadefault.cfg file. If the Cisco ATA finds an ata<macaddress> file on the TFTP server, the Cisco ATA does not look for the atadefault.cfg file.

Using atapname.exe Tool to Obtain MAC Address

This bundled tool is useful for converting the dotted decimal version of the Cisco ATA MAC address (available on the Cisco ATA Web configuration page or from the voice configuration menu code 24#) to its default Cisco ATA profile name. This name has the following format:

ataxxxxxxxxxxxx

where each xx is the two-digit, lower-case hexadecimal representation of each integer in the dotted, decimal version of the Cisco ATA MAC address. This is the name you use for the unique Cisco ATA binary configuration file.

Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide (SCCP)

 

OL-3141-01

3-13

 

 

 

Page 45
Image 45
Cisco Systems ATA 188, ATA 186 manual Using atapname.exe Tool to Obtain MAC Address, Syntax, Example, ataxxxxxxxxxxxx, 3-13