WEBVTT

1
00:00.000 --> 00:04.050
Our mission should we choose to accept it is to go ahead and configure this

2
00:04.050 --> 00:04.960
autonomous system,

3
00:04.960 --> 00:10.410
a autonomous system 20 with the IBGP nameorship and the two external BGP name

4
00:10.410 --> 00:11.440
orships as shown,

5
00:11.440 --> 00:15.700
and then advertise R22's loopback so that it's advertised via BGP. So we're

6
00:15.700 --> 00:16.800
going to start off by

7
00:16.800 --> 00:21.130
going to R21 and R22, we'll remove the existing config, and then we'll follow

8
00:21.130 --> 00:22.160
these steps and

9
00:22.160 --> 00:25.370
put it all back. With that being said, let's make a road trip over to the lab

10
00:25.370 --> 00:26.640
environment. So here in

11
00:26.640 --> 00:30.280
the lab environment, let's go to R21, let's just look at our topology real
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:26.640 --> 00:30.280
the lab environment, let's go to R21, let's just look at our topology real

12
00:30.280 --> 00:31.440
quick. Here it is,

13
00:31.440 --> 00:34.610
let's double click on that to open it up. All right, so let's go up to R21 and

14
00:34.610 --> 00:35.440
R22. In fact,

15
00:35.440 --> 00:38.840
we can remove the configurations just by going to this icon right here, the

16
00:38.840 --> 00:39.680
carriage return icon,

17
00:39.680 --> 00:46.230
and from there, we'll do a config T and no router, BGP, autonomous system 20,

18
00:46.230 --> 00:47.840
and end, and that should

19
00:47.840 --> 00:52.080
do it. So we must then enter R21 and R22. I'll select those two routers, click

20
00:52.080 --> 00:53.120
on send script, and

21
00:54.000 --> 00:59.440
it is done. So all those routers, if we did a show, run, section, BGP, not BGT,

22
00:59.440 --> 01:01.280
but BGP. There is
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

22
00:59.440 --> 01:01.280
but BGP. There is

23
01:01.280 --> 01:05.640
no configuration for BGP whatsoever. So the first step is done. We've removed

24
01:05.640 --> 01:06.640
the configuration for

25
01:06.640 --> 01:13.230
BGP from both R21 and R22. So let's go back to R21 and begin our config. So we

26
01:13.230 --> 01:14.000
'll go into configuration

27
01:14.000 --> 01:18.220
mode. We'll type in router, BGP, autonomous system 20, and our neighbor, I'm

28
01:18.220 --> 01:18.560
going to point

29
01:18.560 --> 01:23.690
to the loop back address at 22.22.22.22 and say, remote, autonomous system,

30
01:23.690 --> 01:25.600
same as ours, which is 20,

31
01:25.600 --> 01:30.640
and I'll hit the up arrow key and say, update source, loop back zero. Also,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

31
01:25.600 --> 01:30.640
and I'll hit the up arrow key and say, update source, loop back zero. Also,

32
01:30.640 --> 01:32.480
while I'm here, I'm going to say

33
01:32.480 --> 01:36.470
that neighbor 22, 22, etc. that I was supposed to add next top self as I

34
01:36.470 --> 01:37.520
learned routes from other

35
01:37.520 --> 01:41.140
external neighbors and I send them to this internal BGP neighbor. I'll set that

36
01:41.140 --> 01:42.720
next top to my address.

37
01:42.720 --> 01:46.390
All right, so that's our internal neighbor. And while we're here, let's also go

38
01:46.390 --> 01:47.920
ahead and do the

39
01:47.920 --> 01:53.980
external neighbors as well. So we're going to neighbor with R11 at 23.10.20.11

40
01:53.980 --> 01:54.800
and we're going to neighbor

41
01:54.800 --> 02:01.920
with R42 at 23.20.40.42. And for each of the routers, you can either go look at
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

41
01:54.800 --> 02:01.920
with R42 at 23.20.40.42. And for each of the routers, you can either go look at

42
02:01.920 --> 02:02.880
the IP addresses on

43
02:02.880 --> 02:06.880
those interfaces or just realize that the last octet on every router matches

44
02:06.880 --> 02:08.080
its router number.

45
02:08.080 --> 02:12.510
So let's configure the external BGP neighbor ship between R21 and R11. So we'll

46
02:12.510 --> 02:13.680
say neighbor and

47
02:13.680 --> 02:22.940
R11 address is 23.10.20.11 and the remote AS that they're in is 10. That's R11.

48
02:22.940 --> 02:23.440
And I'm just going

49
02:23.440 --> 02:28.500
to pause here for a second because R11 is already configured. And so it should

50
02:28.500 --> 02:29.520
give me a console message

51
02:29.520 --> 02:32.170
in just a moment. There it is that that neighbor ship is up. Then we'll do
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

