WEBVTT

1
00:00:00.120 --> 00:00:04.160
<v Speaker 1>Welcome back to the deep dive. Today, we're really getting

2
00:00:04.160 --> 00:00:07.599
<v Speaker 1>our hands dirty, jumping into the practical world of Cisco

3
00:00:07.759 --> 00:00:08.839
<v Speaker 1>CCNA commands.

4
00:00:08.960 --> 00:00:09.839
<v Speaker 2>Yeah, exactly.

5
00:00:10.000 --> 00:00:13.000
<v Speaker 1>Imagine you're setting up a network from scratch, maybe for

6
00:00:13.080 --> 00:00:16.480
<v Speaker 1>a new office, a growing startup. Where do you even begin?

7
00:00:16.920 --> 00:00:17.160
<v Speaker 2>Right?

8
00:00:17.440 --> 00:00:19.559
<v Speaker 1>Our mission for you today is basically to pull out

9
00:00:19.600 --> 00:00:23.359
<v Speaker 1>the absolute must know bits, give you a kind of shortcut,

10
00:00:23.600 --> 00:00:26.199
<v Speaker 1>you know, so you feel ready to connect some dots.

11
00:00:26.320 --> 00:00:28.280
<v Speaker 2>And what's really valuable here, I think, is that this

12
00:00:28.399 --> 00:00:32.240
<v Speaker 2>guide we're looking at focuses on the commands you actually need. Beginner,

13
00:00:32.320 --> 00:00:36.920
<v Speaker 2>intermediate level CCNA stuff, practical stuff exactly, stuff you can

14
00:00:37.000 --> 00:00:39.320
<v Speaker 2>use on real gear or in the simulation labs for

15
00:00:39.320 --> 00:00:40.759
<v Speaker 2>the exam. It's all about application.

16
00:00:41.039 --> 00:00:43.520
<v Speaker 1>Okay, So first things first, before any configuration, you got

17
00:00:43.600 --> 00:00:44.399
<v Speaker 1>to connect things right.

18
00:00:44.759 --> 00:00:46.520
<v Speaker 2>Cabling the physical layer yep.

19
00:00:46.640 --> 00:00:49.679
<v Speaker 1>Sounds basic maybe, but here's where it gets interesting, Like

20
00:00:50.320 --> 00:00:54.200
<v Speaker 1>choosing the wrong cable that can completely sink your network

21
00:00:54.280 --> 00:00:55.679
<v Speaker 1>before you type a single command.

22
00:00:55.679 --> 00:00:58.560
<v Speaker 2>Oh absolutely, I've seen it happen. Hours wasted me too.

23
00:00:59.119 --> 00:01:03.119
<v Speaker 1>I remember, spending age is troubleshooting once only to find YEP,

24
00:01:03.640 --> 00:01:07.079
<v Speaker 1>crossover cable where a straight through should have been. Total

25
00:01:07.120 --> 00:01:09.640
<v Speaker 1>face palm moment happens to the best of us. So

26
00:01:09.719 --> 00:01:13.680
<v Speaker 1>the guide really stresses mastering this. Know you're streight through

27
00:01:13.799 --> 00:01:16.519
<v Speaker 1>your crossover, your rollover cables.

28
00:01:16.159 --> 00:01:19.239
<v Speaker 2>And the pinouts are key. It's the wiring inside, which

29
00:01:19.280 --> 00:01:23.079
<v Speaker 2>pin connects to which get that wrong? No data flow,

30
00:01:23.799 --> 00:01:24.359
<v Speaker 2>simple as that.

31
00:01:24.480 --> 00:01:26.280
<v Speaker 1>And once it's plugged in, you need to check the

32
00:01:26.319 --> 00:01:28.439
<v Speaker 1>config on the actual computers.

33
00:01:28.079 --> 00:01:30.040
<v Speaker 2>Right, yeah, on the end devices, So like if you

34
00:01:30.079 --> 00:01:31.640
<v Speaker 2>can FIG on Linux or Mac.

35
00:01:31.599 --> 00:01:34.319
<v Speaker 1>Or IP can fig if you're on Windows, Windows two

36
00:01:34.359 --> 00:01:35.000
<v Speaker 1>thousand and up.

37
00:01:35.040 --> 00:01:38.239
<v Speaker 2>Basically, and this whole cabling thing, getting it right, it

38
00:01:38.280 --> 00:01:40.519
<v Speaker 2>really sets the stage, doesn't it. Make sure you're not

39
00:01:40.640 --> 00:01:44.159
<v Speaker 2>chasing hardware ghosts when the problem is actually software exactly.

40
00:01:44.200 --> 00:01:47.239
<v Speaker 1>You don't want to be troubleshooting routing protocols. If the

41
00:01:47.239 --> 00:01:47.799
<v Speaker 1>cable's just.

42
00:01:47.719 --> 00:01:49.719
<v Speaker 2>Wrong, you're trying to drive a car with no wheels.

43
00:01:49.799 --> 00:01:54.079
<v Speaker 1>Essentially, good analogy. Okay, so physically connected, now they need addresses.

44
00:01:54.120 --> 00:01:56.719
<v Speaker 1>They need to speak the language of IP. Right, let's

45
00:01:56.719 --> 00:01:59.760
<v Speaker 1>talk IP subnetting. Sounds a bit scary, maybe you can

46
00:01:59.799 --> 00:02:01.879
<v Speaker 1>see in that way, but we'll break it down. Think

47
00:02:01.879 --> 00:02:04.760
<v Speaker 1>about those IP address classes ABC.

48
00:02:04.719 --> 00:02:07.319
<v Speaker 2>Mainly, Yeah, they're like different sizes of networks right.

49
00:02:07.719 --> 00:02:10.159
<v Speaker 1>So Class A starts with a zero first number is

50
00:02:10.280 --> 00:02:12.960
<v Speaker 1>zero to one twenty seven. That's your massive network like

51
00:02:12.960 --> 00:02:15.879
<v Speaker 1>an ocean liner holds millions of devices.

52
00:02:15.560 --> 00:02:17.159
<v Speaker 2>Huge organizations ISPs.

53
00:02:17.159 --> 00:02:19.759
<v Speaker 1>Maybe Class B starts one zero numbers one twenty eight

54
00:02:19.800 --> 00:02:21.639
<v Speaker 1>to one ninety one. That's maybe more like a large

55
00:02:21.639 --> 00:02:24.639
<v Speaker 1>cargo ship medium to large businesses makes sense. And Class

56
00:02:24.680 --> 00:02:26.960
<v Speaker 1>C starts one one zero numbers one ninety two to

57
00:02:27.000 --> 00:02:29.439
<v Speaker 1>two twenty three. That's your small fishing boat home networks

58
00:02:29.479 --> 00:02:32.479
<v Speaker 1>small offices holds a couple hundred addresses.

59
00:02:32.039 --> 00:02:33.680
<v Speaker 2>Perfect for most smaller setups.

60
00:02:33.719 --> 00:02:36.520
<v Speaker 1>Then you have Class D for multicasting like video streams

61
00:02:36.520 --> 00:02:37.639
<v Speaker 1>to many people at once.

62
00:02:37.479 --> 00:02:39.759
<v Speaker 2>Two hundred and twenty four to two thirty nine range.

63
00:02:39.479 --> 00:02:43.080
<v Speaker 1>And Class E, which is reserved experimental stuff two forty.

64
00:02:42.840 --> 00:02:45.319
<v Speaker 2>In up right, And the guide shows how computer see

65
00:02:45.319 --> 00:02:47.159
<v Speaker 2>these numbers converting decimal to binary.

66
00:02:47.240 --> 00:02:49.159
<v Speaker 1>Yeah, like one ninety two becomes one hundred and one

67
00:02:49.199 --> 00:02:51.759
<v Speaker 1>hundred thousand, or two twenty four is eleven hundred and

68
00:02:51.759 --> 00:02:52.360
<v Speaker 1>fetter thousand.

69
00:02:52.439 --> 00:02:54.879
<v Speaker 2>So that familiar private IP one ninety two point one

70
00:02:54.960 --> 00:02:56.840
<v Speaker 2>sixty eight point two five four point twenty five four

71
00:02:56.960 --> 00:02:58.719
<v Speaker 2>The router sees it as a one one hundred zero

72
00:02:58.840 --> 00:03:01.240
<v Speaker 2>zero zero zero one zero one one zero zero point

73
00:03:01.240 --> 00:03:03.439
<v Speaker 2>one one one on a narrow point one one one

74
00:03:03.479 --> 00:03:05.800
<v Speaker 2>one one one point one one one one one one

75
00:03:05.800 --> 00:03:06.680
<v Speaker 2>one one binary.

76
00:03:06.759 --> 00:03:08.240
<v Speaker 1>Okay, So how does the router use that?

77
00:03:09.120 --> 00:03:12.400
<v Speaker 2>That's where binary ending comes in. It sounds technical, but

78
00:03:12.479 --> 00:03:15.879
<v Speaker 2>it's fundamental. It's how devices figure out the network part

79
00:03:15.919 --> 00:03:17.400
<v Speaker 2>of an address versus the host part.

80
00:03:17.680 --> 00:03:21.039
<v Speaker 1>Like separating the street name from the house number exactly.

81
00:03:21.319 --> 00:03:24.080
<v Speaker 2>It uses the IP address and the subnet mask. Think

82
00:03:24.120 --> 00:03:25.879
<v Speaker 2>of it like a filter. Only where both the IP

