WEBVTT

1
00:00.000 --> 00:03.840
So in our journey we've done all these IPSLAs, fantastic.

2
00:03.840 --> 00:07.530
And this today I'd like to walk you through one example out of many that we

3
00:07.530 --> 00:08.960
could use for tracking

4
00:08.960 --> 00:13.040
and using the results of an IPSLA. So for this demonstration let's imagine

5
00:13.040 --> 00:18.620
that we have R3 or we want to set up a default route on R3 that points to this

6
00:18.620 --> 00:19.280
interface here on

7
00:19.280 --> 00:23.680
R4 which is 10.0.34. Let me use a different color here, one that'll show up

8
00:23.680 --> 00:25.120
better. The default route

9
00:25.120 --> 00:31.220
would go to the next top of 10.0.34.4 which is this interface address right
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

9
00:25.120 --> 00:31.220
would go to the next top of 10.0.34.4 which is this interface address right

10
00:31.220 --> 00:32.640
here. However,

11
00:32.640 --> 00:36.880
if this router is not available we may not want to have that default route in

12
00:36.880 --> 00:38.000
place. In fact I'm

13
00:38.000 --> 00:41.450
sure of it because the traffic we'd be saying there would be unroutable beyond

14
00:41.450 --> 00:42.160
that point if

15
00:42.160 --> 00:46.430
R4 is not available. So what we could do is we could set up an IPSLA to go

16
00:46.430 --> 00:48.320
ahead and verify reachability

17
00:48.320 --> 00:54.760
to let's go ahead and use the loopback of R4.4.4.4.4. And for our game plan let

18
00:54.760 --> 00:57.600
's use IPSLA 33 here on R3.

19
00:57.600 --> 01:02.140
Now for an IPSLA we could care about just reachability, use for example an ICP
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

19
00:57.600 --> 01:02.140
Now for an IPSLA we could care about just reachability, use for example an ICP

20
01:02.140 --> 01:03.840
echo for IPSLA or we could

21
01:03.840 --> 01:08.240
use a jitter or some other option with a threshold. So whether we're outside of

22
01:08.240 --> 01:09.440
our threshold or the

23
01:09.440 --> 01:13.420
connectivity altogether has failed either one of those would cause that SLA to

24
01:13.420 --> 01:14.240
indicate that

25
01:14.240 --> 01:17.890
there's a problem. Now if we want to take action based on that what we could

26
01:17.890 --> 01:19.280
also do is we could

27
01:19.280 --> 01:24.530
set up tracking. So we could say you know what Mr. R3 I want to track this SLA

28
01:24.530 --> 01:26.000
33 so let's use track

29
01:26.000 --> 01:30.440
she's track ID number one. So you could use track ID 33 but then it gets a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

29
01:26.000 --> 01:30.440
she's track ID number one. So you could use track ID 33 but then it gets a

30
01:30.440 --> 01:31.440
little bit confusing about

31
01:31.440 --> 01:33.830
do they have to match or not they don't. So we could set up tracking for

32
01:33.830 --> 01:35.040
example track ID number

33
01:35.040 --> 01:39.340
one that's paying attention to the IPSLA 33 whether it's okay or not. And then

34
01:39.340 --> 01:40.080
we could leverage that

35
01:40.080 --> 01:43.950
tracking in combination with our configuration on the router. So if we set up a

36
01:43.950 --> 01:44.800
default route

37
01:44.800 --> 01:50.000
and we said hey dear Mr. R3 that's your default route if tracking number one is

38
01:50.000 --> 01:51.040
okay. And if tracking

39
01:51.040 --> 01:55.800
number one is okay it's because the IPSLA 33 is functioning and is okay as well

40
01:55.800 --> 01:56.720
. So if we follow

41
01:56.720 --> 02:01.250
the bouncing ball the static route here is dependent on tracking ID one and
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

41
01:56.720 --> 02:01.250
the bouncing ball the static route here is dependent on tracking ID one and

42
02:01.250 --> 02:02.560
tracking ID one is paying

43
02:02.560 --> 02:06.890
attention to IPSLA 33. So let's just give you a taste of some of the options

44
02:06.890 --> 02:08.080
available if we have

45
02:08.080 --> 02:12.530
IPSLA's in place and then we want to track those SLAs. So with that in mind let

46
02:12.530 --> 02:14.160
's go to R3 and let's

47
02:14.160 --> 02:21.640
configure an IPSLA 33 that's set up to use 4444 to verify reachability and then

48
02:21.640 --> 02:22.240
we'll set up a

49
02:22.240 --> 02:26.180
static route a static default route with this next hop but we'll make

50
02:26.180 --> 02:28.000
conditional upon track number

