|
0:00:13
|
Our next task 15.3 is for TFTP
|
|
0:00:18
|
and we’re instructed to configure Branch 2 Router 3 as a TFTP server
|
|
0:00:22
|
to serve up all SIP and Skinny load files
|
|
0:00:25
|
necessary for the locally connected IP phones to upgrade to their proper load.
|
|
0:00:30
|
Now, if you’re using your own phones with either your own rack
|
|
0:00:34
|
or even our INE racks with your own hardware phones, I should say,
|
|
0:00:39
|
not remotely controlling ours and not using cell phones,
|
|
0:00:42
|
but if you’re using a hardware phone through VPN,
|
|
0:00:46
|
use the VPN that we allow in network extension mode to be connected to us
|
|
0:00:49
|
then you may need to specify different files for our configuration.
|
|
0:00:58
|
We’re synchronized to ourselves. We’ll eventually synchronize to the PSTN.
|
|
0:01:03
|
For our configuration, we did show CDP neighbor on
|
|
0:01:07
|
on Branch 2 Switch 2, the switch connected to Branch 2.
|
|
0:01:12
|
Now, we’re gonna show CDP neighbor details for Fast 0/10.
|
|
0:01:19
|
Actually, I need to say details after report number.
|
|
0:01:26
|
And we see that we have a MAC address her for SEP.
|
|
0:01:31
|
The platform is a 7961 IP phone.
|
|
0:01:35
|
Here’s our next phone again as 7961
|
|
0:01:39
|
and our third phone again all three 7961.
|
|
0:01:44
|
So, that’s the load files that we need to use.
|
|
0:01:46
|
So, I'm sure CDP neighbor would be one of the ways.
|
|
0:01:48
|
Looking at them right in front of you in the real lab
|
|
0:01:50
|
would be another way that we could tell exactly what type of phone we have.
|
|
0:01:54
|
Here, we’re finally synchronized with the PSTN.
|
|
0:01:57
|
So, that completed that last task.
|
|
0:02:00
|
Let’s clear that. That's good.
|
|
0:02:05
|
So, what we need to do is look on the flash
|
|
0:02:08
|
and we’re gonna type to include 7961.
|
|
0:02:13
|
And we see that we have a number of files in folders 7941-7961-Skinny folder.
|
|
0:02:22
|
We've got a number of files and the 7941-7961-SIP folder.
|
|
0:02:30
|
We've got a number of files.
|
|
0:02:31
|
So, all the files necessary for each of those.
|
|
0:02:38
|
The way that phones asked for their files.
|
|
0:02:41
|
If we do a debug TFTP event,
|
|
0:02:45
|
and since it’s really not going to help too much just yet because,
|
|
0:02:50
|
1. The phones are already running their proper load
|
|
0:02:52
|
so we’re not gonna actually see them request these files.
|
|
0:02:55
|
Unfortunately, because they’ve already upgraded to the proper load files
|
|
0:03:01
|
but, 2. Because we haven’t actually set up the Skinny or SIP CME servers yet
|
|
0:03:07
|
to tell the phone which load files to actually request even the default.
|
|
0:03:14
|
So, we’re not gonna actually see anything if we do a debug TFTP events just yet.
|
|
0:03:22
|
We’ll see a phone trying to connect and get,
|
|
0:03:24
|
we could go ahead and see if a phone trying to.
|
|
0:03:26
|
Let’s just do this debug TFTP events.
|
|
0:03:28
|
We will see the phone trying to connect and get
|
|
0:03:30
|
information about this SIP and Skinny server.
|
|
0:03:34
|
So, trying to download their SEP.
|
|
0:03:37
|
First, we'll download their CTL MAC if it’s there.
|
|
0:03:39
|
Then we’ll try to download SEP MAC address file if it’s present.
|
|
0:03:44
|
Then, depending on it if it was just rebooted or not
|
|
0:03:49
|
May go through zip MAC address .cnf
|
|
0:03:55
|
but eventually it will get to xml default.cnf.xml.
|
|
0:04:02
|
Make sure we’re still term on here, sure we are.
|
|
0:04:09
|
So, debug TFTP events.
|
|
0:04:11
|
We should see fairly soon these phones attempting to contact CUCM.
|
|
0:04:17
|
I’ll just go ahead and reset one of them.
|
|
0:04:25
|
Exploit the process a little bit,
|
|
0:04:29
|
and in the meantime, what we’ll go ahead and say is that
|
|
0:04:33
|
basically, these phones are gonna be requesting files unless they’re otherwise told so.
|
|
0:04:37
|
unless they’re otherwise told so.
|
|
0:04:39
|
They’re gonna be requesting files from the root directory.
|
|
0:04:43
|
So, they’re gonna be requesting files from the TFTP IP address of 177.1.254.3
|
|
0:04:51
|
that we instructed them to via DHCP and then the file name.
|
|
0:04:57
|
They are not going to look in the folder structure
|
|
0:05:02
|
of the folders that contain these files
|
|
0:05:08
|
in the flash formatted type3 flash memory card.
|
|
0:05:14
|
So, because they’re not going to request the files in the subfolders,
|
|
0:05:21
|
we have to make these files look, we can do two things, we could either
|
|
0:05:26
|
do away with the organization which is really nice,
|
|
0:05:30
|
and essentially copy all of these files from their nicely categorized folders
|
|
0:05:36
|
down to the root level with the whole reason we have folders
|
|
0:05:39
|
is to keep things nice and organized and compact,
|
|
0:05:45
|
or we could simply serve these files up as the full file name
|
|
0:05:53
|
but then alias them and make them look like they’re coming from the root pass.
|
|
0:05:58
|
So, just in the same way if you ever configured a web server.
|
|
0:06:01
|
You may have your folders, your files and if it’s a Linux server maybe
|
|
0:06:06
|
maybe /r/documents or /r/httpd/documents
|
|
0:06:13
|
or maybe if it’s a windows box, maybe C\program files.
|
|
0:06:19
|
I don’t know. I don't even remember windows very well.
|
|
0:06:23
|
\www.root or www.document or whatever it is that your path is.
|
|
0:06:32
|
But the web server when someone requests a file from you,
|
|
0:06:36
|
they just request it from http, the IP address of your box
|
|
0:06:40
|
or domain name that gets result to an IP/index.html.
|
|
0:06:45
|
So, at the root level as it appears to the web server, same thing with TFTP.
|
|
0:06:50
|
So, what we’re gonna need to do
|
|
0:06:54
|
is I’m gonna go ahead and bring up the Text Edit window
|
|
0:06:57
|
and what we would normally do in the lab is copy all these out
|
|
0:07:01
|
if they’re not in the root directory.
|
|
0:07:03
|
Get rid of all these directory names and I’m not gonna bore you.
|
|
0:07:06
|
I know I just got rid of the whole line.
|
|
0:07:10
|
I’m not gonna bore you with doing this to every single one
|
|
0:07:14
|
and adding what we need to every single one.
|
|
0:07:16
|
And I've already got it created.
|
|
0:07:18
|
But the point is, that you would have to if they were in a subdirectory,
|
|
0:07:25
|
you would have to sit here and come along
|
|
0:07:31
|
and grab all of these file names, get rid of the beginning, the size information
|
|
0:07:50
|
and you’d have to change them to just having the file names, space,
|
|
0:07:58
|
eyword alias, space and then just the file name itself.
|
|
0:08:04
|
Then, you’re gonna flash: to the beginning and the command.
|
|
0:08:08
|
So, TFTP server, jump in here. TFTP server, flash:,
|
|
0:08:15
|
and the reason we’re not seeing any TFTP
|
|
0:08:18
|
is we don’t have any TFTP server commands in here so far.
|
|
0:08:21
|
Let's just the jump out say show Run, Type 2 section, TFTP,
|
|
0:08:29
|
Nothing. Show telephony service. It’s not enabled,
|
|
0:08:33
|
Show voice registered global. Things are gonna get into here.
|
|
0:08:41
|
It’s not really enabled right now. So,
|
|
0:09:01
|
and then what is gonna be the names of the files.
|
|
0:09:05
|
So, it’s really flash:, here’s the name of the file,
|
|
0:09:10
|
just get this up here and we could just say Enter or we can give it an Alias.
|
|
0:09:17
|
So, we wanna give it an Alias and we can even lock it down
|
|
0:09:23
|
to who’s allowed to request the file with ACLs
|
|
0:09:25
|
and then the file Alias which is just the actual file name.
|
|
0:09:30
|
This makes the file look like it’s being served from the root directory.
|
|
0:08:53
|
Config T, TFTP server and then where we gonna pull from flash:
|
|
0:09:36
|
Even it’s not actually being served from the root directory,
|
|
0:09:40
|
It’s being served from, and now that we turned the TFTP server on,
|
|
0:09:43
|
Now, all of the sudden we’re seeing the debug information as I mentioned.
|
|
0:09:46
|
So, here’s the phone 1A93 with that last SIP phone.
|
|
0:09:50
|
It’s looking for its configuration file.
|
|
0:09:53
|
It doesn’t find it so it looks for XML default.cnf.xml.
|
|
0:09:57
|
It doesn’t find it. It’s also looking for its soft key at the same time.
|
|
0:10:00
|
But we don’t see found. We just see that there is someone looking.
|
|
0:10:06
|
What we’re gonna do, is we’re just gonna ahead and use what I’ve already configured
|
|
0:10:11
|
but then again in the lab, you would have to do some text editing.
|
|
0:10:16
|
We’re just gonna go and paste all these in here.
|
|
0:10:19
|
Now, this isn’t gonna give the phones what they need to grab their configuration.
|
|
0:10:24
|
It simply gonna give the phones what they need to download
|
|
0:10:29
|
and upgrade any of their load files for both Skinny and for SIP phones.
|