83
00:03:26.120 --> 00:03:28.280
<v Speaker 2>and the mask have a one bit, does a one

84
00:03:28.319 --> 00:03:29.199
<v Speaker 2>come through in the result.

85
00:03:29.360 --> 00:03:29.639
<v Speaker 1>Okay?

86
00:03:29.840 --> 00:03:32.360
<v Speaker 2>The logic is simple zero no zero one and no

87
00:03:32.560 --> 00:03:34.400
<v Speaker 2>zero zero one is a one bit only one on

88
00:03:34.479 --> 00:03:36.439
<v Speaker 2>one gives you one, got it? So take that one

89
00:03:36.560 --> 00:03:38.879
<v Speaker 2>ninety two point one sixty eight point two five four

90
00:03:38.919 --> 00:03:41.439
<v Speaker 2>point two five four Again. If your mask is two

91
00:03:41.520 --> 00:03:43.800
<v Speaker 2>five five point two five five point zero point zero,

92
00:03:44.120 --> 00:03:46.000
<v Speaker 2>which is all ones in the first two oct it's

93
00:03:46.479 --> 00:03:49.400
<v Speaker 2>when you endy them together binary style. Get one ninety

94
00:03:49.439 --> 00:03:52.319
<v Speaker 2>two point one sixty eight point zero zero. That's the

95
00:03:52.400 --> 00:03:55.439
<v Speaker 2>network number. That's how your device knows if another IP

96
00:03:55.599 --> 00:03:57.680
<v Speaker 2>is on the same local network or somewhere else. Right.

97
00:03:57.759 --> 00:04:01.439
<v Speaker 1>Okay, that makes sense. So wired up addresses understood. Now,

98
00:04:01.479 --> 00:04:04.520
<v Speaker 1>how do we talk to these Cisco devices, routers, switches.

99
00:04:04.719 --> 00:04:06.879
<v Speaker 2>That's the command line interface, the CLI, your.

100
00:04:06.759 --> 00:04:10.080
<v Speaker 1>Direct line in no fancy graphics, just task commands.

101
00:04:10.199 --> 00:04:12.240
<v Speaker 2>Pretty much. It's the primary way you can figure and

102
00:04:12.319 --> 00:04:13.280
<v Speaker 2>manage Cisco gear.

103
00:04:13.360 --> 00:04:15.280
<v Speaker 1>And there are shortcuts right right to save.

104
00:04:15.159 --> 00:04:18.600
<v Speaker 2>Typing Oh yeah, tons of them, big time savers like

105
00:04:18.839 --> 00:04:22.639
<v Speaker 2>typing COF then hitting the TB key It autocompletes to

106
00:04:22.680 --> 00:04:26.480
<v Speaker 2>configure terminal nice or just for able to get into

107
00:04:26.519 --> 00:04:27.199
<v Speaker 2>privilege mode.

108
00:04:27.959 --> 00:04:29.879
<v Speaker 1>Very handy, but you still need to know the full

109
00:04:29.920 --> 00:04:31.879
<v Speaker 1>command for exams usually.

110
00:04:31.879 --> 00:04:35.199
<v Speaker 2>Definitely good point. The shortcuts are for efficiency on the job.

111
00:04:35.439 --> 00:04:37.639
<v Speaker 1>And what if you forget a command or aren't sure

112
00:04:37.680 --> 00:04:38.839
<v Speaker 1>what options are available?

113
00:04:39.040 --> 00:04:42.319
<v Speaker 2>The question mark your best friend on the CLI? Yeah yep.

114
00:04:42.800 --> 00:04:45.800
<v Speaker 2>Just type bought on its own shows you all commands

115
00:04:45.839 --> 00:04:49.480
<v Speaker 2>in that mode. Type C or N shows commands starting

116
00:04:49.600 --> 00:04:53.639
<v Speaker 2>C or N or type of command like clock, then

117
00:04:53.680 --> 00:04:56.560
<v Speaker 2>a space then and it shows you what words or

118
00:04:56.600 --> 00:04:59.879
<v Speaker 2>parameters can come next. Super helpful, like a built in.

119
00:05:00.720 --> 00:05:03.680
<v Speaker 1>What about the setup mode? The guide mentions is that useful?

120
00:05:04.839 --> 00:05:07.360
<v Speaker 2>Not really for most people. It kicks in automatically if

121
00:05:07.399 --> 00:05:09.360
<v Speaker 2>a device has zero configuration.

122
00:05:09.079 --> 00:05:11.360
<v Speaker 1>Like brand new out of the box exactly, or you.

123
00:05:11.399 --> 00:05:13.959
<v Speaker 2>Can type set up. It's like a basic wizard, ask

124
00:05:14.040 --> 00:05:15.879
<v Speaker 2>you questions, but it's very limited.

125
00:05:15.959 --> 00:05:16.720
<v Speaker 1>Can't do much with it.

126
00:05:17.079 --> 00:05:22.160
<v Speaker 2>Nope, basic IP stuff maybe a password, no ACLS, no NAT.

127
00:05:23.439 --> 00:05:27.680
<v Speaker 2>Serious configuration requires the CLI. Most engineers skip.

128
00:05:27.519 --> 00:05:30.040
<v Speaker 1>It, gotcha, stick to the CLI definitely.

129
00:05:30.399 --> 00:05:33.079
<v Speaker 2>And speaking of the CLI, there are even more shortcuts,

130
00:05:33.120 --> 00:05:37.360
<v Speaker 2>like keyboard shortcuts that really boost productivity. Oh like what well,

131
00:05:37.480 --> 00:05:40.480
<v Speaker 2>Ctrl plus z is amazing, jumpt you right back to

132
00:05:40.519 --> 00:05:43.639
<v Speaker 2>privileged mode from anywhere, and configu mode saves typing end

133
00:05:43.800 --> 00:05:46.839
<v Speaker 2>or exit multiple times. Oh I like that. Ctrl plus

134
00:05:47.079 --> 00:05:49.959
<v Speaker 2>F moves forward a character, ec plus b moves back

135
00:05:50.000 --> 00:05:52.680
<v Speaker 2>a whole word. Ctrl plus e takes you to the

136
00:05:52.759 --> 00:05:53.680
<v Speaker 2>end of the line you're typing.

137
00:05:53.800 --> 00:05:55.480
<v Speaker 1>Handy for fixing typos totally.

138
00:05:55.720 --> 00:05:59.120
<v Speaker 2>And then there's command history. Ctrl plus P recalls previous

139
00:05:59.120 --> 00:06:01.800
<v Speaker 2>commands ctr we'll plug and recalls newer ones if you

140
00:06:01.879 --> 00:06:02.399
<v Speaker 2>went back too.

141
00:06:02.360 --> 00:06:04.959
<v Speaker 1>Far, so you don't have to retype everything exactly.

142
00:06:05.199 --> 00:06:07.519
<v Speaker 2>And you can even control how many commands get remembered

143
00:06:08.079 --> 00:06:10.639
<v Speaker 2>with terminal history size. And then a number. Default is

144
00:06:10.680 --> 00:06:12.519
<v Speaker 2>often just ten, but you can bump it up maybe

145
00:06:12.560 --> 00:06:15.000
<v Speaker 2>to fifty or one hundred max is two fifty six?

146
00:06:15.240 --> 00:06:16.519
<v Speaker 1>Why not? I always set it to max.

147
00:06:16.800 --> 00:06:19.399
<v Speaker 2>It uses a bit of router memory, probably not noticeable

148
00:06:19.439 --> 00:06:22.319
<v Speaker 2>on modern gear, but something to be aware of. There's

149
00:06:22.319 --> 00:06:24.319
<v Speaker 2>always a trade off. You can reset it with no

150
00:06:24.519 --> 00:06:26.279
<v Speaker 2>terminal history size. Okay. Cool.

151
00:06:26.399 --> 00:06:28.279
<v Speaker 1>Now, once you're configuring things, you need to see what's

152
00:06:28.279 --> 00:06:29.000
<v Speaker 1>going on right.

153
00:06:29.399 --> 00:06:31.879
<v Speaker 2>Verify stuff absolutely. That's where the show commands come in.

154
00:06:32.000 --> 00:06:36.279
<v Speaker 2>They are indispensable your eyes and ears inside the device.

155
00:06:37.199 --> 00:06:39.759
<v Speaker 1>So if something's broken, where do you start? What are

156
00:06:39.800 --> 00:06:40.839
<v Speaker 1>the key show commands?

157
00:06:41.040 --> 00:06:44.600
<v Speaker 2>Great question, It's less about memorizing a list and more

158
00:06:44.639 --> 00:06:47.480
<v Speaker 2>about thinking what do I need to check? I tend

159
00:06:47.519 --> 00:06:52.040
<v Speaker 2>to group them. Okay. First, basic connectivity and interfaces. Show

160
00:06:52.120 --> 00:06:54.800
<v Speaker 2>interfaces status gives you a quick look at all ports

161
00:06:54.839 --> 00:06:58.199
<v Speaker 2>of they up, down, connected, show interface fast Internet oh

162
00:06:58.240 --> 00:07:00.360
<v Speaker 2>one or whatever. It gives you detailed staff for that

163
00:07:00.480 --> 00:07:02.439
<v Speaker 2>specific port, error speed.

164
00:07:02.279 --> 00:07:04.079
<v Speaker 1>Duplex all right, checking the physical connection.