51
02:29.520 --> 02:32.170
in just a moment. There it is that that neighbor ship is up. Then we'll do

52
02:32.170 --> 02:33.120
another neighbor statement

53
02:33.120 --> 02:41.230
for 23. We want to go down to R42, which is at 23.20.40.42. And that's in the

54
02:41.230 --> 02:43.040
remote autonomous system

55
02:43.040 --> 02:48.480
of 40. So we'll put that in. Oh, look at all those characters. I have like a

56
02:48.480 --> 02:50.880
five octet IP address.

57
02:50.880 --> 02:56.240
So it's 23. I have one to many 23s in there. So let me go ahead and fix that up

58
02:56.240 --> 02:59.200
. Neighbor 23.20.40.42

59
02:59.200 --> 03:02.790
in press center much better. And we'll verify that the neighbor comes up as
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

59
02:59.200 --> 03:02.790
in press center much better. And we'll verify that the neighbor comes up as

60
03:02.790 --> 03:04.480
well. Fantastic. So then

61
03:04.480 --> 03:08.420
that we have that done. Let's go ahead and go configure R22. So R22 is right

62
03:08.420 --> 03:09.360
here. So we'll go into

63
03:09.360 --> 03:13.880
configuration mode and type in router, BGP. And we're in a system 20. And our

64
03:13.880 --> 03:15.520
neighbor is going to be

65
03:15.520 --> 03:21.650
21.21.21.21.21.21. And the remote AS is the same as ours, which is 20. And we

66
03:21.650 --> 03:22.480
're going to say

67
03:22.480 --> 03:25.450
for that neighbor, we want our update source to be loop back zero. And if you

68
03:25.450 --> 03:26.480
use the actual physical

69
03:26.480 --> 03:29.330
interface on that directly connected network, you wouldn't need to worry about

70
03:29.330 --> 03:30.480
doing the update source.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

70
03:29.330 --> 03:30.480
doing the update source.

71
03:30.480 --> 03:34.390
So I'm going to go ahead and do that. And then on both router 21 and 22, I'm

72
03:34.390 --> 03:36.960
going to do a clear IP BGP

73
03:36.960 --> 03:43.650
asterisk. And it is the same thing on router 21 to clear IP BGP asterisk. And

74
03:43.650 --> 03:44.160
that's going to give us

75
03:44.160 --> 03:49.300
a nice fresh establishment of our sessions and also a nice fresh update of all

76
03:49.300 --> 03:50.800
the routes. And

77
03:50.800 --> 03:53.370
again, it may take a moment or two for that to fully converge. So while it's

78
03:53.370 --> 03:54.400
happening, we need to show

79
03:54.400 --> 03:58.610
IP BGP summary. And that wasn't too bad. So we have three routes that we've

80
03:58.610 --> 04:00.960
learned from R11. And
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

80
03:58.610 --> 04:00.960
learned from R11. And

81
04:00.960 --> 04:04.480
we also have three routes that we've learned from router 42. And we haven't

82
04:04.480 --> 04:06.000
learned any routes yet

83
04:06.000 --> 04:10.840
from R22. And that's because we have not yet advertised any routes. So if we do

84
04:10.840 --> 04:12.320
a show IP BGP,

85
04:12.320 --> 04:15.900
that'll show us the routes that we've learned in the rib. And at the moment, we

86
04:15.900 --> 04:16.560
don't have any greater

87
04:16.560 --> 04:20.590
than symbols, but that will rectify itself here in a moment once R21 decides.

88
04:20.590 --> 04:21.360
So while it's still

89
04:21.360 --> 04:26.160
thinking about that, let's go to R22. And let's advertise our loop back address

90
04:26.160 --> 04:27.120
with a show IP

91
04:27.120 --> 04:30.380
interface brief, verify what our loop back address is. And the IP address is a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

91
04:27.120 --> 04:30.380
interface brief, verify what our loop back address is. And the IP address is a

92
04:30.380 --> 04:31.680
32 bit one who do a show

93
04:31.680 --> 04:36.790
IP route, a little confirm it for us. So there it is right there. It's a 32 bit

94
04:36.790 --> 04:38.000
route. So we're going to

95
04:38.000 --> 04:43.710
configuration mode router, BGP, autonomous system 20, all type in network 22.22

96
04:43.710 --> 04:46.000
.22.22.22 space the keyword

97
04:46.000 --> 04:51.450
mask, and then the 32 bit mask, beautiful type in end. And that's a show IP BGP

98
04:51.450 --> 04:53.280
press center. And there

99
04:53.280 --> 04:57.260
are all the routes. So that's the route that we just added on our 22. That's

100
04:57.260 --> 04:58.240
why the next top is

101
04:58.240 --> 05:02.100
0, 0, 0, 0. And then we have the routes for the 12, 12, 12. That's the loop
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

