Re: BGP

From: Brian Lodwick (xpranax@xxxxxxxxxxx)
Date: Fri Mar 15 2002 - 17:27:33 GMT-3


   
I'll take the easy one:

bgp always-compare-med

         AS286
AS701 <
         AS993

You are in AS701 and you receive updates from AS286 and AS993. The MED
attribute is supposed to be used to influence an external neighbor on the
best path into your AS. So if AS286 has 2 connections to your AS701 it can
use the MED attribute to influence your routing decision to networks
reachable via their AS. If you use the command:
bgp always-compare-med
your router will not only compare MEDs to the best way to enter an AS, it
will use the MED attribute as a global attribute and will compare MEDs not
worrying about which AS it was from. So then if AS286 advertises to you
10.0.0.0/24 with a MED of 10 and AS993 advertises to you 10.0.0.0/24 with a
MED of 15 your router your router will take this information into account
when it makes it's routing decision. If you didn't have the command bgp
always-compare-med entered into the decision making router MED would not be
used as part of the equation.

Hope I didn't clutter it up more for you.

>>>Brian

>From: "Shadi" <ccie@investorsgrp.com>
>Reply-To: "Shadi" <ccie@investorsgrp.com>
>To: "ccielab" <ccielab@groupstudy.com>
>Subject: BGP
>Date: Fri, 15 Mar 2002 21:38:46 +0200
>
>when do we use the below commands and why?
>
>bgp bestpath compare-routerid
>bgp always-compare-med
>bgp deterministic med
>bgp bestpath as-path ignore
>bgp bestpath med confed
>
>I read through the CCO many times, but i didn't get a clear idea. so can
>any
>body good in BGP explain more?
>
>:-)
>
>Shadi



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:10 GMT-3