1 00:00:00,000 --> 00:00:03,792 [AUDIO LOGO] 2 00:00:03,792 --> 00:00:08,070 3 00:00:08,070 --> 00:00:11,250 So now that we've talked about how route dampening actually 4 00:00:11,250 --> 00:00:13,650 works and what it's for, now it's 5 00:00:13,650 --> 00:00:15,450 time to jump into the command line 6 00:00:15,450 --> 00:00:18,040 and actually see it in action. 7 00:00:18,040 --> 00:00:21,220 So let's, of course, bring up our topology first 8 00:00:21,220 --> 00:00:23,850 so we know what we're going to be implementing and where, 9 00:00:23,850 --> 00:00:25,860 and then we'll jump into that command line 10 00:00:25,860 --> 00:00:29,370 and see all of this in action. 11 00:00:29,370 --> 00:00:34,430 So, for this demonstration, we will be using BGP Topology 1, 12 00:00:34,430 --> 00:00:36,860 and we're going to configure our route dampening 13 00:00:36,860 --> 00:00:41,660 on router 1, that way, we can see it on IOS XR 14 00:00:41,660 --> 00:00:45,920 and we'll also configure it on router 7. 15 00:00:45,920 --> 00:00:48,290 And then we're going to have router 6 create 16 00:00:48,290 --> 00:00:53,030 our problems by withdrawing and advertising routes 17 00:00:53,030 --> 00:00:54,830 numerous times. 18 00:00:54,830 --> 00:00:56,790 So that's our game plan. 19 00:00:56,790 --> 00:01:03,160 Let's start by jumping in and starting to configure router 1. 20 00:01:03,160 --> 00:01:05,620 So we'll begin here on router 1. 21 00:01:05,620 --> 00:01:09,430 And let's start by making a prefix-set. 22 00:01:09,430 --> 00:01:12,340 We don't necessarily need this, but if we 23 00:01:12,340 --> 00:01:15,880 want to control the route dampening separately for, say, 24 00:01:15,880 --> 00:01:19,360 prefixes or for different neighbors, 25 00:01:19,360 --> 00:01:21,670 then we're going to want to write a route 26 00:01:21,670 --> 00:01:23,620 policy to do this. 27 00:01:23,620 --> 00:01:27,460 Although keep in mind, we can apply this as just a blanket 28 00:01:27,460 --> 00:01:28,270 policy. 29 00:01:28,270 --> 00:01:30,410 And we'll see how to do that as we go. 30 00:01:30,410 --> 00:01:33,740 But we'll still start off here with a prefix-set. 31 00:01:33,740 --> 00:01:36,430 We'll just call it eBGP_PEERS. 32 00:01:36,430 --> 00:01:41,530 And for now, that's just going to be 50.0.167.6. 33 00:01:41,530 --> 00:01:45,760 We'll just put router 6 in there and we'll end the set. 34 00:01:45,760 --> 00:01:48,080 Then we'll write our route policy. 35 00:01:48,080 --> 00:01:49,217 We'll call this RP_RFD. 36 00:01:49,217 --> 00:01:52,840 37 00:01:52,840 --> 00:01:56,320 And we'll say, if the source-- 38 00:01:56,320 --> 00:01:59,650 this way, we're going to be matching on the route source-- 39 00:01:59,650 --> 00:02:05,200 is in our PS_eBGP_PEERS, then what we're going to want to do 40 00:02:05,200 --> 00:02:07,750 is set the dampening. 41 00:02:07,750 --> 00:02:11,170 Now just to start taking a look at how this gets built out, 42 00:02:11,170 --> 00:02:14,320 here we can either put in the halflife, the max-suppress, 43 00:02:14,320 --> 00:02:16,970 the reuse, or the suppress. 44 00:02:16,970 --> 00:02:19,430 So we have to start putting in the numbers. 45 00:02:19,430 --> 00:02:22,540 So let's start off with halflife. 46 00:02:22,540 --> 00:02:25,330 And just to not use the defaults here, 47 00:02:25,330 --> 00:02:28,020 let's set this to, say, 10. 48 00:02:28,020 --> 00:02:30,710 And by the way, notice the others here. 49 00:02:30,710 --> 00:02:34,980 We could just tell it to use the other default values. 50 00:02:34,980 --> 00:02:37,190 So realistically, we really only have 51 00:02:37,190 --> 00:02:41,360 to specify one of these numbers, but the rest of them, 52 00:02:41,360 --> 00:02:43,010 we could set to the default. 53 00:02:43,010 --> 00:02:46,050 Now, we're not going to do that, so let's back up over that. 54 00:02:46,050 --> 00:02:48,860 And let's instead say-- 55 00:02:48,860 --> 00:02:53,180 let's do a reuse limit of, let's say 500. 56 00:02:53,180 --> 00:02:56,720 Let's do a suppress of 2,500. 57 00:02:56,720 --> 00:02:59,630 And again, this is really just not to use the defaults. 58 00:02:59,630 --> 00:03:03,320 And we'll set the max-suppress time to 30 minutes. 59 00:03:03,320 --> 00:03:05,540 Then we'll just pass the rest of the prefixes 60 00:03:05,540 --> 00:03:07,760 if they're coming from a different neighbor. 61 00:03:07,760 --> 00:03:10,100 And we'll exit out of our policy. 62 00:03:10,100 --> 00:03:12,830 Next up, of course, we have to go into router BGP. 63 00:03:12,830 --> 00:03:18,800 So router BGP 100 for the address family iPv4 unicast, 64 00:03:18,800 --> 00:03:21,440 and we say BGP dampening. 65 00:03:21,440 --> 00:03:24,270 Now, note here if we get contact-sensitive help, 66 00:03:24,270 --> 00:03:27,060 we can, of course, call to our route policy, 67 00:03:27,060 --> 00:03:29,040 which is why we just wrote it. 68 00:03:29,040 --> 00:03:31,160 But notice we could also just start 69 00:03:31,160 --> 00:03:35,180 configuring the halflife time and everything right here. 70 00:03:35,180 --> 00:03:39,170 If we do it right here, that would be for everything-- 71 00:03:39,170 --> 00:03:42,030 all prefixes learned from all neighbors-- 72 00:03:42,030 --> 00:03:44,240 but if we want to be specific, again, 73 00:03:44,240 --> 00:03:47,060 either per neighbor or per prefix-- 74 00:03:47,060 --> 00:03:49,130 because of course, we could have really matched 75 00:03:49,130 --> 00:03:51,770 on anything in our route policy. 76 00:03:51,770 --> 00:03:54,740 We matched on a route source being a neighbor, 77 00:03:54,740 --> 00:03:57,110 but it could have been on prefixes or whatever 78 00:03:57,110 --> 00:03:58,670 we wanted to match on. 79 00:03:58,670 --> 00:04:01,100 If you want to do it for everything, 80 00:04:01,100 --> 00:04:03,680 you can just set it right here on this command line. 81 00:04:03,680 --> 00:04:05,450 We didn't need the prefix set, we 82 00:04:05,450 --> 00:04:07,280 didn't need the route policy. 83 00:04:07,280 --> 00:04:10,250 But this is, of course, a little bit more interesting to do it 84 00:04:10,250 --> 00:04:13,800 with the route policy, so let's just go ahead and continue. 85 00:04:13,800 --> 00:04:17,329 So here, all we have to do is actually apply that policy, 86 00:04:17,329 --> 00:04:21,600 then we'll commit our changes and exit configuration. 87 00:04:21,600 --> 00:04:25,580 So now let's go do the exact same thing on router 7. 88 00:04:25,580 --> 00:04:27,500 Of course, the configuration is a little bit 89 00:04:27,500 --> 00:04:30,080 different on IOS XE. 90 00:04:30,080 --> 00:04:32,720 First, we use a prefix-list. 91 00:04:32,720 --> 00:04:35,400 We'll pretty much call it the same thing. 92 00:04:35,400 --> 00:04:38,750 We'll use PL instead of PS since it's a prefix-list instead 93 00:04:38,750 --> 00:04:39,920 of a prefix-set. 94 00:04:39,920 --> 00:04:42,380 But beyond that, it'll be pretty much the same. 95 00:04:42,380 --> 00:04:45,950 Once again, is going to be matching on the 50.0.167.6. 96 00:04:45,950 --> 00:04:47,630 97 00:04:47,630 --> 00:04:50,450 And we'll match on that as a host route 98 00:04:50,450 --> 00:04:53,120 since it's the actual address of our neighbor. 99 00:04:53,120 --> 00:04:56,660 So we'll just match on it as a slash 32. 100 00:04:56,660 --> 00:05:00,080 Of course, it's not a route policy on IOS XE, 101 00:05:00,080 --> 00:05:02,150 it's a route map. 102 00:05:02,150 --> 00:05:05,660 We'll call this RM_RFD. 103 00:05:05,660 --> 00:05:08,048 And we'll start with stanza 10. 104 00:05:08,048 --> 00:05:09,590 What we're going to do is we're going 105 00:05:09,590 --> 00:05:14,870 to match on the IP address based on the prefix-list, 106 00:05:14,870 --> 00:05:20,990 PL_eBGP_PEERS, and we're going to set the dampening. 107 00:05:20,990 --> 00:05:22,740 This is done a little bit differently. 108 00:05:22,740 --> 00:05:25,490 We don't actually put the words in here, which means 109 00:05:25,490 --> 00:05:27,480 they go in a specific order. 110 00:05:27,480 --> 00:05:30,320 So the first thing is the halflife time. 111 00:05:30,320 --> 00:05:34,130 We'll use the same numbers, so we'll set this to 10. 112 00:05:34,130 --> 00:05:37,880 The next thing is going to be the penalty to start reusing 113 00:05:37,880 --> 00:05:40,760 a route-- so, in other words, the reuse limit-- 114 00:05:40,760 --> 00:05:43,310 we had set this to 500. 115 00:05:43,310 --> 00:05:45,020 Then it wants to know when it should 116 00:05:45,020 --> 00:05:47,540 start suppressing the route. 117 00:05:47,540 --> 00:05:53,090 So that we set to 2,500, and then we have the max duration, 118 00:05:53,090 --> 00:05:55,630 and this is going to be 30. 119 00:05:55,630 --> 00:05:58,840 That's all at once, so we'll hit Enter. 120 00:05:58,840 --> 00:06:02,620 Then we'll go into our router BGP 65001. 121 00:06:02,620 --> 00:06:06,370 And under BGP dampening, notice once again, we 122 00:06:06,370 --> 00:06:09,280 could just put the entries here or we 123 00:06:09,280 --> 00:06:10,510 can call to our route map. 124 00:06:10,510 --> 00:06:14,350 So just like on IOS XR, this would be global 125 00:06:14,350 --> 00:06:16,300 if we just start putting numbers here 126 00:06:16,300 --> 00:06:19,960 or we call to our route map to do specifics. 127 00:06:19,960 --> 00:06:22,390 So now that we're all configured, now 128 00:06:22,390 --> 00:06:24,730 we need a route to actually flap. 129 00:06:24,730 --> 00:06:27,220 So let's go over to router 6. 130 00:06:27,220 --> 00:06:30,250 And the first thing we're going to do is create a new loopback 131 00:06:30,250 --> 00:06:33,640 and advertise it into BGP. 132 00:06:33,640 --> 00:06:36,460 And again, this is something we've done numerous times, 133 00:06:36,460 --> 00:06:38,000 so we don't really need to see it. 134 00:06:38,000 --> 00:06:40,550 I'll just paste the configuration in. 135 00:06:40,550 --> 00:06:43,240 So we've created a Loopback100. 136 00:06:43,240 --> 00:06:46,130 We can see the loopback interface is coming up. 137 00:06:46,130 --> 00:06:47,890 And if we give it just a second here, 138 00:06:47,890 --> 00:06:52,480 it should show up in BGP as well if we do a show ip bgp. 139 00:06:52,480 --> 00:06:57,400 Here, we have the 100.6.6.6/32. 140 00:06:57,400 --> 00:07:00,100 The next Hop is all zeros, indicating 141 00:07:00,100 --> 00:07:01,930 we're locally injecting it. 142 00:07:01,930 --> 00:07:06,100 And the default wait there of 32768 143 00:07:06,100 --> 00:07:09,220 also indicates it's locally injected. 144 00:07:09,220 --> 00:07:11,390 So now that it's been advertised, 145 00:07:11,390 --> 00:07:13,870 let's actually make this flat. 146 00:07:13,870 --> 00:07:16,810 So let's go back into configuration, 147 00:07:16,810 --> 00:07:20,020 back into interface, loopback100, and let's 148 00:07:20,020 --> 00:07:21,580 shut it down. 149 00:07:21,580 --> 00:07:23,630 We'll just start with that. 150 00:07:23,630 --> 00:07:26,650 And now let's go look at what's happening on router 7. 151 00:07:26,650 --> 00:07:34,480 So on 7, let's do a show bgp ipv4, unicast, dampening, 152 00:07:34,480 --> 00:07:39,560 flap-statistics for the 100.6.6.6. 153 00:07:39,560 --> 00:07:42,060 Let's look at router 1 as well. 154 00:07:42,060 --> 00:07:44,720 Let's start with a show BGP. 155 00:07:44,720 --> 00:07:48,990 What this will actually show us is that dampening is enabled. 156 00:07:48,990 --> 00:07:50,730 We can see it right here. 157 00:07:50,730 --> 00:07:54,150 So now let's see if it's actually counted that. 158 00:07:54,150 --> 00:08:00,980 So now let's do a show bgp ipv4 unicast flap-statistics 159 00:08:00,980 --> 00:08:03,110 100.6.6.6. 160 00:08:03,110 --> 00:08:06,750 Notice it's showing it as a historical entry. 161 00:08:06,750 --> 00:08:09,620 So now let's flap router 6 a few times. 162 00:08:09,620 --> 00:08:12,020 So now let's do a no shut. 163 00:08:12,020 --> 00:08:15,830 We'll let it come back up, we'll shut it again. 164 00:08:15,830 --> 00:08:18,160 And let's go look at the routers again. 165 00:08:18,160 --> 00:08:20,890 Here on router 7, we might notice 166 00:08:20,890 --> 00:08:22,900 that we're having a problem. 167 00:08:22,900 --> 00:08:25,960 Notice that I've actually repeated this a few times. 168 00:08:25,960 --> 00:08:29,140 And we're not getting any flap-statistics, 169 00:08:29,140 --> 00:08:32,200 which really looks like router 7 is not working. 170 00:08:32,200 --> 00:08:37,179 Because if we go over to router 1, if we look at this again, 171 00:08:37,179 --> 00:08:40,000 notice that this has it as a historical entry, 172 00:08:40,000 --> 00:08:42,289 it's showing a couple of Flaps here. 173 00:08:42,289 --> 00:08:45,310 So obviously, the route is flapping, 174 00:08:45,310 --> 00:08:48,080 but router 7 is not showing it. 175 00:08:48,080 --> 00:08:50,530 So if we go back over here to router 7, 176 00:08:50,530 --> 00:08:55,030 we can see right here the line where we applied our dampening. 177 00:08:55,030 --> 00:09:00,640 So we did bgp dampening route-map RM_RFD-- 178 00:09:00,640 --> 00:09:02,660 that seems correct. 179 00:09:02,660 --> 00:09:06,610 So let's do a show route-map RM_RFD. 180 00:09:06,610 --> 00:09:08,590 And actually, what we can see here 181 00:09:08,590 --> 00:09:12,700 is that we made a mistake when putting the route map in. 182 00:09:12,700 --> 00:09:16,240 We actually matched on the IP address 183 00:09:16,240 --> 00:09:19,240 based on the prefix-lists, but it should 184 00:09:19,240 --> 00:09:21,680 have been on the route source. 185 00:09:21,680 --> 00:09:23,900 So we're going to have to correct this. 186 00:09:23,900 --> 00:09:29,830 So actually, let's just say no route-map RM_RFD. 187 00:09:29,830 --> 00:09:31,780 It's not a very complicated route map. 188 00:09:31,780 --> 00:09:33,920 We'll just put it in again. 189 00:09:33,920 --> 00:09:36,130 So we'll recreate our route map. 190 00:09:36,130 --> 00:09:38,440 It's, of course, yelling at us here because I deleted 191 00:09:38,440 --> 00:09:40,510 the route map that it's using for dampening, 192 00:09:40,510 --> 00:09:42,380 but it'll correct it in a minute. 193 00:09:42,380 --> 00:09:45,550 This should not have been match ip address. 194 00:09:45,550 --> 00:09:49,390 This should have been match ip route-source 195 00:09:49,390 --> 00:09:52,150 and then set the dampening. 196 00:09:52,150 --> 00:09:53,780 We'll look at the route-map again, 197 00:09:53,780 --> 00:09:56,890 and we can see that now it's matching on the route-source 198 00:09:56,890 --> 00:09:58,850 based on the prefix-list. 199 00:09:58,850 --> 00:10:02,080 So now let's see if it's showing our dampening statistics. 200 00:10:02,080 --> 00:10:05,950 Let's cause one more flap or maybe a couple. 201 00:10:05,950 --> 00:10:08,470 And we'll see if 7 is counting it now. 202 00:10:08,470 --> 00:10:11,260 I'm just going to take this off and put it back on. 203 00:10:11,260 --> 00:10:13,810 It probably really confused it when 204 00:10:13,810 --> 00:10:17,440 we took the route map out that it was using for its dampening, 205 00:10:17,440 --> 00:10:21,550 so we'll reapply it because it's still not counting it properly. 206 00:10:21,550 --> 00:10:25,608 OK, so there's nothing shown right now. 207 00:10:25,608 --> 00:10:28,150 And I know that got messed up with the console message there. 208 00:10:28,150 --> 00:10:29,830 Let me do it again. 209 00:10:29,830 --> 00:10:32,050 There's nothing being shown on this output, 210 00:10:32,050 --> 00:10:34,750 but see that we're at least getting output, which means 211 00:10:34,750 --> 00:10:37,040 that now it's properly enabled. 212 00:10:37,040 --> 00:10:39,830 So now we can properly do our testing. 213 00:10:39,830 --> 00:10:42,670 So now let's go back and flap it a few more times 214 00:10:42,670 --> 00:10:44,450 and see where we're at. 215 00:10:44,450 --> 00:10:48,070 So we'll bring it back up, shut it back down, 216 00:10:48,070 --> 00:10:50,780 and let's go see where we are. 217 00:10:50,780 --> 00:10:54,820 We can see here on router 7 that it is now properly tracking 218 00:10:54,820 --> 00:10:58,790 the dampening, and we can see that it's flapped twice. 219 00:10:58,790 --> 00:11:02,050 So now we'll go ahead and flap this enough times that it 220 00:11:02,050 --> 00:11:04,600 actually goes to suppressed. 221 00:11:04,600 --> 00:11:07,270 All fast forward until it does that because we 222 00:11:07,270 --> 00:11:10,540 do have to wait 30 seconds between each flap for this 223 00:11:10,540 --> 00:11:12,310 to work properly, so this is going 224 00:11:12,310 --> 00:11:14,300 to take just a couple of minutes. 225 00:11:14,300 --> 00:11:17,080 So now that we've flapped this just a few times, 226 00:11:17,080 --> 00:11:20,320 we can see here it's listing it as four flaps. 227 00:11:20,320 --> 00:11:24,310 We can see that this is now being dampened. 228 00:11:24,310 --> 00:11:27,130 And we can see that it's going to be reused 229 00:11:27,130 --> 00:11:30,220 in 4 minutes and 49 seconds. 230 00:11:30,220 --> 00:11:33,640 If we say show ip bgp for the prefix, 231 00:11:33,640 --> 00:11:36,610 we can also see the dampening information here. 232 00:11:36,610 --> 00:11:40,030 We see that its current penalty is 3,024, 233 00:11:40,030 --> 00:11:45,010 it's flapped 4 times in the last 7 minutes and 39 seconds, 234 00:11:45,010 --> 00:11:47,980 and again, it's going to be reused now 235 00:11:47,980 --> 00:11:50,660 in 4 minutes and 9 seconds. 236 00:11:50,660 --> 00:11:54,040 So we can see that not only does it keep track of the fact 237 00:11:54,040 --> 00:11:56,440 that it's dampened-- we also see, by the way, 238 00:11:56,440 --> 00:11:59,830 it says suppressed due to dampening-- but it also 239 00:11:59,830 --> 00:12:03,550 lets us know automatically it's calculated 240 00:12:03,550 --> 00:12:06,460 the halflife timer, the current penalty, 241 00:12:06,460 --> 00:12:10,120 and it knows when it's going to get back to the reuse limit, 242 00:12:10,120 --> 00:12:13,510 and it's already calculated that time for us. 243 00:12:13,510 --> 00:12:17,180 We can verify this over on router 1 as well. 244 00:12:17,180 --> 00:12:19,420 So first, we can just look at the statistics. 245 00:12:19,420 --> 00:12:21,820 This, of course, shows us that it's dampened, 246 00:12:21,820 --> 00:12:24,280 and it also gives us that reuse. 247 00:12:24,280 --> 00:12:28,900 Now, remember that router 1 was working, to begin with. 248 00:12:28,900 --> 00:12:31,930 And router 7 had a little bit of an issue 249 00:12:31,930 --> 00:12:34,600 because we put in our route map incorrectly. 250 00:12:34,600 --> 00:12:38,410 So notice that router 1 has seen quite a few more flaps. 251 00:12:38,410 --> 00:12:42,020 Its reuse is 27 minutes. 252 00:12:42,020 --> 00:12:45,010 So it sees the penalty as being a lot higher. 253 00:12:45,010 --> 00:12:48,260 We can also say detail on this output, 254 00:12:48,260 --> 00:12:51,550 and we can see all those statistics that we 255 00:12:51,550 --> 00:12:53,200 entered for the configuration. 256 00:12:53,200 --> 00:12:55,780 We see the halflife timer of 10 that we 257 00:12:55,780 --> 00:12:59,470 put in, our suppressed limit, our reuse limit, 258 00:12:59,470 --> 00:13:02,440 and we see that max suppress time. 259 00:13:02,440 --> 00:13:05,530 If we do a show bgp for that prefix, 260 00:13:05,530 --> 00:13:08,830 we see that once again, it says suppressed due to dampening, 261 00:13:08,830 --> 00:13:11,170 and we see the dampening information. 262 00:13:11,170 --> 00:13:14,740 It currently has a penalty of 3,118. 263 00:13:14,740 --> 00:13:18,370 It's flapped 7 times in 18 minutes, 264 00:13:18,370 --> 00:13:24,490 with a reuse in 26 minutes and 20 seconds now. 265 00:13:24,490 --> 00:13:27,760 So this is how BGP route dampening works. 266 00:13:27,760 --> 00:13:32,260 If you know that this has become stable, maybe the customer 267 00:13:32,260 --> 00:13:34,760 called us up and told us, hey, we had an issue, 268 00:13:34,760 --> 00:13:36,760 but it's all been fixed now, can we 269 00:13:36,760 --> 00:13:39,530 get this to not be dampened anymore? 270 00:13:39,530 --> 00:13:41,270 We can do that as well. 271 00:13:41,270 --> 00:13:42,850 Now, these are some long commands, 272 00:13:42,850 --> 00:13:44,920 so I'm just going to copy and paste them in, 273 00:13:44,920 --> 00:13:48,970 but we can clear both the statistics and the fact 274 00:13:48,970 --> 00:13:50,860 that it's currently being dampened, 275 00:13:50,860 --> 00:13:55,790 and get this route to come back earlier if we choose to do so. 276 00:13:55,790 --> 00:13:57,940 So here on router 1, we'll simply 277 00:13:57,940 --> 00:14:00,740 clear these two pieces of information. 278 00:14:00,740 --> 00:14:05,020 So the first one is to clear bgp ipv4 unicast dampening and then 279 00:14:05,020 --> 00:14:06,220 for the prefix. 280 00:14:06,220 --> 00:14:09,080 And again, the second command got buried there a little bit, 281 00:14:09,080 --> 00:14:11,840 so let me just hit the up arrow so you can see it. 282 00:14:11,840 --> 00:14:16,420 It's the clear bgp ipv4 unicast flap-statistics 283 00:14:16,420 --> 00:14:18,850 for that prefix. 284 00:14:18,850 --> 00:14:22,260 So now if we do a show bgp for the 100.6.6.6, 285 00:14:22,260 --> 00:14:24,780 we can see that now it's being advertised 286 00:14:24,780 --> 00:14:29,380 and it doesn't have any of the flap statistics counted for it. 287 00:14:29,380 --> 00:14:32,580 So basically, we manually just wiped the slate clean 288 00:14:32,580 --> 00:14:35,010 and got this to be re-advertised. 289 00:14:35,010 --> 00:14:38,250 We can do the same thing on IOS XE. 290 00:14:38,250 --> 00:14:41,130 And believe it or not, I can just paste these commands in. 291 00:14:41,130 --> 00:14:45,360 They're the exact same commands on both platforms. 292 00:14:45,360 --> 00:14:49,420 We'll do our show ip bgp for the prefix again. 293 00:14:49,420 --> 00:14:52,410 And as we see here, just like on IOS XR, 294 00:14:52,410 --> 00:14:54,840 all of the flap statistics are gone, 295 00:14:54,840 --> 00:14:58,210 and the prefix is being advertised. 296 00:14:58,210 --> 00:15:01,710 So again, we just manually wiped the slate clean. 297 00:15:01,710 --> 00:15:03,720 Clearly, we would only do this if we 298 00:15:03,720 --> 00:15:07,180 had reason to suspect that yes, there had been a problem, 299 00:15:07,180 --> 00:15:09,015 but yes, now we know it's cleared up. 300 00:15:09,015 --> 00:15:11,550 s So like in the example of router 1, 301 00:15:11,550 --> 00:15:14,250 let's not make the customer wait 30 minutes. 302 00:15:14,250 --> 00:15:16,950 We can go ahead and clear those statistics 303 00:15:16,950 --> 00:15:20,620 and dampening right now. 304 00:15:20,620 --> 00:15:25,410 So in this video, we saw how to configure BGP route dampening 305 00:15:25,410 --> 00:15:29,650 on both IOS XR and IOS XE. 306 00:15:29,650 --> 00:15:33,420 Remember you can set these numbers directly 307 00:15:33,420 --> 00:15:35,860 under the routing process itself, 308 00:15:35,860 --> 00:15:38,190 and that's just going to be global then. 309 00:15:38,190 --> 00:15:41,310 That's going to be for all neighbors, all prefixes, 310 00:15:41,310 --> 00:15:45,150 or you can go the way we went, which is using 311 00:15:45,150 --> 00:15:48,240 a route map or a route policy. 312 00:15:48,240 --> 00:15:50,940 Just make sure you write your route maps correctly, 313 00:15:50,940 --> 00:15:52,530 unlike what we did. 314 00:15:52,530 --> 00:15:55,080 The problem, of course, what we did here 315 00:15:55,080 --> 00:15:58,110 is we did our prefix list based on the route source, 316 00:15:58,110 --> 00:16:00,990 but then told it to match on the address rather than the route 317 00:16:00,990 --> 00:16:01,560 source. 318 00:16:01,560 --> 00:16:04,620 We could have matched on either one. 319 00:16:04,620 --> 00:16:07,800 We just would have had to write our prefix list a little 320 00:16:07,800 --> 00:16:13,650 differently so that it was matching on the 100.6.6.6/32 321 00:16:13,650 --> 00:16:16,470 rather than the actual address of the neighbor, 322 00:16:16,470 --> 00:16:18,100 but either way is fine. 323 00:16:18,100 --> 00:16:22,830 We can match on either prefixes or neighbors in our route 324 00:16:22,830 --> 00:16:28,080 policies and prefix sets and route maps and prefix lists. 325 00:16:28,080 --> 00:16:30,440 We can match on whatever we want to. 326 00:16:30,440 --> 00:16:33,850 We just have to be consistent with what we're doing. 327 00:16:33,850 --> 00:16:35,880 I hope this has been informative for you, 328 00:16:35,880 --> 00:16:38,900 and I'd like to thank you for viewing. 329 00:16:38,900 --> 00:16:42,000