51
02:28.000 --> 02:32.350
one saying everything's okay. So let's head over to R3 and here is our three
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

51
02:28.000 --> 02:32.350
one saying everything's okay. So let's head over to R3 and here is our three

52
02:32.350 --> 02:33.280
let's just check

53
02:33.280 --> 02:38.310
it's routing table real quick with a show IP route and it has no default route

54
02:38.310 --> 02:38.880
so there'll be a good

55
02:38.880 --> 02:44.660
demo here. Let's also do a ping to 4.4.4.4 just to make sure it's reachable and

56
02:44.660 --> 02:45.520
it is that's the

57
02:45.520 --> 02:50.370
loopback interface on R4 just to verify that let's go to R4 and we'll do a show

58
02:50.370 --> 02:51.680
IP interface brief

59
02:51.680 --> 02:56.400
and sure enough there's the loopback interface 4444 that R4 is responsible for.

60
02:56.400 --> 02:57.840
Let's go back to R3

61
02:57.840 --> 03:01.520
and let's turn on debugging. We'll do a debug IP routing. Now this is a tip I
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

61
02:57.840 --> 03:01.520
and let's turn on debugging. We'll do a debug IP routing. Now this is a tip I

62
03:01.520 --> 03:02.800
learned more than

63
03:02.800 --> 03:07.000
two decades ago when I got my first CCIE and that is if you have debug IP

64
03:07.000 --> 03:08.400
routing enabled

65
03:08.400 --> 03:11.920
then if your routing tables are changing you're going to get console messages

66
03:11.920 --> 03:12.480
indicating that's

67
03:12.480 --> 03:16.370
happening. So if we're adding a feature or a function and all of a sudden our

68
03:16.370 --> 03:17.200
routing tables

69
03:17.200 --> 03:22.470
start changing or flapping we've caused our own problem. So when setting up new

70
03:22.470 --> 03:23.680
controls in place

71
03:23.680 --> 03:27.350
on our routers it's a really great feature just to turn on temporarily so you

72
03:27.350 --> 03:28.800
can see whether or not

73
03:28.800 --> 03:32.100
what we're configuring like an access control list or something else is having
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

73
03:28.800 --> 03:32.100
what we're configuring like an access control list or something else is having

74
03:32.100 --> 03:33.200
a negative impact

75
03:33.200 --> 03:37.440
or negative the impacting it should say our routing. So debug IP routing is on

76
03:37.440 --> 03:38.640
and let's go

77
03:38.640 --> 03:43.200
ahead and let's first of all set up our IP SLA. So in configuration mode we'll

78
03:43.200 --> 03:44.640
type in IP SLA

79
03:44.640 --> 03:49.050
and based on our plan we want to use ID33 and as far as what we want to track

80
03:49.050 --> 03:50.080
let's just go ahead

81
03:50.080 --> 03:54.870
and track on a basic ping request. So we don't have to tell our fore it's an IP

82
03:54.870 --> 03:56.160
SLA responder because

83
03:56.160 --> 03:59.370
if we send a ping request it's going to respond. So we needed additional

84
03:59.370 --> 04:00.800
features or functions
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

84
03:59.370 --> 04:00.800
features or functions

85
04:00.800 --> 04:05.520
and some of the other SLAs we might want to do IP SLA responder on our fore but

86
04:05.520 --> 04:06.000
in this case we

87
04:06.000 --> 04:11.200
don't need to. So here we'll go ahead and put an ICMP-echo space question mark

88
04:11.200 --> 04:12.160
and the target we want to

89
04:12.160 --> 04:17.540
target is 4444 space question mark and for the source IP we can specify what if

90
04:17.540 --> 04:18.400
we want to only

91
04:18.400 --> 04:23.350
leave it alone and press enter and then now as part of this IP SLA that's doing

92
04:23.350 --> 04:24.560
an echo request

93
04:24.560 --> 04:30.020
just to verify basic connectivity let's specify the frequency to every about
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

93
04:24.560 --> 04:30.020
just to verify basic connectivity let's specify the frequency to every about

94
04:30.020 --> 04:31.440
every 10 seconds

95
04:31.440 --> 04:34.960
and we really don't need to specify a threshold in milliseconds because if we

96
04:34.960 --> 04:35.840
don't get a response

97
04:35.840 --> 04:38.700
to our echo request the IP SLA is going to fail I mean it's going to indicate

98
04:38.700 --> 04:40.000
that there's a problem.

99
04:40.000 --> 04:44.640
So now let's go ahead and do a do show IP SLA summary we should only have one

100
04:44.640 --> 04:45.440
here that's 33

101
04:45.440 --> 04:50.400
it's not currently running so we'll do an IP SLA schedule the ID number for our