165
00:07:04.439 --> 00:07:07.839
<v Speaker 2>Then ipaddressing DOT show interface brief is fantastic, quick summary

166
00:07:07.879 --> 00:07:11.399
<v Speaker 2>dot interface, IP address is that up status protocol dot

167
00:07:12.160 --> 00:07:15.399
<v Speaker 2>super useful, And show ARP shows the mapping between IP

168
00:07:15.519 --> 00:07:18.759
<v Speaker 2>addresses and MC addresses the device has learned. Crucial for

169
00:07:18.879 --> 00:07:20.759
<v Speaker 2>Layer two troubleshooting makes sense.

170
00:07:21.079 --> 00:07:22.639
<v Speaker 1>What about the actual configuration.

171
00:07:23.000 --> 00:07:25.279
<v Speaker 2>That's where show running config comes in. Shows you the

172
00:07:25.360 --> 00:07:27.879
<v Speaker 2>active configuration what the device is using right now from

173
00:07:27.959 --> 00:07:31.639
<v Speaker 2>ramp absolutely vibe and you compare that to show startup

174
00:07:31.639 --> 00:07:34.160
<v Speaker 2>canfig that's the config saved and NVRMP the one the

175
00:07:34.240 --> 00:07:36.879
<v Speaker 2>loads on boot. If they're different, you know you haven't

176
00:07:36.920 --> 00:07:40.279
<v Speaker 2>saved your changes. Ah, the classic mistake happens all the time.

177
00:07:40.800 --> 00:07:44.279
<v Speaker 2>Then for routing, show ip rout that's your routing table.

178
00:07:44.800 --> 00:07:47.160
<v Speaker 2>How does this router know how to reach different networks?

179
00:07:47.600 --> 00:07:49.920
<v Speaker 2>It's all in there. And show protocols tells you about

180
00:07:49.920 --> 00:07:51.279
<v Speaker 2>the Layer three protocols.

181
00:07:50.879 --> 00:07:52.680
<v Speaker 1>Configured, got it any others?

182
00:07:52.800 --> 00:07:55.959
<v Speaker 2>Show version is good for checking the iOS software version, uptime,

183
00:07:56.040 --> 00:07:59.920
<v Speaker 2>hardware info. Show history dumps your command history buffer. Show

184
00:08:00.120 --> 00:08:03.040
<v Speaker 2>flash shows you the flash memory contents, Show clock for

185
00:08:03.120 --> 00:08:05.959
<v Speaker 2>the time, Show hosts for any local host named it

186
00:08:06.279 --> 00:08:07.240
<v Speaker 2>mappings you've set up.

187
00:08:07.319 --> 00:08:10.399
<v Speaker 1>Wow. Okay, so show commands are really your window into

188
00:08:10.439 --> 00:08:10.879
<v Speaker 1>the device.

189
00:08:11.040 --> 00:08:14.560
<v Speaker 2>Absolutely you live and breathe Show commands when managing Cisco gear.

190
00:08:14.600 --> 00:08:17.720
<v Speaker 1>Okay, let's zoom in on router. Specifically, they're the traffic

191
00:08:17.800 --> 00:08:20.560
<v Speaker 1>cops directing packets between.

192
00:08:20.319 --> 00:08:21.639
<v Speaker 2>Networks, directing the traffic.

193
00:08:21.720 --> 00:08:24.920
<v Speaker 1>Yeah, and configuring them means understanding those different modes you

194
00:08:24.959 --> 00:08:25.600
<v Speaker 1>mentioned earlier.

195
00:08:25.759 --> 00:08:29.399
<v Speaker 2>Right, you start in user mode usually just router prelimited.

196
00:08:29.519 --> 00:08:33.720
<v Speaker 2>Then enable gets you to privileged mode rater hashtag. Here

197
00:08:33.840 --> 00:08:37.639
<v Speaker 2>you can run show commands, debugs, save can figs, but

198
00:08:38.159 --> 00:08:42.000
<v Speaker 2>still can't make changes. For changes, you need configure terminal

199
00:08:42.240 --> 00:08:45.120
<v Speaker 2>or can fig for short. That takes you into global

200
00:08:45.200 --> 00:08:48.840
<v Speaker 2>configuration mode router can fig hashtag. This is where the

201
00:08:48.879 --> 00:08:51.440
<v Speaker 2>real work happens, and from there you can go deeper. YEP,

202
00:08:51.919 --> 00:08:54.879
<v Speaker 2>interface faster at a zero zero takes you to interface

203
00:08:54.960 --> 00:08:59.039
<v Speaker 2>mode router configure hashtag or router ospe f one takes

204
00:08:59.080 --> 00:09:03.240
<v Speaker 2>you to router configure mode reader figure outer hashtag. There

205
00:09:03.279 --> 00:09:06.279
<v Speaker 2>are also modes for lines, can fig line the sub interfaces,

206
00:09:06.360 --> 00:09:07.919
<v Speaker 2>config soubif key thing.

207
00:09:07.960 --> 00:09:10.360
<v Speaker 1>Is different commands work in different modes.

208
00:09:10.200 --> 00:09:12.519
<v Speaker 2>Exactly, And first thing you usually do in global config

209
00:09:12.799 --> 00:09:13.480
<v Speaker 2>get the writer or a.

210
00:09:13.559 --> 00:09:15.840
<v Speaker 1>Name post name R one or whatever post name name Yeah.

211
00:09:15.879 --> 00:09:17.960
<v Speaker 2>Yeah. Good practice for identification.

212
00:09:17.480 --> 00:09:21.279
<v Speaker 1>And security is paramount right passwords, oh absolute foundational.

213
00:09:21.559 --> 00:09:24.120
<v Speaker 2>You've got two main enabled passwords.

214
00:09:23.679 --> 00:09:25.159
<v Speaker 1>The ones to get into privileged mode.

215
00:09:25.440 --> 00:09:28.440
<v Speaker 2>Right enable password password is the old way stores in

216
00:09:28.600 --> 00:09:32.320
<v Speaker 2>plaintext and the config bad idea to so avoid that one, yes,

217
00:09:32.799 --> 00:09:35.799
<v Speaker 2>always use enable secret password. This one uses stronger encryption

218
00:09:36.000 --> 00:09:39.000
<v Speaker 2>MT five hashing usually much more secure, and if you

219
00:09:39.039 --> 00:09:42.759
<v Speaker 2>can figure both the enabled secret wins, it always overrides

220
00:09:42.799 --> 00:09:43.639
<v Speaker 2>the enabled password.

221
00:09:43.759 --> 00:09:46.799
<v Speaker 1>Good to know. What about passwords for actually logging in,

222
00:09:47.080 --> 00:09:49.080
<v Speaker 1>like over the console cable or remotely?

223
00:09:49.240 --> 00:09:52.120
<v Speaker 2>Yep, you secure those lines too, Line console zero for

224
00:09:52.200 --> 00:09:56.039
<v Speaker 2>the console port line VTIO four typically covers the five

225
00:09:56.159 --> 00:10:01.399
<v Speaker 2>virtual terminal lines for Telnet or SSH, LINEO zero for

226
00:10:01.519 --> 00:10:04.639
<v Speaker 2>the auxiliary report. In the commands inside the line config mode,

227
00:10:05.039 --> 00:10:08.159
<v Speaker 2>use password to set it, and then critically you must

228
00:10:08.200 --> 00:10:10.440
<v Speaker 2>type log in to tell a router to actually check

229
00:10:10.519 --> 00:10:11.840
<v Speaker 2>for that password on login.

230
00:10:11.639 --> 00:10:13.919
<v Speaker 1>Attempts okay password, then log in right.

231
00:10:14.200 --> 00:10:17.440
<v Speaker 2>And there's also service password encryption. This command applies a

232
00:10:17.519 --> 00:10:19.960
<v Speaker 2>very weak encryption to all plaintext passwords in the config

233
00:10:20.360 --> 00:10:24.080
<v Speaker 2>like the line passwords or if you foolishly used enable password.

234
00:10:23.799 --> 00:10:24.759
<v Speaker 1>Is it actually secure?

235
00:10:25.000 --> 00:10:28.200
<v Speaker 2>Not really, it's easily breakable. It just stops casual shoulder surfing.

236
00:10:28.879 --> 00:10:30.919
<v Speaker 2>Enable secret is the only strong one built in for

237
00:10:30.960 --> 00:10:34.440
<v Speaker 2>the enabled password. If you turn off service password encryption later,

238
00:10:35.000 --> 00:10:37.320
<v Speaker 2>any passwords that weakly encrypted stay that way.

239
00:10:38.000 --> 00:10:41.159
<v Speaker 1>So just to be clear. Why is an able password

240
00:10:41.440 --> 00:10:43.759
<v Speaker 1>such a bad idea? How quickly could that bite you?

241
00:10:44.000 --> 00:10:46.840
<v Speaker 2>Instantly? If anyone gets a copy of your config file,

242
00:10:47.080 --> 00:10:49.159
<v Speaker 2>maybe a backup, maybe through some other access, they just

243
00:10:49.200 --> 00:10:52.559
<v Speaker 2>read the password. It's right there, no guessing, no cracking required,

244
00:10:53.320 --> 00:10:56.320
<v Speaker 2>enable secret hashes it so even seeing the config doesn't

245
00:10:56.320 --> 00:11:00.559
<v Speaker 2>give away the password directly. It's a basic essential secure step.

