Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

TFTP question for large site with multiple clusters

A question regarding the TFTP for several clusters. Following is quoted from srnd.

Question is: tftp 1 only defines the local directory for tftp2 as alternative. How this can be resolved? I thought it should add

\\TFTP2_IP\Program Files\Cisco\TFTPpath\TFTP2. Then it will search that shared folder for the files that phones register on cluster 2. Unless the tftp2 will auto copy its folder to tftp1? Thanks

Following is quoted:


Alternate File Location 1: c:\Program Files\Cisco\TFTPpath\TFTP2

Example 3-4 Alternate TFTP FIle Locations

A large campus system is deployed using three clusters, and each cluster contains a TFTP server. TFTP1, the TFTP server for Cluster1, is configured as the centralized TFTP server for the campus. The other clusters and TFTP servers are named in sequence as TFTP2 for Cluster2 and TFTP3 for Cluster3. In all subnets, the DHCP scope provides TFTP1's IP address as Option 150.

First, TFTP2 and TFTP3 are configured to write their configuration files to TFTP1's drive, each in a different subdirectory, as follows:

?TFTP2's alternate file location is set to: \\TFTP1_IP\Program Files\Cisco\TFTPpath\TFTP2

?TFTP3's alternate file location is set to: \\TFTP1_IP\Program Files\Cisco\TFTPpath\TFTP3

Second, TFTP1 is configured to search in the alternate file locations as follows:

?Alternate File Location 1: c:\Program Files\Cisco\TFTPpath\TFTP2

?Alternate File Location 2: c:\Program Files\Cisco\TFTPpath\TFTP3


Re: TFTP question for large site with multiple clusters

TFTP1 will look for the configuration file on it owns location and if it is not there, it will search on TFTP2, then TFTP3 and so on, if you have a different cluster on n the Alternate 2, CCM TFTP1 will search on it's own TFTP, if nothing there it will look for the configuration file on TFTP2 and then it will send the configuration file located at TFTP2 to the phone and the phone will register with CCM2 (TFTP2) as per the SEP.cnf.xml file settings, if no configuration file is located for that phone on the alternate TFTPs, the phone will auto-register with CCM1 (if auto-registration is enabled). Noticed that this feature was included on CCM 4.2.

Please let me know if you have more questions.

Community Member

Re: TFTP question for large site with multiple clusters

Thanks. But the problem is you only define the following in the tftp 1 based on the Cisco doc:

Alternate File Location 1: c:\Program Files\Cisco\TFTPpath\TFTP2

How does tftp1 know where the tftp2 is? It only has the local path. It should define the tftp2 address somewhere. I know in CCM 5.x it has host proxy feature where you can define the tftp2 address


Re: TFTP question for large site with multiple clusters


This "c:\Program Files\Cisco\TFTPpath\TFTP2" location is the local server, not another server.

If you want to add another server CCM to the TFTP, you just need to specify the hostname or the IP address.

For this purpose you will need to have a MASTER TFTP and this one should be the one specified on DHCP option 150.

Then, the MASTER TFTP will have all the other TFTP addresses on the Alternate TFTP box, something like:

HOST:// -or- HOST://cluster1

The MASTER TFTP server is not going to access the path on that server, it will access the TFTP just like any other TFTP client.

Check this link:

Hope this helps!

Community Member

Re: TFTP question for large site with multiple clusters

Thanks. Actually I am more interesting in version 4.0 or bellow, which are different from 4.2 or 5.x.

Alternate TFTP Paths

You can specify alternate TFTP paths if you have multiple clusters. You only want to configure one server for many DHCP scopes or want to have one DHCP scope. The TFTP server stores files for the cluster that contains the TFTP server in the primary path and stores the files for the other clusters in alternate paths. You can specify up to 10 alternate paths by entering a value for the Alternate File Location fields of the service parameter. For more information on service parameters, refer to the "Service Parameters Configuration" in the Cisco CallManager Administration Guide.

The primary TFTP server should have the alternate path values set for external Cisco CallManager clusters. The primary TFTP server serves configuration files from the alternate path for phones and devices in the external clusters. You ensure that the TFTP servers on the external clusters point to this shared file path by setting it as their primary path (that is, by setting it as the File Location service parameter). Note that TFTP servers in the external clusters build and write the configuration files on the shared "alternate path" location, so the path should be a shared accessible directory across all clusters. The main TFTP server can have caching on, but other TFTP servers must have it off.

CreatePlease to create content