[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Juniper Advertise MED on EBGP session.
- Subject: Juniper Advertise MED on EBGP session.
- From: ktims at stargate.ca (Keenan Tims)
- Date: Tue, 21 Feb 2017 11:10:35 -0800
- In-reply-to: <[email protected]>
- References: <[email protected]>
I also spent a significant amount of time trying to figure out a way to
do this, and was using communities for a while before I found a
solution. It turns out that the expression knob lets you use the
existing metric as an input, and this works to export the iBGP MED, at
least on my 12.3X48 SRX:
then {
metric {
expression {
metric multiplier 1;
}
}
}
Keenan
On 2017-02-21 07:26, Leo Bicknell wrote:
> 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.
>
> 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.
>
> Anyone have a tip or trick?
>