246
00:11:00.799 --> 00:11:05.240
<v Speaker 1>Okay, message received, use an able secret. Now interfaces, the

247
00:11:05.360 --> 00:11:07.480
<v Speaker 1>actual connections, how do we configure those?

248
00:11:07.679 --> 00:11:10.399
<v Speaker 2>Right? So you navigate using interface followed by the type

249
00:11:10.440 --> 00:11:14.000
<v Speaker 2>in number like interface cereal zero zero zero, interface faceter

250
00:11:14.000 --> 00:11:14.840
<v Speaker 2>and at zero zero.

251
00:11:15.080 --> 00:11:17.039
<v Speaker 1>And you warned the prompt doesn't always change.

252
00:11:17.120 --> 00:11:20.399
<v Speaker 2>Yeah, it might just say rote or configu hashagg regardless

253
00:11:20.399 --> 00:11:23.080
<v Speaker 2>of whether you're in serial zero zero, fascinated at zero zero,

254
00:11:23.639 --> 00:11:25.639
<v Speaker 2>keep track, exit moves you back up one level.

255
00:11:25.759 --> 00:11:28.519
<v Speaker 1>Okay. Let's say we're configuring a serial interface like for

256
00:11:28.639 --> 00:11:29.360
<v Speaker 1>a WAN link.

257
00:11:29.679 --> 00:11:35.039
<v Speaker 2>Okay, so interface serial zero zero zero zero. Good practice

258
00:11:35.039 --> 00:11:37.840
<v Speaker 2>to add a description like description link to main office

259
00:11:38.279 --> 00:11:42.200
<v Speaker 2>helps document things and the IP address, app dress, subnetmask,

260
00:11:42.440 --> 00:11:43.480
<v Speaker 2>standard stuff.

261
00:11:43.360 --> 00:11:45.799
<v Speaker 1>And the special thing for cereal the clock rate.

262
00:11:46.399 --> 00:11:48.559
<v Speaker 2>If you have the DCE cable, the one providing the

263
00:11:48.600 --> 00:11:51.120
<v Speaker 2>timing signal for the link You must set the clock

264
00:11:51.240 --> 00:11:54.080
<v Speaker 2>rate speed command on that interface only needed on the

265
00:11:54.159 --> 00:11:54.919
<v Speaker 2>DCE side.

266
00:11:54.960 --> 00:11:55.720
<v Speaker 1>How do you know the speed?

267
00:11:56.000 --> 00:11:58.840
<v Speaker 2>Usually determined by the service provider or the capabilities of

268
00:11:58.840 --> 00:12:02.639
<v Speaker 2>the link fin no shutdown to actually turn the interface on,

269
00:12:02.879 --> 00:12:05.080
<v Speaker 2>They're off by default? No shutdown? Got it?

270
00:12:05.279 --> 00:12:07.679
<v Speaker 1>And for fast Ethernet like connecting to a land switch.

271
00:12:07.600 --> 00:12:11.759
<v Speaker 2>Simpler interface fast Ethernet zero zero maybe a description then

272
00:12:12.120 --> 00:12:15.600
<v Speaker 2>IP address, IP address, subnet mask and no shutdown. No

273
00:12:15.759 --> 00:12:16.679
<v Speaker 2>clock rate needed there?

274
00:12:16.759 --> 00:12:19.399
<v Speaker 1>Okay? What about those messages you sometimes see when you

275
00:12:19.519 --> 00:12:22.519
<v Speaker 1>log into a device, like warnings or welcome messages.

276
00:12:22.240 --> 00:12:25.120
<v Speaker 2>Ah banners? Yeah, you could set those banner mot hashtag,

277
00:12:25.200 --> 00:12:27.919
<v Speaker 2>message here, hashtag attag. The hashtag is a deliminter. You

278
00:12:27.960 --> 00:12:30.600
<v Speaker 2>can use any character not nut in your message. MOTD

279
00:12:30.759 --> 00:12:32.879
<v Speaker 2>stands for Message of the day. When does that show

280
00:12:33.000 --> 00:12:36.240
<v Speaker 2>up after successful log in? Usually there's also banner log

281
00:12:36.320 --> 00:12:40.120
<v Speaker 2>in hashtag message hashtag which shows up before the login prompt.

282
00:12:40.720 --> 00:12:43.320
<v Speaker 2>MOOTD usually takes precedence if both are set. Good for

283
00:12:43.399 --> 00:12:44.639
<v Speaker 2>legal disclaimers or warnings?

284
00:12:44.759 --> 00:12:47.799
<v Speaker 1>Cool? You mentioned show hosts earlier? Can you manually set those?

285
00:12:48.000 --> 00:12:51.159
<v Speaker 2>You can use IPPO host name, IP address so you

286
00:12:51.200 --> 00:12:53.879
<v Speaker 2>could do IIP post server one one nine two point

287
00:12:53.919 --> 00:12:55.720
<v Speaker 2>one sixty eight point one one one on a zero.

288
00:12:56.559 --> 00:13:00.240
<v Speaker 2>Then on that router you could potentially ping server one

289
00:13:00.480 --> 00:13:03.000
<v Speaker 2>instead of the IP. It's just a local mapping on

290
00:13:03.120 --> 00:13:03.600
<v Speaker 2>that device.

291
00:13:03.759 --> 00:13:05.679
<v Speaker 1>Handy for remembering key servers.

292
00:13:05.919 --> 00:13:08.320
<v Speaker 2>Yeah, and related to look ups. By default, if you

293
00:13:08.360 --> 00:13:10.720
<v Speaker 2>type something the router doesn't recognize as a command, it

294
00:13:10.879 --> 00:13:13.440
<v Speaker 2>tries to resolve it via DNS, thinking it's a host

295
00:13:13.519 --> 00:13:14.600
<v Speaker 2>name you want to connect.

296
00:13:14.320 --> 00:13:16.039
<v Speaker 1>To, and that can be slow. If you just made

297
00:13:16.039 --> 00:13:16.799
<v Speaker 1>a typo.

298
00:13:16.799 --> 00:13:18.919
<v Speaker 2>Exactly, it hangs for a bit. Try to contact a

299
00:13:19.000 --> 00:13:21.200
<v Speaker 2>DNS server. You can turn that off with no IP

300
00:13:21.279 --> 00:13:23.840
<v Speaker 2>domain lookup. Saves a lot of frustration from typos.

301
00:13:24.000 --> 00:13:26.879
<v Speaker 1>Good tip. All right, any other really useful general commands

302
00:13:26.919 --> 00:13:27.279
<v Speaker 1>we should know?

303
00:13:27.480 --> 00:13:30.759
<v Speaker 2>Yeah, a few life savers. No logging synchronous ever. Typing

304
00:13:30.799 --> 00:13:33.320
<v Speaker 2>a command and a console message like percent link fine

305
00:13:33.320 --> 00:13:35.120
<v Speaker 2>you be down? Yeah, pops up right in the middle

306
00:13:35.120 --> 00:13:35.519
<v Speaker 2>of your line.

307
00:13:35.720 --> 00:13:37.679
<v Speaker 1>Yes, so annoying.

308
00:13:38.080 --> 00:13:41.879
<v Speaker 2>No logging synchronous stops that. It ensures your command prompt

309
00:13:42.200 --> 00:13:45.440
<v Speaker 2>reappears cleanly below the message, so you don't lose your place.

310
00:13:46.240 --> 00:13:48.120
<v Speaker 1>Essential Okay, definitely using that one.

311
00:13:48.279 --> 00:13:51.559
<v Speaker 2>Then exact timeout sets how long a console or vty

312
00:13:51.679 --> 00:13:53.919
<v Speaker 2>session can be idle before it logs you out. Yeah,

313
00:13:54.080 --> 00:13:57.360
<v Speaker 2>exact time out one hundred zero means ten minutes, zero seconds,

314
00:13:57.679 --> 00:14:01.600
<v Speaker 2>good security practice. What about zero zero means never time out?

315
00:14:02.159 --> 00:14:04.679
<v Speaker 2>Big security hole. Don't do that on production.

316
00:14:04.399 --> 00:14:06.799
<v Speaker 1>Gear right, and saving your work crucial.

317
00:14:07.159 --> 00:14:10.000
<v Speaker 2>Copy running config, startup config, or copyrun start for short

318
00:14:10.279 --> 00:14:12.679
<v Speaker 2>saves the act of config from RAM to envy RAM.

319
00:14:12.879 --> 00:14:17.080
<v Speaker 2>If you don't do this and the router reboots, all gone, yep, mistake,

320
00:14:17.159 --> 00:14:19.759
<v Speaker 2>you only make ones. You can also erase startup config

321
00:14:19.879 --> 00:14:22.759
<v Speaker 2>to wipe the save config for starting fresh and copy

322
00:14:22.879 --> 00:14:25.519
<v Speaker 2>running config. TFTP lets you back up your config to

323
00:14:25.559 --> 00:14:28.799
<v Speaker 2>a TFTP serve on the network. Good for disaster recovery.

324
00:14:28.919 --> 00:14:30.720
<v Speaker 1>And that do command you mentioned right do.

325
00:14:31.080 --> 00:14:34.399
<v Speaker 2>Let's say you're deep in interface configuration mode. Router can

326
00:14:34.440 --> 00:14:37.840
<v Speaker 2>fig ashtag ETI. Normally to see the running config, you'd

327
00:14:37.879 --> 00:14:40.080
<v Speaker 2>have to type end then show running config.