102
04:50.400 --> 04:52.000
SLA which is 33

103
04:52.000 --> 04:56.960
and we'll go ahead and say start time and we'll specify now and let's go ahead

104
04:56.960 --> 04:58.080
and say the lifetime

105
04:58.080 --> 05:02.700
is going to be forever so it's just going to run indefinitely then we'll do a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

105
04:58.080 --> 05:02.700
is going to be forever so it's just going to run indefinitely then we'll do a

106
05:02.700 --> 05:04.480
do show IP SLA summary

107
05:04.480 --> 05:09.300
and it is running the round trip time is 52 the return code is okay and because

108
05:09.300 --> 05:09.760
it's happening

109
05:09.760 --> 05:15.310
every 10 seconds if we do a do show IP statistics for SLA 33 and then the

110
05:15.310 --> 05:17.200
keyword details press

111
05:17.200 --> 05:22.400
enter I forgot the keyword SLA so I thought it but I didn't say it so do a show

112
05:22.400 --> 05:23.360
IP SLA space

113
05:23.360 --> 05:27.680
statistics 33 details we've had five successes our latest round trip time is 20

114
05:27.680 --> 05:28.640
milliseconds and

115
05:28.640 --> 05:32.120
the latest operation return code is okay so now let's go ahead and leverage
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

115
05:28.640 --> 05:32.120
the latest operation return code is okay so now let's go ahead and leverage

116
05:32.120 --> 05:32.960
that with something

117
05:32.960 --> 05:36.360
known as tracking so to subtracting in configuration mode we simply use the

118
05:36.360 --> 05:37.760
command track space

119
05:37.760 --> 05:41.410
question mark and then we're going to put an attract object number so here you

120
05:41.410 --> 05:42.320
can just use

121
05:42.320 --> 05:46.960
some unique number on this local router so let's use track ID number one space

122
05:46.960 --> 05:47.840
question mark and

123
05:47.840 --> 05:53.730
let's specify we want to track on an IPS LA so we'll have an IP space SLA space

124
05:53.730 --> 05:55.120
question mark and

125
05:55.120 --> 06:00.440
then we want to track on IPS LA 33 space and the question mark so regarding the
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

125
05:55.120 --> 06:00.440
then we want to track on IPS LA 33 space and the question mark so regarding the

126
06:00.440 --> 06:01.200
SLA if we use the

127
06:01.200 --> 06:05.370
keyword reachability it just means that that target is no longer reachable or

128
06:05.370 --> 06:06.480
if we said state

129
06:06.480 --> 06:10.000
and we had a threshold for example of a hundred for the round trip time and it

130
06:10.000 --> 06:10.720
was over that

131
06:10.720 --> 06:14.950
threshold that would also cause track one to fail so in our case because we're

132
06:14.950 --> 06:15.600
only doing an

133
06:15.600 --> 06:19.990
ICMP echo request effectively a ping request let's go ahead and we can go ahead

134
06:19.990 --> 06:20.880
and simply put in

135
06:20.880 --> 06:24.800
reachability and enter and then we can put in parameters here as well so I'm

136
06:24.800 --> 06:25.600
going to go ahead

137
06:25.600 --> 06:30.520
and and out of that and we'll do a show IP SLA summary which is show us our IP
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

137
06:25.600 --> 06:30.520
and and out of that and we'll do a show IP SLA summary which is show us our IP

138
06:30.520 --> 06:31.200
SLA which is

139
06:31.200 --> 06:36.150
currently okay and show track and that will show us our tracking so this

140
06:36.150 --> 06:38.160
tracking track number one

141
06:38.160 --> 06:43.960
is tracking on IPS LA 33 reachability and reachability is currently up so now

142
06:43.960 --> 06:45.040
if we use this tracking as

143
06:45.040 --> 06:49.410
part of a route for example let's do that right now let's do a config T an IP

144
06:49.410 --> 06:51.360
route uh default route

145
06:51.360 --> 06:54.100
and let's take a look at our topology for a moment so if we want the default

146
06:54.100 --> 06:55.440
route that's going to use

147
06:55.440 --> 07:00.480
our for the 10 0 34 dot four address as is next top for the default route we
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

147
06:55.440 --> 07:00.480
our for the 10 0 34 dot four address as is next top for the default route we

148
07:00.480 --> 07:00.960
want to make that

149
07:00.960 --> 07:06.450
conditional upon track one being up we can simply tack on that tracker as part

150
07:06.450 --> 07:07.760
of our static route

151
07:07.760 --> 07:11.820
and so if the tracker shows as down it'll remove the route from the routing

152
07:11.820 --> 07:12.960
table if the tracking

