Re: Removing MED (New Issue 1.0)

Curtis Villamizar <curtis@workhorse.fictitious.org> Wed, 02 October 2002 02:10 UTC

Received: from trapdoor.merit.edu (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA12496 for <idr-archive@ietf.org>; Tue, 1 Oct 2002 22:10:43 -0400 (EDT)
Received: by trapdoor.merit.edu (Postfix) id 52F1A91230; Tue, 1 Oct 2002 22:12:33 -0400 (EDT)
Delivered-To: idr-outgoing@trapdoor.merit.edu
Received: by trapdoor.merit.edu (Postfix, from userid 56) id 1CC6B912B9; Tue, 1 Oct 2002 22:12:33 -0400 (EDT)
Delivered-To: idr@trapdoor.merit.edu
Received: from segue.merit.edu (segue.merit.edu [198.108.1.41]) by trapdoor.merit.edu (Postfix) with ESMTP id AF60D91230 for <idr@trapdoor.merit.edu>; Tue, 1 Oct 2002 22:12:31 -0400 (EDT)
Received: by segue.merit.edu (Postfix) id 974235DE8C; Tue, 1 Oct 2002 22:12:31 -0400 (EDT)
Delivered-To: idr@merit.edu
Received: from workhorse.fictitious.org (workhorse.fictitious.org [209.150.1.230]) by segue.merit.edu (Postfix) with ESMTP id 8AFDD5DE0D for <idr@merit.edu>; Tue, 1 Oct 2002 22:12:30 -0400 (EDT)
Received: from workhorse.fictitious.org (localhost.fictitious.org [127.0.0.1]) by workhorse.fictitious.org (8.9.3/8.9.3) with ESMTP id WAA55112; Tue, 1 Oct 2002 22:12:02 -0400 (EDT) (envelope-from curtis@workhorse.fictitious.org)
Message-Id: <200210020212.WAA55112@workhorse.fictitious.org>
To: Enke Chen <enke@redback.com>
Cc: Stephen Gill <gillsr@yahoo.com>, idr@merit.edu
Reply-To: curtis@fictitious.org
Subject: Re: Removing MED (New Issue 1.0)
In-reply-to: Your message of "Tue, 01 Oct 2002 11:05:10 PDT." <20021001180510.23D517E6C1@popserv3.redback.com>
Date: Tue, 01 Oct 2002 22:12:02 -0400
From: Curtis Villamizar <curtis@workhorse.fictitious.org>
Sender: owner-idr@merit.edu
Precedence: bulk

In message <20021001180510.23D517E6C1@popserv3.redback.com>, Enke Chen writes:
> Steve,
> 
> > From: "Stephen Gill" <gillsr@yahoo.com>
> > To: "'Enke Chen'" <enke@redback.com>,
> > 	"'Natale, Jonathan'" <JNatale@celoxnetworks.com>
> > Cc: <idr@merit.edu>
> > Subject: RE: Removing MED (New Issue 1.0) 
> > Date: Tue, 1 Oct 2002 13:01:04 -0500
> > 
> > Humm. I thought with a missing MED it was prefereable to be treated as
> > worst not as 0.
> 
> It was changed a long time ago. Please see the following text in
> Sect. 9.1.2.2 of the draft:
> 
>       In the pseudo-code above, MED(n) is a function which returns the
>       value of route n's MULTI_EXIT_DISC attribute. If route n has no
>       MULTI_EXIT_DISC attribute, the function returns the lowest
>       possible MULTI_EXIT_DISC value, i.e. 0.
> 
> -- Enke
> 
> >  Cisco treats a missing med as 0, and I think Juniper
> > treats it as worst.  Cisco has a knob to change this: bgp bestpath
> > missing-as-worst.  
> > 
> > -- steve


If Juniper treats missing MULTI_EXIT_DISC as worst and Cisco has a
knob to treat missing MULTI_EXIT_DISC as worst, then IMHO we should
change the spec to say that MED(n) returns the largest value possible
is MULTI_EXIT_DISC is missing since this has better loop suppression
bahaviour if the placement of MULTI_EXIT_DISC removal is moved in its
position in the flow from Adj-In-RIB to Loc-RIB to Adj-Rib-Out.  In
other words, no matter where the removal takes place, we are loop free
without special rules about comparing EBGP before MED removal and then
IBGP after MED removal.  The only argument for MED(n) going to zero
for missing MULTI_EXIT_DISC was that Cisco routers did that (and
change would pose an operational issue if there wasn't a knob to
facilitate the change).

Note that when explicitly jamming a MULTI_EXIT_DISC value, such as
zero, the issue of where in the decision process the MULTI_EXIT_DISC
learned from the EBGP peers could still be used becomes a concern
again.  Unfortunately these implementation hints are necessary to
remain loop free and so its hard to declare them out of scope, unless
we forbid changing MULTI_EXIT_DISC and just allow it to be removed
(which does not reflect current practice).

Curtis