328
00:14:40.200 --> 00:14:41.480
<v Speaker 1>Yeah, jump back out with do.

329
00:14:41.879 --> 00:14:44.720
<v Speaker 2>You can just type do show running config right there

330
00:14:44.759 --> 00:14:47.960
<v Speaker 2>in interface mode. It executes the show command without making

331
00:14:48.000 --> 00:14:51.120
<v Speaker 2>you leave config mode. Huge time saver, but it doesn't

332
00:14:51.159 --> 00:14:53.919
<v Speaker 2>work for everything. Doesn't work for commands that change your mode,

333
00:14:54.000 --> 00:14:56.879
<v Speaker 2>like configure terminal itself, but for most show commands, ping

334
00:14:57.320 --> 00:14:57.799
<v Speaker 2>trace for it.

335
00:14:58.200 --> 00:15:02.120
<v Speaker 1>That's pert awesome, Okay configured. How do they learn about

336
00:15:02.200 --> 00:15:04.759
<v Speaker 1>networks beyond the ones directly plugged into them?

337
00:15:05.080 --> 00:15:07.919
<v Speaker 2>Ah, Now we get into routing. How riders build their

338
00:15:07.960 --> 00:15:09.639
<v Speaker 2>maps of the internetwork.

339
00:15:09.159 --> 00:15:11.240
<v Speaker 1>Starts with static routes the manual way.

340
00:15:11.440 --> 00:15:14.679
<v Speaker 2>Often yeah, simple scenarios. The command is that brot, then

341
00:15:14.679 --> 00:15:17.879
<v Speaker 2>the destination network, then the subnet mask of that destination,

342
00:15:18.120 --> 00:15:19.720
<v Speaker 2>than how to get there. How to get there could

343
00:15:19.720 --> 00:15:22.039
<v Speaker 2>be either the IP address of the next router in

344
00:15:22.120 --> 00:15:25.440
<v Speaker 2>the path, next hopyup, or the router's own exit interface

345
00:15:25.480 --> 00:15:28.080
<v Speaker 2>that leads toward that network. Example, it proved ten point

346
00:15:28.120 --> 00:15:31.000
<v Speaker 2>one point two point zero two five five point two

347
00:15:31.039 --> 00:15:33.279
<v Speaker 2>five five point two five five point zero one ninety

348
00:15:33.279 --> 00:15:35.679
<v Speaker 2>two point one sixty eight point one point one that

349
00:15:35.919 --> 00:15:38.440
<v Speaker 2>tells the router to reach the ten point one point

350
00:15:38.480 --> 00:15:40.960
<v Speaker 2>two point zero network. Send packets to the router at

351
00:15:41.000 --> 00:15:43.480
<v Speaker 2>one ninety two point one sixty eight point one point one.

352
00:15:43.600 --> 00:15:45.679
<v Speaker 1>Simple enough, but they're temporary by default.

353
00:15:45.799 --> 00:15:48.279
<v Speaker 2>Yeah. If the interface used to reach the next hop

354
00:15:48.360 --> 00:15:51.720
<v Speaker 2>goes down, the static route disappears. From the routing table.

355
00:15:51.919 --> 00:15:54.080
<v Speaker 2>You can add the permanent keyword at the end if

356
00:15:54.120 --> 00:15:56.279
<v Speaker 2>you want it to stay even if the interface is down.

357
00:15:56.399 --> 00:15:57.919
<v Speaker 2>But that's less common.

358
00:15:58.440 --> 00:16:00.919
<v Speaker 1>Okay, But what if a router learn multiple ways to

359
00:16:00.960 --> 00:16:03.200
<v Speaker 1>get to the same place, maybe a static route and

360
00:16:03.360 --> 00:16:05.120
<v Speaker 1>also a dynamic protocol.

361
00:16:05.320 --> 00:16:09.200
<v Speaker 2>Excellent question. That's where administrative distance or AD comes in.

362
00:16:09.360 --> 00:16:11.159
<v Speaker 1>AD sounds important. It is.

363
00:16:11.240 --> 00:16:13.120
<v Speaker 2>It's a number from zero to two fifty five that

364
00:16:13.240 --> 00:16:17.159
<v Speaker 2>represents how trustworthy a routing source is. Lower number means

365
00:16:17.240 --> 00:16:18.559
<v Speaker 2>more trustworthy, So the.

366
00:16:18.639 --> 00:16:21.080
<v Speaker 1>Router picks the path with the lowest AD.

367
00:16:21.399 --> 00:16:23.519
<v Speaker 2>Exactly if it learns about the same network from two

368
00:16:23.559 --> 00:16:26.200
<v Speaker 2>different sources, it installs the route with the lower AD

369
00:16:26.480 --> 00:16:27.360
<v Speaker 2>into the routing table.

370
00:16:27.679 --> 00:16:29.399
<v Speaker 1>What are some typical AD values.

371
00:16:29.519 --> 00:16:32.279
<v Speaker 2>A directly connected network has an AD of zero. Can't

372
00:16:32.320 --> 00:16:34.679
<v Speaker 2>be that it's plugged right in, makes sense. A static

373
00:16:34.799 --> 00:16:38.320
<v Speaker 2>route has a default AD of one, very trustworthy because

374
00:16:38.360 --> 00:16:41.799
<v Speaker 2>you manually configured it. Okay, Then the dynamic protocols EIGRP

375
00:16:41.960 --> 00:16:45.279
<v Speaker 2>is ninety, OSPF is one ten, RIP is one twenty.

376
00:16:45.320 --> 00:16:49.320
<v Speaker 1>So EIGRP is preferred over OSPF, which is preferred over RIP.

377
00:16:49.559 --> 00:16:50.919
<v Speaker 1>If they all offer a route.

378
00:16:50.879 --> 00:16:54.440
<v Speaker 2>By default, yes, and two fifty five means totally untrusted,

379
00:16:54.759 --> 00:16:55.840
<v Speaker 2>the route won't be used.

380
00:16:56.080 --> 00:16:57.799
<v Speaker 1>Can you use this AD cleverly.

381
00:16:58.240 --> 00:17:01.639
<v Speaker 2>Absolutely, that's the idea behind and floating static routes. Imagine

382
00:17:01.639 --> 00:17:04.599
<v Speaker 2>you're running EI g RP eighty ninety as your main

383
00:17:04.720 --> 00:17:07.599
<v Speaker 2>routing protocol. You could configure a static route for the

384
00:17:07.640 --> 00:17:10.680
<v Speaker 2>same destination, but manually give it a higher AD, say

385
00:17:10.799 --> 00:17:11.279
<v Speaker 2>one hundred.

386
00:17:11.519 --> 00:17:13.559
<v Speaker 1>So normally the EIGRP route.

387
00:17:13.359 --> 00:17:16.400
<v Speaker 2>Is used, right, but if the e I goop route disappears,

388
00:17:17.200 --> 00:17:19.960
<v Speaker 2>maybe the link fails, the router sees the static route

389
00:17:20.000 --> 00:17:22.119
<v Speaker 2>with eighty one hundred is now the best path, and

390
00:17:22.240 --> 00:17:24.039
<v Speaker 2>it floats into the routing table as a backup.

391
00:17:24.240 --> 00:17:26.279
<v Speaker 1>Ah cool, automatic backup.

392
00:17:26.079 --> 00:17:29.400
<v Speaker 2>Exactly intelligent failover using AD. And then there are default

393
00:17:29.480 --> 00:17:32.400
<v Speaker 2>routes the route of last resource decisely ap route one

394
00:17:32.480 --> 00:17:35.200
<v Speaker 2>ozero point zero point zero point zero point zero point zero,

395
00:17:35.519 --> 00:17:38.319
<v Speaker 2>followed by the next hop or exit interface. It basically means,

396
00:17:38.480 --> 00:17:40.680
<v Speaker 2>if you don't have a specific route for this destination

397
00:17:40.759 --> 00:17:43.279
<v Speaker 2>at your table, send it here, usually points towards your

398
00:17:43.319 --> 00:17:45.160
<v Speaker 2>ISP or core network, and you check all this one

399
00:17:45.240 --> 00:17:47.640
<v Speaker 2>shoe iproot your main command for viewing the routing table

400
00:17:47.680 --> 00:17:50.000
<v Speaker 2>and seeing which routes are active. They're ad metric and

401
00:17:50.079 --> 00:17:50.680
<v Speaker 2>how they were learned.

402
00:17:50.720 --> 00:17:53.160
<v Speaker 1>Okay, so static routes are manual. What about the dynamic

403
00:17:53.240 --> 00:17:56.920
<v Speaker 1>ones you mentioned RIP E I g r POSPF right.

404
00:17:57.000 --> 00:17:59.799
<v Speaker 2>Those are the protocols routers used to automatically share routing

405
00:18:00.000 --> 00:18:03.079
<v Speaker 2>information with each other, much more scalable for larger networks.

406
00:18:03.279 --> 00:18:06.720
<v Speaker 1>Let's maybe touch on each one briefly, starting with RIP sure.

407
00:18:06.640 --> 00:18:10.960
<v Speaker 2>RIP Routing Information Protocol. It's a pretty old simple distance

408
00:18:11.039 --> 00:18:13.319
<v Speaker 2>vector protocol. You enable it with router RIP, then tell

409
00:18:13.359 --> 00:18:16.119
<v Speaker 2>it what networks to advertise YEP using the network command.