153
07:12.960 --> 07:16.010
shows us up it'll put the route back into the routing table so we'll put the

154
07:16.010 --> 07:16.720
next top address

155
07:16.720 --> 07:21.940
of 10 dot 0 dot 34 dot 4 space and a question mark and check it out here we can

156
07:21.940 --> 07:22.880
use the keyword

157
07:22.880 --> 07:27.380
track so we'll type in track space and then our tracked object number which is

158
07:27.380 --> 07:28.160
object number

159
07:28.160 --> 07:32.140
one right there for tracking so go ahead and put one so track number one is
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

159
07:28.160 --> 07:32.140
one right there for tracking so go ahead and put one so track number one is

160
07:32.140 --> 07:33.200
looking at IPS LA

161
07:33.200 --> 07:37.130
33 for reachability and assuming everything's good it'll add this route to the

162
07:37.130 --> 07:38.080
routing table

163
07:38.080 --> 07:42.530
so press enter and because debug IP routing is on it's now showing us that it

164
07:42.530 --> 07:43.440
just added that

165
07:43.440 --> 07:47.360
static route static default route to be specific with the next top of 10 dot 0

166
07:47.360 --> 07:49.360
34 dot 4 it added

167
07:49.360 --> 07:54.220
that to the routing table so if we do a show IP route there's that static route

168
07:54.220 --> 07:54.720
right there

169
07:54.720 --> 07:57.670
the reason that's working is because we have an IPS LA 33 that's running and if

170
07:57.670 --> 07:58.560
we do a show

171
07:58.560 --> 08:03.370
track that tracker based on what IPS LA 33 is indicating is saying yep we're
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

171
07:58.560 --> 08:03.370
track that tracker based on what IPS LA 33 is indicating is saying yep we're

172
08:03.370 --> 08:04.320
good to go we're

173
08:04.320 --> 08:08.640
okay so let's go ahead and remove 4 4 4 from the equation so if we go to our 4

174
08:08.640 --> 08:10.080
and we go ahead

175
08:10.080 --> 08:14.580
and interface configuration mode for loopback 0 when we say shutdown we're now

176
08:14.580 --> 08:15.440
no longer having

177
08:15.440 --> 08:19.930
reachability that 4 4 4 4 because it's shut down so we go back to our three

178
08:19.930 --> 08:20.720
here's the debug

179
08:20.720 --> 08:25.980
for the tracker tracker ID one which is matching on sla 33 it went from up to

180
08:25.980 --> 08:26.880
down then we have

181
08:26.880 --> 08:31.100
the static route being removed from the routing table and we also this is an O
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

181
08:26.880 --> 08:31.100
the static route being removed from the routing table and we also this is an O

182
08:31.100 --> 08:32.400
SPF one right here

183
08:32.400 --> 08:37.170
we also have the route to 4 4 4 4 explicitly being deleted from the routing

184
08:37.170 --> 08:38.880
table based on OSPF

185
08:38.880 --> 08:42.440
so now if we do a show IP route press enter we no longer have that default

186
08:42.440 --> 08:43.360
route however if we go

187
08:43.360 --> 08:48.620
back to our 4 and we say no shutdown that loopback 0 interface so now 4 4 4 4

188
08:48.620 --> 08:49.840
is reachable we should

189
08:49.840 --> 08:54.500
get that route back via OSPF and based on the console messages about to come up

190
08:54.500 --> 08:55.120
here we should

191
08:55.120 --> 08:58.790
also have our default route back so there's our OSPF learned route that we just

192
08:58.790 --> 08:59.440
put back in the

193
08:59.440 --> 09:03.120
routing table and there's the going from down to up and now we have our new
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

193
08:59.440 --> 09:03.120
routing table and there's the going from down to up and now we have our new

194
09:03.120 --> 09:04.160
static route that's

195
09:04.160 --> 09:07.990
also now back in the routing table so we do a show IP route once again and

196
09:07.990 --> 09:08.880
press center there's

197
09:08.880 --> 09:12.030
our static route once again so now that we have walked through the

198
09:12.030 --> 09:13.440
configuration of several different

199
09:13.440 --> 09:18.100
types of IP SLAs and also given a quick example of how to do tracking on one of

200
09:18.100 --> 09:19.120
those SLAs in the

201
09:19.120 --> 09:22.820
next video I'd like to put you on a hands-on lab with some specific tasks you

202
09:22.820 --> 09:23.600
can practice your

203
09:23.600 --> 09:28.820
configuration and verification of IP SLAs on a Cisco router so I will see you

204
09:28.820 --> 09:30.080
my friend in the next
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

204
09:28.820 --> 09:30.080
my friend in the next

205
09:30.080 --> 09:33.760
video in just a moment
