cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11666
Views
20
Helpful
5
Replies

how to generate XMLDefault.cnf.xml on tftp

sarahr202
Level 5
Level 5

Hi everybody.

No ip phone is connected.  I am trying to see how XMLDefault.cnf  file can be created and transfered to tftp server

Tftp server------sw--------cme router

tftp--201.201.201.3

cme 201.201.201.1

The Tftp server should have XMLDefault.cnf.xml on its root directory. The question is how do we do that?

I configured the CME router as follows:

Router#show running-config

Building configuration...

Current configuration : 1808 bytes

!

version 12.4

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

!

resource policy

!

no network-clock-participate slot 1

no network-clock-participate wic 0

ip cef

!

!

no ip dhcp use vrf connected

ip dhcp excluded-address 200.200.200.1 200.200.200.10

ip dhcp excluded-address 201.201.201.1 201.201.201.10

!

!

ip dhcp pool data

   network 200.200.200.0 255.255.255.0

   default-router 200.200.200.1

!

ip dhcp pool ITS

   option 150 ip 201.201.201.3

   default-router 201.201.201.1

interface FastEthernet0/0

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0.1

encapsulation dot1Q 1 native

ip address 200.200.200.1 255.255.255.0

!

interface FastEthernet0/0.2

encapsulation dot1Q 2

ip address 201.201.201.1 255.255.255.0

!

!

ip http server

ip http path flash:

!

!

!

control-plane

!

!

!

voice-port 1/0/0

!

voice-port 1/0/1

!

!

!

!

!

!

!

gatekeeper

shutdown

!

!

telephony-service

max-ephones 2

max-dn 2

ip source-address 201.201.201.1 port 2000

auto assign 1 to 2

voicemail 1500

max-conferences 4 gain -6

web admin system name admin password cisco

dn-webedit

time-webedit

transfer-system full-consult

create cnf-files version-stamp Jan 01 2002 00:00:00

!

!

ephone-dn  1

number 2000

label zeeshan label

name zeeshan

call-forward busy 1500

call-forward noan 1500 timeout 18

!

!

ephone-dn  2

number 2001

call-forward busy 1500

call-forward noan 1500 timeout 18

!

!

ephone  1

no multicast-moh

!

!

!

ephone  2

no multicast-moh

!

!

!

line con 0

line aux 0

line vty 0 4

login

!

!

end

=========================================

These are my assumptions:

When I configured the CME as shown below, a XMLDefault.cnf file will be created and stored on tftp server.

I appreciate your help.

thanks and have a great weekend

3 Accepted Solutions

Accepted Solutions

CME will generate the TFTP configuration files locally in flash and serve these to the phones. Why do you want to have the TFTP server on another device? To do that you need to copy the files that CME creates to the same path on the external server and you have to do that each time you do any modification in CME. If you ask me that will very quickly become a admin nightmare. Better to let the CME be the TFTP server.

My 2 cent :)

Please remember to rate all useful posts.

Sent from Cisco Technical Support iPhone App



Response Signature


View solution in original post

Sarah,

I am 100% with Roger (+5 R).
Run the TFTP server on the CME.

Can I also point out that your DHCP pool for
ITS on VLAN 2 needs a much needed line in
the config

!
ip dhcp pool ITS
network 201.201.201.1 255.255.255.0
option 150 ip 201.201.201.3
default-router 201.201.201.1
!

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

View solution in original post

Yes that should work.

Btw, thank you for the nice rating :)

Please remember to rate all useful posts.

Sent from Cisco Technical Support iPhone App



Response Signature


View solution in original post

5 Replies 5

CME will generate the TFTP configuration files locally in flash and serve these to the phones. Why do you want to have the TFTP server on another device? To do that you need to copy the files that CME creates to the same path on the external server and you have to do that each time you do any modification in CME. If you ask me that will very quickly become a admin nightmare. Better to let the CME be the TFTP server.

My 2 cent :)

Please remember to rate all useful posts.

Sent from Cisco Technical Support iPhone App



Response Signature


Sarah,

I am 100% with Roger (+5 R).
Run the TFTP server on the CME.

Can I also point out that your DHCP pool for
ITS on VLAN 2 needs a much needed line in
the config

!
ip dhcp pool ITS
network 201.201.201.1 255.255.255.0
option 150 ip 201.201.201.3
default-router 201.201.201.1
!

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Thank you Alex for the nice rating, right back at you :)

Sent from Cisco Technical Support iPhone App



Response Signature


Thanks Roger and Alex

Just out of curiosity, If I want to have separate tftp server to provide these firm files.I do following:

1) generate cnf file first on flash.

2) then transfer these files ( cnf file and firmware files) to tftp server.

Am i correct?

thanks and have a great weekend.

Yes that should work.

Btw, thank you for the nice rating :)

Please remember to rate all useful posts.

Sent from Cisco Technical Support iPhone App



Response Signature