410
00:18:16.720 --> 00:18:19.720
<v Speaker 2>But crucially with RP version one and sometimes version two,

411
00:18:20.200 --> 00:18:22.960
<v Speaker 2>you use the classical network number like network one nine

412
00:18:23.000 --> 00:18:25.880
<v Speaker 2>two point one six eight point one one point zero,

413
00:18:26.279 --> 00:18:27.839
<v Speaker 2>even if you're using subnets within.

414
00:18:27.799 --> 00:18:28.799
<v Speaker 1>That class four. Okay.

415
00:18:29.000 --> 00:18:32.319
<v Speaker 2>Version two is better supports subnet masks. It's common to

416
00:18:32.400 --> 00:18:34.799
<v Speaker 2>use version two and no auto summary to stop it

417
00:18:34.839 --> 00:18:38.759
<v Speaker 2>from doing unhelpful classful summarization. You might also use passive

418
00:18:38.799 --> 00:18:42.400
<v Speaker 2>interface on interfaces facing users, so RIT updates don't go

419
00:18:42.480 --> 00:18:45.240
<v Speaker 2>out there and troubleshooting debug IP RIP shows you the

420
00:18:45.319 --> 00:18:48.240
<v Speaker 2>updates being sent or received. Also show a protocols gives

421
00:18:48.279 --> 00:18:50.160
<v Speaker 2>you info about RIP timers and settings.

422
00:18:50.359 --> 00:18:53.680
<v Speaker 1>Got it next up E I g RP E I g.

423
00:18:53.839 --> 00:18:58.960
<v Speaker 2>RP Enhanced Interior Gateway Routing Protocol Cisco proprietary but very popular.

424
00:18:59.039 --> 00:19:01.400
<v Speaker 2>It's an advanced distance sometimes called hybrid.

425
00:19:01.480 --> 00:19:02.200
<v Speaker 1>How do you turn it on?

426
00:19:02.680 --> 00:19:05.680
<v Speaker 2>Router I GRIP followed by an autonomous system number like

427
00:19:05.839 --> 00:19:09.200
<v Speaker 2>router I GRIP one hundred. This as number must match

428
00:19:09.279 --> 00:19:10.839
<v Speaker 2>on all routers you want to become neighbors.

429
00:19:11.079 --> 00:19:13.240
<v Speaker 1>Okay, as number is key. What else?

430
00:19:13.440 --> 00:19:16.759
<v Speaker 2>EIGRP uses metrics based on bandwidth and delay. By default,

431
00:19:17.359 --> 00:19:21.319
<v Speaker 2>the bandwidth command on interface influences the calculation, but doesn't

432
00:19:21.319 --> 00:19:25.160
<v Speaker 2>actually change the interface speed. It supports unequal cost load

433
00:19:25.240 --> 00:19:28.759
<v Speaker 2>balancing using the variance command. Like RIP, no auto summary

434
00:19:28.839 --> 00:19:29.720
<v Speaker 2>is usually recommended.

435
00:19:29.839 --> 00:19:30.720
<v Speaker 1>What about security?

436
00:19:30.880 --> 00:19:34.880
<v Speaker 2>EIGRP has robust MT five authentication. You create a key chain,

437
00:19:35.319 --> 00:19:37.839
<v Speaker 2>define key numbers and key string passwords and apply it

438
00:19:37.880 --> 00:19:40.799
<v Speaker 2>to the interface and choos. Routers only accept updates from

439
00:19:40.839 --> 00:19:44.440
<v Speaker 2>trusted neighbors. Very important o'ifying EIGRP show at P c

440
00:19:44.440 --> 00:19:47.960
<v Speaker 2>rep neighbors to see adjacent routers, show apic GRIP topology,

441
00:19:48.000 --> 00:19:51.599
<v Speaker 2>shows the routes. EIGRP knows about debug I GRIP packets

442
00:19:51.640 --> 00:19:53.400
<v Speaker 2>for deep troubleshooting.

443
00:19:52.920 --> 00:19:55.240
<v Speaker 1>Cool and finally, OSPF.

444
00:19:54.839 --> 00:19:58.839
<v Speaker 2>OSPF Open Shortest Path first industry standard link state protocol

445
00:19:59.039 --> 00:20:00.319
<v Speaker 2>very scalable wide use.

446
00:20:00.400 --> 00:20:01.920
<v Speaker 1>How it's a configure router OS.

447
00:20:01.880 --> 00:20:04.599
<v Speaker 2>Followed by a process eight like router os one. This

448
00:20:04.720 --> 00:20:07.200
<v Speaker 2>idea is just locally significant. It doesn't have to match

449
00:20:07.240 --> 00:20:07.920
<v Speaker 2>between routers.

450
00:20:08.039 --> 00:20:10.440
<v Speaker 1>Okay, different from eigrp's AS number.

451
00:20:10.559 --> 00:20:12.799
<v Speaker 2>Right. Then you use the network command. But it's different

452
00:20:12.839 --> 00:20:17.319
<v Speaker 2>here network IP address, wildcard mask, area, area card mask.

453
00:20:17.400 --> 00:20:17.640
<v Speaker 1>What's that?

454
00:20:17.799 --> 00:20:20.799
<v Speaker 2>It's like an inverted subnet maask zeros mean match this

455
00:20:20.920 --> 00:20:23.799
<v Speaker 2>bit exactly, ones mean ignore this bit. So network one

456
00:20:23.920 --> 00:20:27.039
<v Speaker 2>ninety two point one six eight point hero zero point

457
00:20:27.039 --> 00:20:29.880
<v Speaker 2>two five to five. Area zero means enable OSPF on

458
00:20:30.000 --> 00:20:32.480
<v Speaker 2>any interface whose IP starts with a one ninety two

459
00:20:32.519 --> 00:20:35.200
<v Speaker 2>point one sixty eight point one. The area is crucial

460
00:20:35.319 --> 00:20:37.400
<v Speaker 2>for osps's hierarchical design.

461
00:20:37.200 --> 00:20:39.240
<v Speaker 1>And loopback interfaces are important.

462
00:20:38.880 --> 00:20:41.480
<v Speaker 2>Often use for the routar eight. OSPF needs a unique

463
00:20:41.519 --> 00:20:44.480
<v Speaker 2>ID for each router. A loopback interface IP is stable

464
00:20:44.519 --> 00:20:47.400
<v Speaker 2>because it never goes down unless manually shut down, making

465
00:20:47.440 --> 00:20:49.119
<v Speaker 2>it a good source for the router ID. What else

466
00:20:49.160 --> 00:20:51.960
<v Speaker 2>is key for OSPF on multi access networks like ethernet,

467
00:20:52.039 --> 00:20:56.400
<v Speaker 2>OSPF ALEXA designated router DR and backup DR. To manage adjacencies,

468
00:20:56.640 --> 00:20:59.039
<v Speaker 2>you can influence this with EPUS five priority on the

469
00:20:59.119 --> 00:21:03.240
<v Speaker 2>interface priority wins Priority zero means it can't become DRBDR.

470
00:21:03.559 --> 00:21:07.480
<v Speaker 2>OSPF uses cost calculated from interface bandwidth. Lower cost is

471
00:21:07.519 --> 00:21:11.119
<v Speaker 2>better higher band with lower cost. Authentication is also supported.

472
00:21:11.200 --> 00:21:15.079
<v Speaker 2>Simple textor MD five and OSBF timers the hello interval

473
00:21:15.119 --> 00:21:17.880
<v Speaker 2>and dead interval months match between neighbors for them to

474
00:21:17.920 --> 00:21:18.319
<v Speaker 2>form an.

475
00:21:18.200 --> 00:21:20.920
<v Speaker 1>Adjacency verifying OSPF show.

476
00:21:20.759 --> 00:21:23.039
<v Speaker 2>IP your ref of neighbor is key, show IP ASP

477
00:21:23.119 --> 00:21:27.000
<v Speaker 2>of database shows the link state information, debug APAASP events

478
00:21:27.039 --> 00:21:30.960
<v Speaker 2>helps troubleshoot adjacency issues. OSPF is powerful, especially in larger

479
00:21:31.000 --> 00:21:31.839
<v Speaker 2>complex networks.

480
00:21:31.920 --> 00:21:35.240
<v Speaker 1>Okay, that's a whirlwind tour of routing. Let's switch gears.

481
00:21:35.279 --> 00:21:37.079
<v Speaker 1>Now move from the wide area network down to the

482
00:21:37.160 --> 00:21:38.799
<v Speaker 1>local network switches.

483
00:21:38.599 --> 00:21:41.720
<v Speaker 2>Right connecting devices within the same building or floor, typically

484
00:21:42.319 --> 00:21:43.400
<v Speaker 2>managing local traffic.

485
00:21:43.519 --> 00:21:46.200
<v Speaker 1>Switches have modes like routers too, YEP user.

486
00:21:46.079 --> 00:21:50.799
<v Speaker 2>Mode, switch, privileged mode, switch, hashtag, global config. Very similar

487
00:21:50.839 --> 00:21:53.240
<v Speaker 2>feel it is show commands many of the same show version,

488
00:21:53.319 --> 00:21:56.799
<v Speaker 2>show running canfig but also switch specific ones like showflan,

489
00:21:57.039 --> 00:21:59.680
<v Speaker 2>showmac address table, show interfaces status.

490
00:21:59.720 --> 00:22:01.960
<v Speaker 1>How do you configure basic switch info?