101
04:58.240 --> 05:02.100
0, 0, 0, 0. And then we have the routes for the 12, 12, 12. That's the loop

102
05:02.100 --> 05:03.360
back on R12. We have the

103
05:03.360 --> 05:09.200
route for router 32. And we have the route sourced by router 43. So now here

104
05:09.200 --> 05:10.880
from router 22, we should be

105
05:10.880 --> 05:14.570
able to ping those other respective loop backs sourcing it from our loop back

106
05:14.570 --> 05:15.760
because they also have

107
05:15.760 --> 05:19.770
reachability back to us. And let's test that next. So in R22, let's go ahead

108
05:19.770 --> 05:21.600
and do a ping over to

109
05:21.600 --> 05:30.210
how about let's go down to R32, which is 32.32.32.32.32. And I got excited that
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

109
05:21.600 --> 05:30.210
how about let's go down to R32, which is 32.32.32.32.32. And I got excited that

110
05:30.210 --> 05:31.040
I forgot to say,

111
05:31.040 --> 05:34.310
hey, source this from my loop back zeros. So we're sourcing this from the IP

112
05:34.310 --> 05:36.080
address on our gig 1/0

113
05:36.080 --> 05:40.360
interface here on R22. And what I need to do is do a source it from loop back

114
05:40.360 --> 05:41.440
zero, which is the

115
05:41.440 --> 05:46.530
22 22 22 to address. And because the destination R32 has a route back to our

116
05:46.530 --> 05:48.640
loop back at 22 22, etc,

117
05:48.640 --> 05:52.180
we should be able to get a response. And that looks much better. It's also a

118
05:52.180 --> 05:53.200
trace and verify the

119
05:53.200 --> 05:58.470
path. So we'll do a trace route to 32.32.32.32.32.32.32 and we'll source it

120
05:58.470 --> 05:59.600
from loop back zero.

121
05:59.600 --> 06:04.060
And if you just take a peek just for a moment at the edge router R21 and we do
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

121
05:59.600 --> 06:04.060
And if you just take a peek just for a moment at the edge router R21 and we do

122
06:04.060 --> 06:05.840
a show IP BGP, as we

123
06:05.840 --> 06:12.020
try to go to 32, its preferred route is using the next top of 23.10.20.11,

124
06:12.020 --> 06:14.000
which is R11. So after

125
06:14.000 --> 06:19.190
the packet goes to R21, the next hop in the path should be R11. We can verify

126
06:19.190 --> 06:20.640
that by doing the trace.

127
06:20.640 --> 06:26.240
So do the trace and sure enough, the first top is R21 and the next top is R11,

128
06:26.240 --> 06:27.840
then to R31, then finally

129
06:27.840 --> 06:32.210
to R32. And if you just show IP BGP summary, that'll show us who our neighbors
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

129
06:27.840 --> 06:32.210
to R32. And if you just show IP BGP summary, that'll show us who our neighbors

130
06:32.210 --> 06:32.880
are and how many

131
06:32.880 --> 06:37.420
prefixes we've learned from that neighbor. And if you just show IP BGP enter,

132
06:37.420 --> 06:38.400
it'll show us the

133
06:38.400 --> 06:41.720
BGP rib, the routing information base with all the routes that we know about.

134
06:41.720 --> 06:42.160
And for the routes

135
06:42.160 --> 06:46.000
in the routing table, we can just show IP route. We can also show IP route

136
06:46.000 --> 06:48.400
followed by BGP, just to

137
06:48.400 --> 06:51.690
narrow it down to the BGP learned routes in the routing table. So thanks for

138
06:51.690 --> 06:52.400
joining me in this

139
06:52.400 --> 06:56.630
fundamental look at the world of BGP, where we had an opportunity to look at

140
06:56.630 --> 06:57.760
and configure and

141
06:57.760 --> 07:02.870
verify internal BGP, external BGP. And if you're interested in even more and
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

141
06:57.760 --> 07:02.870
verify internal BGP, external BGP. And if you're interested in even more and

142
07:02.870 --> 07:04.320
more detail on BGP,

143
07:04.320 --> 07:08.260
which there's a lot more detail to it, come see us in one of our additional

144
07:08.260 --> 07:08.800
professional level

145
07:08.800 --> 07:13.580
courses for Cisco, such as an RC, which provides an even deeper look and goes

146
07:13.580 --> 07:14.000
into more of the

147
07:14.000 --> 07:18.490
methodologies and options in tweaking and tuning BGP. But for now, thanks for

148
07:18.490 --> 07:19.360
joining me in this set

149
07:19.360 --> 07:23.460
of videos. And I look forward to seeing you in another set very, very soon. And

150
07:23.460 --> 07:24.240
until then,

151
07:24.240 --> 07:28.320
I hope this has been informative and I'd like to thank you for viewing.
