WEBVTT 0:00:06.840000 --> 0:00:11.300000 This video is part of the Cisco Certified Technician routing and switching 0:00:11.300000 --> 0:00:16.740000 curriculum. It falls within section 4 of the blueprint and within that 0:00:16.740000 --> 0:00:19.460000 blueprint I'm going to be talking specifically about the bullet point 0:00:19.460000 --> 0:00:22.220000 connecting modems to console ports. 0:00:22.220000 --> 0:00:26.900000 My name is Keith Bogart and I will be your instructor for this session. 0:00:26.900000 --> 0:00:30.040000 So in this particular session I'm going to be covering two bullet points 0:00:30.040000 --> 0:00:34.400000 within the section 4 blueprint of the CCTRS. 0:00:34.400000 --> 0:00:37.740000 Specifically the two things I'm going to talk about are how to use modem 0:00:37.740000 --> 0:00:43.420000 to connect to a Cisco console port as well as a phone line and configuring 0:00:43.420000 --> 0:00:48.080000 the correct dip switch settings on the modem so that it works correctly. 0:00:48.080000 --> 0:00:51.300000 So first of all what is a modem? 0:00:51.300000 --> 0:00:55.480000 Modems are maybe it's a device you have never seen or heard before in 0:00:55.480000 --> 0:01:00.360000 this day and 2017 modems really aren't used a lot or maybe when you think 0:01:00.360000 --> 0:01:04.020000 of modem you think of cable modem or DSL modem. 0:01:04.020000 --> 0:01:10.640000 A modem just the general term modem means modulate, demodulate. 0:01:10.640000 --> 0:01:11.820000 What does that mean? 0:01:11.820000 --> 0:01:16.920000 Well to modulate something is to take some form of data and convert it 0:01:16.920000 --> 0:01:18.660000 into a different format. 0:01:18.660000 --> 0:01:24.940000 For example let's say I have a message in my head which consists of you 0:01:24.940000 --> 0:01:29.300000 know words that I want to convey to you but instead of speaking those 0:01:29.300000 --> 0:01:33.260000 words I use a flashlight and we have an agreed-upon system that you know 0:01:33.260000 --> 0:01:37.360000 like Morse code or something and I'm flicking the light on and off. 0:01:37.360000 --> 0:01:40.540000 While I am modulating my message I'm taking the message in my head which 0:01:40.540000 --> 0:01:44.900000 is composed of words in English and I'm converting that I'm modulating 0:01:44.900000 --> 0:01:48.980000 that into something else which in this case is flickering light for you 0:01:48.980000 --> 0:01:52.100000 to see. Demodulations is exactly the opposite. 0:01:52.100000 --> 0:01:55.740000 You see the flickering light you look down at your you know piece of paper 0:01:55.740000 --> 0:02:00.800000 that tells you how to convert that back into words modulate demodulate. 0:02:00.800000 --> 0:02:05.440000 So in the terms of networking devices here for example when you're talking 0:02:05.440000 --> 0:02:10.300000 about an analog modem which is what this is it's called an analog modem 0:02:10.300000 --> 0:02:15.300000 the idea was okay the device like the computer that's connected to this 0:02:15.300000 --> 0:02:18.440000 modem is going to be providing digital signals to the modem. 0:02:18.440000 --> 0:02:23.080000 So it's going to be providing digital pulses of 1 0 1 0 in some sort of 0:02:23.080000 --> 0:02:26.400000 some sort of voltage you know a certain voltage will be a 1 a certain 0:02:26.400000 --> 0:02:28.320000 voltage will be a 0. 0:02:28.320000 --> 0:02:34.700000 But in the old days your ultimate objective is to get your signal through 0:02:34.700000 --> 0:02:39.220000 your phone line your telephone line to your service provider or somebody 0:02:39.220000 --> 0:02:43.780000 else. Well that phone line wasn't specifically set up to transfer those 0:02:43.780000 --> 0:02:47.560000 ones and zeros those binary messages via electrical signaling. 0:02:47.560000 --> 0:02:51.540000 It did support electrical signaling but in a different way not ones and 0:02:51.540000 --> 0:02:55.940000 zeros. So the original phone line what it was set up to do was as you 0:02:55.940000 --> 0:02:59.620000 pick up your handset your phone you start talking into it the air pressure 0:02:59.620000 --> 0:03:04.420000 of your voice would move a diaphragm within the phone which would wiggle 0:03:04.420000 --> 0:03:09.160000 against a magnet which should create an oscillating set of electrical 0:03:09.160000 --> 0:03:14.280000 energy. So the more you talk the more that magnet moved the greater the 0:03:14.280000 --> 0:03:20.000000 the energy of the electrical signal the higher you talk or the lower you 0:03:20.000000 --> 0:03:23.260000 talk your frequency would affect that electrical signal. 0:03:23.260000 --> 0:03:27.220000 So actually what was going out from your phone onto the phone line was 0:03:27.220000 --> 0:03:30.640000 electricity but that electricity was modulating it was going faster and 0:03:30.640000 --> 0:03:40.600000 slower smaller and bigger it was a wide range of hearing someone with 0:03:40.600000 --> 0:03:43.880000 you know the airwaves coming in and hitting their eardrum it was going 0:03:43.880000 --> 0:03:47.240000 across electrically across that wire and then when it got to the other 0:03:47.240000 --> 0:03:51.820000 phone at the other end it would make that magnet move within their handset 0:03:51.820000 --> 0:03:56.260000 which would then convert it back into a speaker against the ear which 0:03:56.260000 --> 0:04:00.940000 would pulsate you know air as if your voice was actually talking right 0:04:00.940000 --> 0:04:04.700000 to them as if you were pulsating that air with your vocal cords. 0:04:04.700000 --> 0:04:08.580000 So that same system was used to transfer data they said okay we're going 0:04:08.580000 --> 0:04:12.560000 to take a modem connected to a laptop the ones and zeros coming out of 0:04:12.560000 --> 0:04:15.320000 that laptop now we're going to have to convert it into the same type of 0:04:15.320000 --> 0:04:20.560000 energy the same type of frequencies as if someone was talking and that's 0:04:20.560000 --> 0:04:24.300000 why when you connect a modem one of the very very first things a modem 0:04:24.300000 --> 0:04:28.000000 has to do when a modem is talking to another modem it both ends of a of 0:04:28.000000 --> 0:04:31.920000 a wire both ends of a telephone connection is they have to negotiate what 0:04:31.920000 --> 0:04:35.360000 frequencies are available because depending on the quality of the wire 0:04:35.360000 --> 0:04:39.400000 depending on how far away they are certain frequencies can make it through 0:04:39.400000 --> 0:04:44.220000 nice and strong other frequencies not so much for example on wires the 0:04:44.220000 --> 0:04:48.900000 farther modems are apart from each other the really high frequencies become 0:04:48.900000 --> 0:04:53.380000 degraded so when you're really close you can have a full range of frequencies 0:04:53.380000 --> 0:04:57.360000 that can get back and forth nice and strong so when you turn on a modem 0:04:57.360000 --> 0:05:01.540000 and one modem calls another you've probably heard that that typical sound 0:05:01.540000 --> 0:05:08.040000 that that noise those are the two modems negotiating the frequency saying 0:05:08.040000 --> 0:05:11.420000 okay here's a frequency do you hear this yes I do here's a lower frequency 0:05:11.420000 --> 0:05:16.120000 do you hear this yes I do and so after that's done the modems know okay 0:05:16.120000 --> 0:05:19.820000 now that I'm getting my ones and zeros in what frequencies can I modulate 0:05:19.820000 --> 0:05:24.000000 that into that the other modem at the other end will be able to hear and 0:05:24.000000 --> 0:05:28.700000 pick up and demodulate so that's what a modem was used for so you can 0:05:28.700000 --> 0:05:32.240000 see here some of the earlier modems they look like you know what you see 0:05:32.240000 --> 0:05:37.600000 here on the left so these are both examples of what we call us robotics 0:05:37.600000 --> 0:05:43.860000 modems the one the left was an older modem okay so and the one the right 0:05:43.860000 --> 0:05:49.700000 is a more recent modem so you know these days your laptop your PC may 0:05:49.700000 --> 0:05:53.560000 have an internal modem built into it but a lot of them don't anymore you 0:05:53.560000 --> 0:05:56.680000 know a lot of PC manufacturers recognize these days that people don't 0:05:56.680000 --> 0:06:01.240000 use modems anymore they use their Wi -Fi net card or their wired ethernet 0:06:01.240000 --> 0:06:05.480000 jack either way that eventually connects to like a DSL modem or a cable 0:06:05.480000 --> 0:06:09.220000 modem so if you actually want to connect to your phone line in your house 0:06:09.220000 --> 0:06:13.920000 and have a modem connect your laptop to that phone line you either have 0:06:13.920000 --> 0:06:17.200000 to have an internal modem built into your laptop or if you don't have 0:06:17.200000 --> 0:06:20.000000 that you have to have one of these things we see here on the right something 0:06:20.000000 --> 0:06:24.120000 to plug into your USB port which has a modem built into it so this little 0:06:24.120000 --> 0:06:26.660000 thing right here on the right this white thing is actually a modem it 0:06:26.660000 --> 0:06:30.580000 plugs into your USB port and then the other end of it connects to your 0:06:30.580000 --> 0:06:34.540000 phone line and the one the left is a much larger scale modem with a lot 0:06:34.540000 --> 0:06:38.200000 more options so how do you get one of these things well they're still 0:06:38.200000 --> 0:06:41.620000 available i actually got both of these screenshots from amazon.com so 0:06:41.620000 --> 0:06:47.340000 you can buy these still from amazon .com or walmart target lots of places 0:06:47.340000 --> 0:06:52.620000 sell these modems now in terms of the cct routing and switching why do 0:06:52.620000 --> 0:06:56.560000 we care about modems well sometimes you'll have a piece of networking 0:06:56.560000 --> 0:07:00.360000 gear we know that all routers and switches and even lots of other stuff 0:07:00.360000 --> 0:07:04.760000 like content delivery engines and other things firewalls have console 0:07:04.760000 --> 0:07:08.000000 ports right you got to have a console port to initially configure this 0:07:08.000000 --> 0:07:13.560000 thing so what if i have a router switch i've got it configured i've got 0:07:13.560000 --> 0:07:17.980000 it set up and now i have to ship it to some location where maybe that 0:07:17.980000 --> 0:07:21.800000 location doesn't have any networking staff you know maybe i ship it there 0:07:21.800000 --> 0:07:25.080000 maybe that location is fully staffed with like you know my marketing department 0:07:25.080000 --> 0:07:28.920000 or my payroll department they don't know anything about connecting to 0:07:28.920000 --> 0:07:33.040000 a router switch all they expect to do is receive this router switch and 0:07:33.040000 --> 0:07:37.440000 i'll say okay go to this wiring closet on the door it's marked a1 open 0:07:37.440000 --> 0:07:41.260000 that door and put this thing in there and connect this plug to this cable 0:07:41.260000 --> 0:07:44.700000 they have no idea how to configure it troubleshoot it all they can do 0:07:44.700000 --> 0:07:48.700000 is man handle it and physically what we call rack and stack it and that's 0:07:48.700000 --> 0:07:53.300000 it now what happens if in the future i need to get into that device to 0:07:53.300000 --> 0:07:59.280000 troubleshoot it or change the configuration well hopefully ip is configured 0:07:59.280000 --> 0:08:03.900000 on that device and i can just tell that to it or i can ssh to it but what 0:08:03.900000 --> 0:08:08.400000 if that fails what if my what if for some reason the the network interfaces 0:08:08.400000 --> 0:08:12.680000 my ethernet ports or whatever on that device are non-functional it's lost 0:08:12.680000 --> 0:08:16.920000 its ip address maybe it's lost its entire internet connectivity and i 0:08:16.920000 --> 0:08:21.600000 cannot send ip packets to it so now i need to get into that thing in troubleshoot 0:08:21.600000 --> 0:08:25.600000 why is that well normally the only way you could get into it if you couldn't 0:08:25.600000 --> 0:08:29.940000 have ip connectivity is connecting to the console port but what if that 0:08:29.940000 --> 0:08:33.760000 device is not located anywhere near you what if it's hundreds or thousands 0:08:33.760000 --> 0:08:37.280000 of miles away from you and like i said it's in a location where there's 0:08:37.280000 --> 0:08:40.520000 just nobody for you to call and walk through the process of troubleshooting 0:08:40.520000 --> 0:08:45.340000 it and this particular case it would be useful to have a modem connected 0:08:45.340000 --> 0:08:49.360000 to the console port and that modem connected to a functional telephone 0:08:49.360000 --> 0:08:54.300000 line then at your location wherever you are you would have a modem like 0:08:54.300000 --> 0:08:57.780000 the little one here on the right this one in white connected to your laptop 0:08:57.780000 --> 0:09:02.140000 and from your modem you could call that remote modem and now you could 0:09:02.140000 --> 0:09:06.240000 get remote access to the console port so that's what we're looking at 0:09:06.240000 --> 0:09:10.360000 here in the cct routing and switching how do i set that up what do i need 0:09:10.360000 --> 0:09:15.900000 to do to get that working okay so let's start now you can't just connect 0:09:15.900000 --> 0:09:20.040000 a modem to the router's console port connect to it to a phone line and 0:09:20.040000 --> 0:09:24.940000 walk away and expect it's going to work why not because modems must be 0:09:24.940000 --> 0:09:28.660000 given initialization strings so they can communicate correctly to the 0:09:28.660000 --> 0:09:32.260000 console port you see the modem needs to know certain things like okay 0:09:32.260000 --> 0:09:37.280000 when a call comes in should the modem automatically pick it up or should 0:09:37.280000 --> 0:09:40.620000 the modem just be their passive until you press a button to get the modem 0:09:40.620000 --> 0:09:44.320000 to pick it up and a whole bunch of other stuff the modem has to be told 0:09:44.320000 --> 0:09:49.740000 what to do now when you have a modem connected to your laptop you can 0:09:49.740000 --> 0:10:00.700000 open up commands and i'll talk about that in just a second but you can't 0:10:00.700000 --> 0:10:04.660000 do that when the modem is connected to the console port you see the console 0:10:04.660000 --> 0:10:10.980000 port by definition is configured in such a way that you can send incoming 0:10:10.980000 --> 0:10:14.860000 ASCII to that console port right you can send incoming ones and zeros 0:10:14.860000 --> 0:10:17.860000 in that console port would take that in and then respond to what you type 0:10:17.860000 --> 0:10:29.140000 but the console port does not allow to respond incoming ASCII but it can't 0:10:29.140000 --> 0:10:33.880000 initiate outgoing ASCII sometimes we call that reverse telnet reverse 0:10:33.880000 --> 0:10:38.360000 telnet is this idea of you know normal telnet is where you've got ASCII 0:10:38.360000 --> 0:10:41.660000 you know you're everything you're typing on your keyboard wrapped inside 0:10:41.660000 --> 0:10:47.100000 of an IP packet and then sent remotely over an IP connection reverse telnet 0:10:47.100000 --> 0:10:51.860000 is this concept where i'm taking my serial port and i'm just sending ASCII 0:10:51.860000 --> 0:10:57.900000 directly out of it so there's really no IP involved at all so you could 0:10:57.900000 --> 0:11:01.160000 theoretically say that okay when i've got my serial port connected to 0:11:01.160000 --> 0:11:04.800000 the console in a router when i open a piper terminal i am initiating a 0:11:04.800000 --> 0:11:10.100000 reverse telnet connection from my laptop to the console port of the router 0:11:10.100000 --> 0:11:14.360000 or switch but the reverse cannot be true if i'm on a router or switch 0:11:14.360000 --> 0:11:24.640000 i port that which means if i connect to modem that console port and i 0:11:24.640000 --> 0:11:28.780000 need to configure that modem with certain commands i'm stuck because there's 0:11:28.780000 --> 0:11:33.060000 no way from within the router i can reverse telnet to that modem and enter 0:11:33.060000 --> 0:11:36.380000 these initialization commands these initialization strings that it needs 0:11:36.380000 --> 0:11:40.020000 so what's the moral of the story the moral of the story is number one 0:11:40.020000 --> 0:11:43.660000 identify the modem that's going to connect to your console port but first 0:11:43.660000 --> 0:11:47.160000 you got to connect it to your laptop you got to connect it to your pc 0:11:47.160000 --> 0:11:51.780000 so you can program it and then you're going to connect it to the console 0:11:51.780000 --> 0:11:56.900000 port when it's all ready to go okay so in order to do this we have to 0:11:56.900000 --> 0:11:59.940000 understand a little bit about the cabling of the cabling that you because 0:11:59.940000 --> 0:12:03.040000 there's a lot of different cables out there and we have to understand 0:12:03.040000 --> 0:12:13.620000 what kind now if i go back here okay so clearly the vast majority of console 0:12:13.620000 --> 0:12:17.360000 ports almost all of them not all of them but almost all of them on routers 0:12:17.360000 --> 0:12:22.780000 and switches when you think of console ports are not usb ports right when 0:12:22.780000 --> 0:12:25.740000 you think of a console port what type of form factor do you usually envision 0:12:25.740000 --> 0:12:33.360000 an rj 45 jack right so this modem we have here on the right that's not 0:12:33.360000 --> 0:12:38.760000 going to work because the the mail end of that modem is usb so we're going 0:12:38.760000 --> 0:12:49.500000 to need to a connector that can connect to that rj 45 jack on the router 0:12:49.500000 --> 0:12:52.980000 okay so what i'm going to focus in on right here is this cabling that's 0:12:52.980000 --> 0:12:56.080000 in this red circle here we're going to look at what that cabling has to 0:12:56.080000 --> 0:13:00.420000 look like and how to identify the correct cable you're going to use to 0:13:00.420000 --> 0:13:06.020000 connect your laptop to that modem so you can configure it all right okay 0:13:06.020000 --> 0:13:09.400000 so we're talking about what's called a serial cable here which is defined 0:13:09.400000 --> 0:13:13.260000 in the rs 232 standard that's how a serial cable pin outs are defined 0:13:13.260000 --> 0:13:19.540000 and what we need here the type of cable actually has two different terms 0:13:19.540000 --> 0:13:22.880000 they both mean the same thing it just depends on which vendor you're talking 0:13:22.880000 --> 0:13:26.720000 about so what you're looking at is getting what's called a modem cable 0:13:26.720000 --> 0:13:32.020000 otherwise known as what you see here a straight through cable both terms 0:13:32.020000 --> 0:13:35.700000 are the same thing a modem cable a straight through cable simply means 0:13:35.700000 --> 0:13:40.420000 like you see right here pin three on one side goes to pin three on the 0:13:40.420000 --> 0:13:44.380000 other pin two on one side goes to pin two you can see the pin out right 0:13:44.380000 --> 0:13:47.980000 here that's why it's called straight through and this cable is designed 0:13:47.980000 --> 0:13:55.280000 for a dte device to communicate with a dce device now you're might might 0:13:55.280000 --> 0:13:59.660000 remember from some of my previous videos i defined what dte and dce is 0:13:59.660000 --> 0:14:07.080000 but in this context your laptop or the router is the dte device the actual 0:14:07.080000 --> 0:14:12.780000 physical modem that you purchase the us robotics modem that is a dce device 0:14:12.780000 --> 0:14:18.060000 so because we're talking dte to dce we need a straight through cable otherwise 0:14:18.060000 --> 0:14:21.080000 known as a modem cable and so here you can see the pin out so that's step 0:14:21.080000 --> 0:14:25.260000 number one make sure that whatever cable you're using is labeled this 0:14:25.260000 --> 0:14:33.900000 way and and try to verify the pin out if at all possible in that websites 0:14:33.900000 --> 0:14:37.120000 and stuff about how to connect a modem to a console port and they actually 0:14:37.120000 --> 0:14:41.400000 have that written up here's what they specify they say number one they 0:14:41.400000 --> 0:14:47.060000 say every router switch that they sell comes in the box with a flat satin 0:14:47.060000 --> 0:14:51.700000 blue rolled cable and i've shown that to you many times for example here 0:14:51.700000 --> 0:14:57.120000 it is if i can actually disconnect this here here's an example of it right 0:14:57.120000 --> 0:15:03.000000 this this blue satin cable right here in my case i've got a a usb to db9 0:15:03.000000 --> 0:15:06.120000 connector on the end of it so it's not going to come with that you have 0:15:06.120000 --> 0:15:10.460000 to purchase that that connector yourself um it's already plugged in so 0:15:10.460000 --> 0:15:15.140000 on one size an rj 45 jack anyway you saw it in a previous video so that 0:15:15.140000 --> 0:15:21.220000 comes with everything now that cable is a rolled cable it's not what we 0:15:21.220000 --> 0:15:25.680000 see up here that cable pin one is going to pin eight pin two is going 0:15:25.680000 --> 0:15:29.640000 to pin seven that's not what we need so we need to connect some sort of 0:15:29.640000 --> 0:15:34.300000 adapter to that so we can take our rolled cable and turn it into a straight 0:15:34.300000 --> 0:15:37.880000 through cable so we're basically going to connect an adapter that internally 0:15:37.880000 --> 0:15:43.020000 rolls the pins again so we have one roll going to another roll which ends 0:15:43.020000 --> 0:15:46.340000 up making it straight through so they say you should take that adapter 0:15:46.340000 --> 0:15:51.260000 now here there's talking about uh a flat satin cable that is rj 45 on 0:15:51.260000 --> 0:15:56.400000 both sides so it depends on what a router switch that cable will have 0:15:56.400000 --> 0:16:01.660000 rj 45 connectors on both sides sometimes like in my case it's got a db9 0:16:01.660000 --> 0:16:05.960000 connector on one side and an rj 45 connector on the other main thing to 0:16:05.960000 --> 0:16:10.180000 remember internally within that cable it's rolled and that's not going 0:16:10.180000 --> 0:16:13.140000 to work in its native format we have to turn it into this picture that 0:16:13.140000 --> 0:16:19.420000 we see right here so they say if you get this rj 45 to rj 45 rolled cable 0:16:19.420000 --> 0:16:25.880000 then you should connect what's called a terminal adapter which takes which 0:16:25.880000 --> 0:16:30.620000 plugs into the rj 45 end of the cable and converts it into db9 at the 0:16:30.620000 --> 0:16:35.500000 other end now a terminal adapter is simply straight through in other words 0:16:35.500000 --> 0:16:39.600000 the internal pin out of that adapter is not rolling the pins it's not 0:16:39.600000 --> 0:16:43.320000 changing the pins you know one is going to one two is going to two so 0:16:43.320000 --> 0:16:46.720000 it's maintaining this rolled cable remember that blue cable is rolled 0:16:46.720000 --> 0:16:50.340000 so if i attach a terminal adapter to it i'm just extending it basically 0:16:50.340000 --> 0:16:56.040000 i'm just converting the end of it from rj 45 to db9 now why are they saying 0:16:56.040000 --> 0:17:00.040000 attach it that way because this document was written a long time ago back 0:17:00.040000 --> 0:17:05.220000 in the days when a lot of laptops and PCs actually had serial ports and 0:17:05.220000 --> 0:17:09.480000 they had db9 serial ports you may have this look on the side or back of 0:17:09.480000 --> 0:17:14.340000 your laptop or pc you may have a db9 serial port but more and more laptops 0:17:14.340000 --> 0:17:18.120000 and PCs these days aren't coming with those serial ports because they're 0:17:18.120000 --> 0:17:23.240000 not used all heck of a lot anymore but if you do have a db9 serial port 0:17:23.240000 --> 0:17:28.240000 and this cable is rj 45 on both ends one end would have to be connected 0:17:28.240000 --> 0:17:34.080000 to db9 so that's where you'd use this uh this adapter here and then now 0:17:34.080000 --> 0:17:37.500000 we still have this situation where we have a db9 connecting the cable 0:17:37.500000 --> 0:17:41.460000 and the cable still essentially being rolled inside so we have to unroll 0:17:41.460000 --> 0:17:49.500000 it again so here we take a db25 to rj 45 modem adapter was a modem adapter 0:17:49.500000 --> 0:17:53.080000 do it's just the opposite of a terminal adapter a modem adapter actually 0:17:53.080000 --> 0:17:58.840000 rolls the cable inside so because we've already got a rolled cable now 0:17:58.840000 --> 0:18:01.940000 we're attaching it to the adapter on that rolls it again we essentially 0:18:01.940000 --> 0:18:06.660000 are getting straight through end to end so here's kind of what that looks 0:18:06.660000 --> 0:18:10.320000 like if you want to visualize it graphically number one we've got our 0:18:10.320000 --> 0:18:15.320000 modem and notice that modem has got a db25 connector on one end of it 0:18:15.320000 --> 0:18:18.560000 so this is your db25 connector that's going to connect to either the console 0:18:18.560000 --> 0:18:22.760000 port of the router or it's going to connect to your laptop now in this 0:18:22.760000 --> 0:18:26.780000 case we're going to take that modem connector all right now remember inside 0:18:26.780000 --> 0:18:31.380000 there that's rolling the pins then we're going to connect that to that 0:18:31.380000 --> 0:18:36.440000 flat satin blue cable that Cisco's talking about then on the other end 0:18:36.440000 --> 0:18:40.720000 of that cable we're going to connect that to an rj 45 to db9 terminal 0:18:40.720000 --> 0:18:44.580000 adapter remember the terminal adapter maintains the pin outs it doesn't 0:18:44.580000 --> 0:18:49.540000 roll or cross anything over and then lastly we're going to take that and 0:18:49.540000 --> 0:18:53.160000 assuming that you've got a usb port on your laptop per pc which you probably 0:18:53.160000 --> 0:18:58.340000 do you would then take that db9 and connect it to a db9 to usb adapter 0:18:58.340000 --> 0:19:06.000000 and plug that in to your laptop or alternatively maybe when Cisco sent 0:19:06.000000 --> 0:19:11.440000 you the router switch you did not get a rolled cable that was rg 45 on 0:19:11.440000 --> 0:19:14.520000 both ends so in that case you can take those two pictures in the middle 0:19:14.520000 --> 0:19:18.940000 and swap them out for that remember that's still a rolled cable and we 0:19:18.940000 --> 0:19:22.540000 need straight through so we still need the adapters on on both ends here 0:19:22.540000 --> 0:19:26.980000 so that's how you would connect the cabling to ultimately connect that 0:19:26.980000 --> 0:19:34.240000 modem to your pc also when we get around to connecting the modem to the 0:19:34.240000 --> 0:19:40.460000 console port same idea same idea is going to be true here because the 0:19:40.460000 --> 0:19:46.940000 console port the router is a dte the modem is dce so we need a straight 0:19:46.940000 --> 0:19:51.080000 through cable and because this blue cable is rolled we'll have to do the 0:19:51.080000 --> 0:19:56.000000 same thing to connect it or you can buy sometimes cables that are straight 0:19:56.000000 --> 0:19:59.820000 through anyway and you can skip all these adapters and stuff here now 0:19:59.820000 --> 0:20:03.000000 so that's the physical cabling so let's just assume you've done that the 0:20:03.000000 --> 0:20:08.600000 modem is now connected to your laptop so what do we have to do next well 0:20:08.600000 --> 0:20:11.120000 you have to understand that these modems come with dip switches on the 0:20:11.120000 --> 0:20:16.880000 back sort of looks like this if this is a brand new factory set modem 0:20:16.880000 --> 0:20:20.160000 these dip switches should be set to factory defaults but you want just 0:20:20.160000 --> 0:20:24.800000 want to make sure that to be certain now here's where you got to be a 0:20:24.800000 --> 0:20:29.380000 little bit careful um because different modems dip switches are a little 0:20:29.380000 --> 0:20:33.320000 bit different for example if you look at Cisco's documentation on this 0:20:33.320000 --> 0:20:36.140000 connecting a modem to a console port it actually talks about dip switches 0:20:36.140000 --> 0:20:48.960000 in there it says the dip switches one three and eight should all be one 0:20:48.960000 --> 0:20:52.000000 three and eight right this picture is showing three five and eight being 0:20:52.000000 --> 0:20:55.660000 down and all the other ones being up so what's the difference well this 0:20:55.660000 --> 0:21:02.000000 picture is taken from a us from a uh a modarola modem and actually I believe 0:21:02.000000 --> 0:21:06.660000 this is a us robotics modem either way the modem documentation that I 0:21:06.660000 --> 0:21:10.760000 took this screenshot from said this is what you need to do to set to factory 0:21:10.760000 --> 0:21:15.400000 default it says if it's factory default three five and eight should be 0:21:15.400000 --> 0:21:19.260000 down and I actually include a screenshot here I'm not going to go through 0:21:19.260000 --> 0:21:22.540000 all this stuff but showing you here what each one of those dip switches 0:21:22.540000 --> 0:21:29.640000 controls um for example uh five right nose number five here five is is 0:21:29.640000 --> 0:21:35.000000 down which means it's in the on position which means uh disable auto answer 0:21:35.000000 --> 0:21:38.220000 well you're probably not going to want that I mean that's if this modem 0:21:38.220000 --> 0:21:41.720000 is ultimately going to be connecting to a console port of a router you 0:21:41.720000 --> 0:21:44.960000 probably will want it to auto answer when a call comes in and I'll show 0:21:44.960000 --> 0:21:48.480000 you in just a second how we're going to change that via a command line 0:21:48.480000 --> 0:21:52.260000 that we're going to issue to the modem as opposed to the dip switch but 0:21:52.260000 --> 0:21:55.460000 what's the moral of the story the moral of the story is whatever modem 0:21:55.460000 --> 0:21:59.940000 you buy make sure the dip switches are set in the default position if 0:21:59.940000 --> 0:22:05.440000 you don't know what that is check the documentation for the modem all 0:22:05.440000 --> 0:22:11.040000 right so that's the dip switch is there now for the purposes of the the 0:22:11.040000 --> 0:22:18.760000 cctrs exam as with any exam right ccna, ccnp all the way up to the cci 0:22:18.760000 --> 0:22:24.220000 sometimes there's some discrepancies between what you'll read in sisco 0:22:24.220000 --> 0:22:29.700000 documentation or in a sisco book versus what your experience is in real 0:22:29.700000 --> 0:22:33.700000 life like this case right sisco's documentation says as far as dip switches 0:22:33.700000 --> 0:22:38.520000 are concerned one three and eight should be down all others should be 0:22:38.520000 --> 0:22:41.820000 up and yet maybe your real life experience is hey I got this modem right 0:22:41.820000 --> 0:22:45.680000 here and its documentation says something different if there's a discrepancy 0:22:45.680000 --> 0:22:49.380000 remember what are you trying to achieve you're trying to pass a sisco 0:22:49.380000 --> 0:22:54.200000 test so answer it the way sisco wants you to answer it so when it comes 0:22:54.200000 --> 0:22:57.680000 to dip switches if you see a question about what's the default dip switch 0:22:57.680000 --> 0:23:01.440000 setting don't argue in your head about well what if it's us robotics what 0:23:01.440000 --> 0:23:05.740000 if it's motorola no sisco's answer would be one three and eight should 0:23:05.740000 --> 0:23:10.040000 be down so that's what you should do but in real life check the documentation 0:23:10.040000 --> 0:23:17.400000 okay so your modems connected to your laptop or your pc what are you gonna 0:23:17.400000 --> 0:23:20.960000 do now okay so now you're gonna turn on your terminal emulation software 0:23:20.960000 --> 0:23:26.140000 like secure CRT or putty or something and you're gonna establish a connection 0:23:26.140000 --> 0:23:29.840000 over your serial line via your comport I already showed you how to do 0:23:29.840000 --> 0:23:32.260000 that in a previous video when I was talking about how to connect directly 0:23:32.260000 --> 0:23:36.040000 to the console port on a router you're gonna follow the exact same procedure 0:23:36.040000 --> 0:23:40.920000 here except now what you're connecting to is the modem so instead of providing 0:23:40.920000 --> 0:23:45.020000 uh sisco ios commands you're gonna provide what's called an initialization 0:23:45.020000 --> 0:23:51.160000 string so this is actually taken from sisco's website this is their recommended 0:23:51.160000 --> 0:23:56.940000 initialization string to set a modem back to its default settings and 0:23:56.940000 --> 0:24:00.740000 turn on some other behaviors for example part of this initialization string 0:24:00.740000 --> 0:24:06.040000 of all this goblico here is saying auto answer if a call comes in answer 0:24:06.040000 --> 0:24:09.200000 it automatically so it's actually overriding that dip switch that we saw 0:24:09.200000 --> 0:24:14.100000 in the previous modem so what is that i mean if you look at how you say 0:24:14.100000 --> 0:24:17.680000 wow that is certainly not sisco ios what is that that's actually something 0:24:17.680000 --> 0:24:25.500000 called the haze command set h a y e s haze it came from a guy named denis 0:24:25.500000 --> 0:24:31.920000 haze back in 1981 he created a modem called the haze smart modem and order 0:24:31.920000 --> 0:24:35.800000 to communicate with that modem he created this command set which is you 0:24:35.800000 --> 0:24:40.100000 know character strings short text strings which are combined with numbers 0:24:40.100000 --> 0:24:43.940000 and characters to send commands to the modem so that's what this is this 0:24:43.940000 --> 0:24:50.960000 is the haze command set so you're gonna send this and what i would recommend 0:24:50.960000 --> 0:24:56.340000 is if you send that you should get okay from the modem you should actually 0:24:56.340000 --> 0:25:00.080000 see in hyper terminal or secures the rt okay which means it understood 0:25:00.080000 --> 0:25:06.160000 all these commands at that point turn off the modem and connect it to 0:25:06.160000 --> 0:25:10.340000 the console port now what if you don't get okay or what if you get some 0:25:10.340000 --> 0:25:14.260000 other kind of error message here's the here's this thing to know about 0:25:14.260000 --> 0:25:18.880000 the the haze command set in the original haze command set you would simply 0:25:18.880000 --> 0:25:23.640000 have a capital letter or maybe two capital letters and that alone would 0:25:23.640000 --> 0:25:28.620000 be a command for example at means attention that means wake up i'm about 0:25:28.620000 --> 0:25:33.080000 to send you commands or you'd see a letter followed by a number for example 0:25:33.080000 --> 0:25:39.080000 d one two three four five six seven means dial and here's a number that 0:25:39.080000 --> 0:25:45.000000 was the original command set but that was back in 1981 over time as modems 0:25:45.000000 --> 0:25:48.360000 got more and more complex and support more and more features different 0:25:48.360000 --> 0:25:51.940000 vendors decide to add commands to this like their proprietary commands 0:25:51.940000 --> 0:25:57.700000 which eventually got sort of rolled into the command set so a lot of these 0:25:57.700000 --> 0:26:00.460000 commands here that all the commands you see that are prefaced with the 0:26:00.460000 --> 0:26:11.100000 amper original haze command set that was added later on by some vendor 0:26:11.100000 --> 0:26:16.260000 well it's possible because this is not standardized anywhere it's possible 0:26:16.260000 --> 0:26:22.060000 that and f0 on one modem means something completely different on another 0:26:22.060000 --> 0:26:26.460000 vendor's modem which could result in you typing this in and you don't 0:26:26.460000 --> 0:26:31.080000 get okay or you get something else so what does that mean here's why i 0:26:31.080000 --> 0:26:35.880000 would recommend this next slide here also taken from the siska website 0:26:35.880000 --> 0:26:39.980000 breaks down everything that just was okay so that breaks down all those 0:26:39.980000 --> 0:26:44.600000 things this is what you're trying to accomplish by typing in each one 0:26:44.600000 --> 0:26:51.260000 of these haze or proprietary commands if you do not get an okay then go 0:26:51.260000 --> 0:27:04.180000 to your modems documentation and look to dte speed look at that and b0 0:27:04.180000 --> 0:27:08.820000 well maybe in your documentation floating dte speed is something completely 0:27:08.820000 --> 0:27:12.920000 different so you'll want to swap out and be zero with whatever your modem 0:27:12.920000 --> 0:27:17.060000 supports okay hopefully it'll take all this but i'm just saying if it 0:27:17.060000 --> 0:27:21.260000 doesn't look for your documentation see if your modem supports commands 0:27:21.260000 --> 0:27:25.180000 are a little bit different than these that accomplish the same thing all 0:27:25.180000 --> 0:27:29.840000 right so you've done that you've gotten an okay disconnect the modem from 0:27:29.840000 --> 0:27:34.920000 your laptop put it in the box with the router ship it to that office where 0:27:34.920000 --> 0:27:39.760000 payroll or marketing is is sitting and say okay connect this router connect 0:27:39.760000 --> 0:27:43.160000 this modem to the router here's a cable here's all the connectors already 0:27:43.160000 --> 0:27:46.420000 slap those connectors on there so they don't have to figure it out and 0:27:46.420000 --> 0:27:49.420000 then connect the modem to the phone line you know maybe you have them 0:27:49.420000 --> 0:27:52.180000 plug in a phone first of all to make sure it gets a dial tone the phone 0:27:52.180000 --> 0:27:55.740000 line's actually operational and good make sure you know what the number 0:27:55.740000 --> 0:27:58.960000 is that goes to that phone line so you can call it now what do you do 0:27:58.960000 --> 0:28:02.100000 at your end you take that little white modem that showed you or something 0:28:02.100000 --> 0:28:07.620000 else connect that to your laptop connect the other end to the telephone 0:28:07.620000 --> 0:28:14.500000 jack now you open up your terminal emulator and you issue a haze command 0:28:14.500000 --> 0:28:20.500000 to call the remote modem for example at dt remember at is attention it 0:28:20.500000 --> 0:28:26.360000 means wake up little modem d means dial in this case t means touch tone 0:28:26.360000 --> 0:28:33.140000 so wake up dial this touch tone number of one 555 1234 and if everything's 0:28:33.140000 --> 0:28:36.780000 working properly you'll hear the modem negotiate with the remote modem 0:28:36.780000 --> 0:28:40.800000 all those sounds and then within like you know less than a minute hopefully 0:28:40.800000 --> 0:28:45.820000 you'll get your iOS command prompt so that concludes this video on how