491
00:22:02.319 --> 00:22:05.039
<v Speaker 2>Pretty much like a router hostname name to say, the team.

492
00:22:05.400 --> 00:22:09.599
<v Speaker 2>Password configuration is identical. Enable secret line console, zero line

493
00:22:09.799 --> 00:22:13.319
<v Speaker 2>vt AoE fifteen switches often to have more vty lines,

494
00:22:13.680 --> 00:22:16.400
<v Speaker 2>password log in service, password encryption.

495
00:22:16.759 --> 00:22:18.799
<v Speaker 1>Can you give us switch an IP address? I thought

496
00:22:18.799 --> 00:22:20.000
<v Speaker 1>there were layer two devices?

497
00:22:20.079 --> 00:22:23.440
<v Speaker 2>Good question. They operate primarily at layer two. Yes, forwarding

498
00:22:23.519 --> 00:22:27.799
<v Speaker 2>based on AIRP addresses. But for management, so you can

499
00:22:27.880 --> 00:22:30.720
<v Speaker 2>telnet or SSH into the switch, you need an IP

500
00:22:30.799 --> 00:22:33.039
<v Speaker 2>address where you can figure that on a switched virtual

501
00:22:33.119 --> 00:22:37.720
<v Speaker 2>interface or SVII, usually interface FLAN one. By default, you

502
00:22:37.839 --> 00:22:40.279
<v Speaker 2>go to that interface, assign an app address of address,

503
00:22:40.319 --> 00:22:43.680
<v Speaker 2>subnet mask and no shutdown. You also need to configure

504
00:22:43.680 --> 00:22:47.000
<v Speaker 2>a default gateway for the switch using I Default Gateway

505
00:22:47.079 --> 00:22:49.319
<v Speaker 2>Gateway IP in global CONFIGU mode, so you can reach

506
00:22:49.400 --> 00:22:50.960
<v Speaker 2>management stations on other networks.

507
00:22:51.079 --> 00:22:53.440
<v Speaker 1>Huh okay, so the IP is just for managing the

508
00:22:53.480 --> 00:22:54.599
<v Speaker 1>switch itself exactly.

509
00:22:54.759 --> 00:22:57.920
<v Speaker 2>You can also set interface descriptions, configure speed in duplex settings.

510
00:22:58.000 --> 00:22:59.920
<v Speaker 2>Auto is common, but sometimes you need to hard code them.

511
00:23:00.039 --> 00:23:01.759
<v Speaker 1>And resetting a switch reload.

512
00:23:01.519 --> 00:23:04.279
<v Speaker 2>Restarts it right. A restartup config wipes the safe config

513
00:23:04.559 --> 00:23:07.039
<v Speaker 2>but wiping VLAN infos different. You need to erase flash

514
00:23:07.119 --> 00:23:10.440
<v Speaker 2>dot vland DOTU. Careful with that command, very careful, make

515
00:23:10.480 --> 00:23:12.960
<v Speaker 2>sure you type the call incorrectly. Flash dot vland dot

516
00:23:13.039 --> 00:23:15.519
<v Speaker 2>dot dat. If you just do a race flash, you

517
00:23:15.559 --> 00:23:17.279
<v Speaker 2>could wipe the entire operating system.

518
00:23:17.440 --> 00:23:21.119
<v Speaker 1>Hikes. Okay, Switches work with MPO addresses, right, How do

519
00:23:21.160 --> 00:23:21.839
<v Speaker 1>you manage those?

520
00:23:22.319 --> 00:23:25.160
<v Speaker 2>They learn app addresses automatically by looking at the source

521
00:23:25.200 --> 00:23:28.119
<v Speaker 2>address of frames coming into each port. They build a

522
00:23:28.200 --> 00:23:31.240
<v Speaker 2>macaddress table sometimes it's called a CAM table. You can

523
00:23:31.240 --> 00:23:32.720
<v Speaker 2>see it with show Mac address table.

524
00:23:32.799 --> 00:23:33.359
<v Speaker 1>Can you clear it?

525
00:23:33.599 --> 00:23:38.240
<v Speaker 2>Yep? Clear macaddress table. Dynamic removes all learned addresses. Or

526
00:23:38.400 --> 00:23:40.599
<v Speaker 2>you can specify an interface or VLAN.

527
00:23:40.799 --> 00:23:44.119
<v Speaker 1>Can you manually assign a MAC address to a port?

528
00:23:44.359 --> 00:23:48.839
<v Speaker 2>You can mac address table static macaddress landed interface type number.

529
00:23:49.319 --> 00:23:52.680
<v Speaker 2>This permanently locks that MPOCK address to that specific port

530
00:23:52.839 --> 00:23:57.119
<v Speaker 2>in that vland. Sometimes used for security or specific configurations.

531
00:23:57.400 --> 00:24:00.920
<v Speaker 1>Speaking of security, what about locking down ports preventing random

532
00:24:00.960 --> 00:24:02.119
<v Speaker 1>people from plugging.

533
00:24:01.839 --> 00:24:05.680
<v Speaker 2>In AH port security crucial feature on switches Unless you

534
00:24:05.720 --> 00:24:08.519
<v Speaker 2>control witch MACA addresses and how many are allowed to

535
00:24:08.519 --> 00:24:09.960
<v Speaker 2>connect to a specific switch.

536
00:24:09.759 --> 00:24:10.799
<v Speaker 1>Port, how do you turn it on?

537
00:24:11.200 --> 00:24:14.160
<v Speaker 2>First, make sure the port is an access port, switchport

538
00:24:14.240 --> 00:24:18.200
<v Speaker 2>mode access. Then switchport port security enables the feature on

539
00:24:18.359 --> 00:24:19.079
<v Speaker 2>that interface.

540
00:24:19.319 --> 00:24:20.880
<v Speaker 1>Then you set the rules exactly.

541
00:24:21.400 --> 00:24:25.480
<v Speaker 2>Switchport port security maximum value says how many MAC addresses

542
00:24:25.519 --> 00:24:30.039
<v Speaker 2>are allowed, often just one. Switchport port security mac address

543
00:24:30.319 --> 00:24:34.720
<v Speaker 2>MAC address can statically define the allowed MAC or you

544
00:24:34.799 --> 00:24:37.920
<v Speaker 2>can use switch court port security MAC address dicky to

545
00:24:38.079 --> 00:24:40.359
<v Speaker 2>let the switch learn the first MA address it sees

546
00:24:40.640 --> 00:24:41.559
<v Speaker 2>and stick it to the port.

547
00:24:41.839 --> 00:24:44.240
<v Speaker 1>What happens if someone violates the rule plugs in a

548
00:24:44.279 --> 00:24:45.880
<v Speaker 1>different device That depends.

549
00:24:45.640 --> 00:24:48.000
<v Speaker 2>On the violation mode. You said it with switch port

550
00:24:48.039 --> 00:24:50.319
<v Speaker 2>security violation shut down restrict.

551
00:24:49.960 --> 00:24:51.680
<v Speaker 1>Protect shutdowns sounds serious.

552
00:24:51.799 --> 00:24:54.400
<v Speaker 2>It is. The interface goes into an air disabled state,

553
00:24:54.480 --> 00:24:57.920
<v Speaker 2>effectively shutting it down requires manual intervention to bring back

554
00:24:58.000 --> 00:25:01.000
<v Speaker 2>ups drops the violate in traffic and sends log messages

555
00:25:01.079 --> 00:25:03.839
<v Speaker 2>in S and MP traps. The port stays up, but

556
00:25:04.160 --> 00:25:08.119
<v Speaker 2>the unauthorized device can't communicate. Protect simplest just drops the

557
00:25:08.200 --> 00:25:11.880
<v Speaker 2>violating traffic, no logs port stays up. Shutdown is the

558
00:25:11.920 --> 00:25:13.160
<v Speaker 2>most common secure default.

559
00:25:13.559 --> 00:25:15.440
<v Speaker 1>How do you check if port security tripped?

560
00:25:15.720 --> 00:25:18.640
<v Speaker 2>Show port security interface type number gives you all the details.

561
00:25:18.880 --> 00:25:22.839
<v Speaker 2>Max addresses, current count, sticky ams, violation mode and security

562
00:25:22.880 --> 00:25:23.400
<v Speaker 2>action count.

563
00:25:23.519 --> 00:25:28.279
<v Speaker 1>Okay, very useful. Now let's talk VLANs virtual lands right.

564
00:25:28.480 --> 00:25:32.000
<v Speaker 2>Breaking up one physical switch into multiple logical broadcast domains

565
00:25:32.359 --> 00:25:34.519
<v Speaker 2>great for security organization performance.

566
00:25:34.599 --> 00:25:35.400
<v Speaker 1>How do you create them?

567
00:25:35.519 --> 00:25:39.839
<v Speaker 2>Simple? In global config land landed like land ten, then

568
00:25:40.000 --> 00:25:42.559
<v Speaker 2>optionally name name like name sales.

569
00:25:42.759 --> 00:25:44.920
<v Speaker 1>VLAN ten is now called sales. How do you put

570
00:25:45.079 --> 00:25:45.759
<v Speaker 1>ports into it?

571
00:25:45.920 --> 00:25:48.519
<v Speaker 2>Go into the interface canfig interface faster net zero one

572
00:25:48.680 --> 00:25:51.839
<v Speaker 2>First make it an access port switchport mode access, then

573
00:25:51.920 --> 00:25:54.400
<v Speaker 2>assign it switchboard access LAN ten, So.

