[193758] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Juniper Advertise MED on EBGP session.

daemon@ATHENA.MIT.EDU (Olivier Benghozi)
Wed Feb 22 03:54:27 2017

X-Original-To: nanog@nanog.org
From: Olivier Benghozi <olivier.benghozi@wifirst.fr>
Date: Tue, 21 Feb 2017 17:38:12 +0100
To: nanog@nanog.org
In-Reply-To: <20170221152620.GA69839@ussenterprise.ufp.org>
Errors-To: nanog-bounces@nanog.org

What metric do you intend to advertise to an eBGP peer?

iBGP MED to eBGP MED ? MED being a non-transitive attribute, I guess =
it's not expected to work if you don't explicitly set a MED in the =
export policy (you might rely on setting and matching communities for =
that) or on the peer group.
It's not be expected to work on Cisco without explicitly setting the =
MED, either.

IGP metric to MED ? It seems to just work as is here, at least for RIP =
and OSPF (as long as you don't do anything to the MED in your export =
policy): RIP metric and OSPF metric  are exported spontaneously as MED =
(when using OSPF E2 routes, beware of the static aspect of their =
metric).


Olivier


> On 21 feb. 2017 at 16:26, Leo Bicknell <bicknell@ufp.org> wrote:
>=20
> I tried to pull an old trick out of my playbook this morning and
> failed.  I'd like to advertise BGP Metrics on an EBGP session,
> specifically the existing internal metrics.  I know how to do this
> on a Cisco, but I tried on a Juniper and it seems to be impossible.
>=20
> I can set a metric in a policy, or put a default metric on the
> session as a whole, or even set it to IGP.  But none of those are
> what I want.  I want the existing metrics advertised as-is, just
> like would be done over an IBGP session.  After an hour of reading
> documentation and trying a few things, I'm starting to think it
> may be impossible on JunOS.


home help back first fref pref prev next nref lref last post