IPExpert 10 wkbk 1 lab 12.10

From: michael haynes <mghaynes_at_gmail.com>
Date: Sat, 20 Jun 2009 20:41:52 -0400

I've got a question about the origin code attribute in bgp.

On the lab task in question, it asks me to advertise the loopbacks into bgp
and make sure that the updates show an origin code of 2.

Since an origin code of 2 is 'incomplete' or a redistributed route, the
answer does a 'redistribute connected' using a route-map that matches the
loopback interfaces.

In my answer I created a route-map that matched the loopback interfaces and
then set the origin code to incomplete:

route-map MyLoops permit 10
  match interface loopback0 loopback1 loopback2 loopback3
  set origin incomplete

Then I used the network command with a route-map to advertise the networks:

router bgp 256
  network 200.0.0.2 mask 255.255.255.255 route-map MyLoops
  network 200.0.1.2 mask 255.255.255.255 route-map MyLoops
  network 200.0.3.2 mask 255.255.255.255 route-map MyLoops
  network 200.0.3.2 mask 255.255.255.255 route-map MyLoops

The show results look the same as the proctor guide even though I didn't use
the redistribute command. Aside from my config being longer than the
proctor guide, is there any functional difference that I'm missing (assuming
the lab doesn't say to use the redistribute command or to minimize the
config).

Thanks
Michael

Blogs and organic groups at http://www.ccie.net
Received on Sat Jun 20 2009 - 20:41:52 ART

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:37 ART