574
00:25:54.599 --> 00:25:56.839
<v Speaker 1>Fazero one is now in the sales vlan. Can you

575
00:25:56.880 --> 00:25:58.079
<v Speaker 1>do multiple ports at once?

576
00:25:58.240 --> 00:26:01.400
<v Speaker 2>Yes? Using the interface range their face range fasten it

577
00:26:01.680 --> 00:26:04.359
<v Speaker 2>zero one ten than any commands you type applied to

578
00:26:04.440 --> 00:26:08.319
<v Speaker 2>all ten ports. Very efficient. Verifying VLAN Chovelan brief is

579
00:26:08.359 --> 00:26:11.319
<v Speaker 2>the best quick overview shows all vlands their names and

580
00:26:11.400 --> 00:26:13.240
<v Speaker 2>which ports are assigned to them. You can also use

581
00:26:13.319 --> 00:26:15.640
<v Speaker 2>chauvelin name sales or Chauvelan E ten.

582
00:26:15.960 --> 00:26:18.359
<v Speaker 1>How are VLANs saved? Is it in the startup configure?

583
00:26:18.559 --> 00:26:21.480
<v Speaker 2>Mostly? Yes? For standard range vilans one one thousand and five,

584
00:26:21.799 --> 00:26:24.079
<v Speaker 2>they're actually saved in that VLAN dot dot file and

585
00:26:24.119 --> 00:26:27.920
<v Speaker 2>flash memory we mentioned. Extended range villans one thousand and

586
00:26:27.920 --> 00:26:31.039
<v Speaker 2>six four to ninety four might behave differently depending on

587
00:26:31.119 --> 00:26:33.160
<v Speaker 2>the switch model and configuration.

588
00:26:32.720 --> 00:26:35.799
<v Speaker 1>Mode and clearing VLAN assignments.

589
00:26:35.480 --> 00:26:38.599
<v Speaker 2>On an interface no switch court access FLAN usually puts

590
00:26:38.640 --> 00:26:41.319
<v Speaker 2>it back into VLAN one. The default to delete a

591
00:26:41.359 --> 00:26:45.720
<v Speaker 2>vilan entirely use no VLAN ten, but be careful any

592
00:26:45.799 --> 00:26:49.400
<v Speaker 2>ports still assigned to VLAN ten will become inactive. Best

593
00:26:49.440 --> 00:26:52.039
<v Speaker 2>practice is to reassign the ports before deleting the VLAN

594
00:26:52.200 --> 00:26:52.640
<v Speaker 2>good tip.

595
00:26:52.880 --> 00:26:56.319
<v Speaker 1>Okay, Last big topic connecting switches together and managing VLANs

596
00:26:56.319 --> 00:26:59.279
<v Speaker 1>across multiple switches. Trunking and BTP right.

597
00:26:59.519 --> 00:27:01.680
<v Speaker 2>If you want multiple vlands to cross a link between

598
00:27:01.720 --> 00:27:04.519
<v Speaker 2>two switches, you need a trunk, and VDP helps synchronize

599
00:27:04.599 --> 00:27:05.519
<v Speaker 2>VLAN databases.

600
00:27:05.640 --> 00:27:06.960
<v Speaker 1>How does a trunk get formed?

601
00:27:07.319 --> 00:27:12.039
<v Speaker 2>Often automatically using DTP Dynamic trunking Protocol Cisco proprietary interface

602
00:27:12.079 --> 00:27:15.400
<v Speaker 2>modes like Dynamic Auto or Dynamic Desirable negotiate, or you

603
00:27:15.440 --> 00:27:18.319
<v Speaker 2>can manually force it with switchport mode. Trunk using switchport

604
00:27:18.400 --> 00:27:20.599
<v Speaker 2>non negotiate turns off DTP if you hardcode it as

605
00:27:20.599 --> 00:27:21.079
<v Speaker 2>a trunk or.

606
00:27:21.079 --> 00:27:22.839
<v Speaker 1>Access port and the trunk needs to know how to

607
00:27:22.920 --> 00:27:24.559
<v Speaker 1>tag the traffic for different vlands.

608
00:27:24.640 --> 00:27:29.240
<v Speaker 2>Right, exactly. That's encapsulation. Two main types Cisco's old ISL

609
00:27:29.559 --> 00:27:32.599
<v Speaker 2>and the industry standard IEE eight two point one Q

610
00:27:33.079 --> 00:27:35.039
<v Speaker 2>often called DOT one Q. You can figure it with

611
00:27:35.119 --> 00:27:39.400
<v Speaker 2>switchport trunk encapsulation is ATO dot one Q negotiate. Most

612
00:27:39.480 --> 00:27:42.039
<v Speaker 2>modern networks use dot one Q if set to negotiate,

613
00:27:42.160 --> 00:27:44.599
<v Speaker 2>it usually prefers isl Both sides support.

614
00:27:44.400 --> 00:27:47.720
<v Speaker 1>It, okay, Now, VTP VLAN trunking protocol.

615
00:27:47.920 --> 00:27:51.319
<v Speaker 2>This protocol lets one switch the VTP server manage the

616
00:27:51.440 --> 00:27:54.920
<v Speaker 2>VLAN database for other switches VTP clients in the same

617
00:27:55.039 --> 00:27:58.119
<v Speaker 2>VDP domain. You create VLAN twenty on the server and boom,

618
00:27:58.160 --> 00:27:59.880
<v Speaker 2>it automatically appears on all the clients.

619
00:28:00.160 --> 00:28:01.279
<v Speaker 1>Saves a lot of work.

620
00:28:01.240 --> 00:28:03.720
<v Speaker 2>Huge time saver. In large networks, you can figure the

621
00:28:03.799 --> 00:28:07.680
<v Speaker 2>VDP mode server client or transparent. Transparent switches manage their

622
00:28:07.720 --> 00:28:11.039
<v Speaker 2>own vlands, but PASSVDP info. You said a VDP domain

623
00:28:11.119 --> 00:28:14.000
<v Speaker 2>name and optionally a VTPU password password, then those have

624
00:28:14.079 --> 00:28:16.960
<v Speaker 2>to match absolutely critical domain name and password must be

625
00:28:17.039 --> 00:28:20.960
<v Speaker 2>identical case sensitive for switches to exchange VTP updates. A

626
00:28:21.079 --> 00:28:22.480
<v Speaker 2>mismatch can cause big problems.

627
00:28:22.519 --> 00:28:24.559
<v Speaker 1>What's VTP pruning smart feature?

628
00:28:25.079 --> 00:28:29.319
<v Speaker 2>If enabled, VTP pruning switches tell their neighbors which VLANs

629
00:28:29.359 --> 00:28:33.119
<v Speaker 2>they actually have active ports for. Then broadcast traffic for

630
00:28:33.200 --> 00:28:36.200
<v Speaker 2>a specific VLAN is only sent across trunks if the

631
00:28:36.240 --> 00:28:40.720
<v Speaker 2>neighboring switch actually needs that. VLAN reduces unnecessary.

632
00:28:40.240 --> 00:28:42.279
<v Speaker 1>Traffic verifying VTP.

633
00:28:42.200 --> 00:28:45.759
<v Speaker 2>So VTP status gives you the mode, domain name, revision number,

634
00:28:46.079 --> 00:28:51.279
<v Speaker 2>very important pruning status, show VTP counters, shows update statistics.

635
00:28:51.519 --> 00:28:55.119
<v Speaker 1>Wow, we've covered a ton of ground, from basic cables

636
00:28:55.160 --> 00:28:58.720
<v Speaker 1>and ips all the way to complex routing and switching configus.

637
00:28:58.839 --> 00:29:01.200
<v Speaker 2>We really have. It's the core toolkit for a CEC

638
00:29:01.319 --> 00:29:01.920
<v Speaker 2>and a engineer.

639
00:29:02.119 --> 00:29:04.079
<v Speaker 1>So what does this all mean for you listening? You've

640
00:29:04.119 --> 00:29:07.519
<v Speaker 1>just gotten, hopefully a really powerful shortcut to understanding these

641
00:29:07.599 --> 00:29:10.880
<v Speaker 1>cor Cisco commands and concepts. We've tried to unpack everything

642
00:29:10.960 --> 00:29:13.440
<v Speaker 1>from you know, literally how devices connect to how they

643
00:29:13.559 --> 00:29:15.680
<v Speaker 1>talk across networks and how you manage them.

644
00:29:15.799 --> 00:29:19.000
<v Speaker 2>It really provides that foundational command structure. But this raises

645
00:29:19.039 --> 00:29:21.480
<v Speaker 2>a final important question for you, yea, how will you

646
00:29:21.640 --> 00:29:24.599
<v Speaker 2>take this structured knowledge, this theory and turn it into

647
00:29:24.680 --> 00:29:25.599
<v Speaker 2>hands on practice?

648
00:29:25.720 --> 00:29:27.279
<v Speaker 1>Right reading about it is one thing.

649
00:29:27.400 --> 00:29:31.279
<v Speaker 2>Exactly We really recommend you get into simulation labs, packet tracer,

650
00:29:31.400 --> 00:29:35.240
<v Speaker 2>GNS three, EVENG whatever works for you. Start typing these commands,

651
00:29:35.240 --> 00:29:38.599
<v Speaker 2>build networks, break them, fix them. That's where the real

652
00:29:38.680 --> 00:29:40.079
<v Speaker 2>learning happens, when you actually apply it
