Routing
Highlighted
Routing

BG_ set metric-type interna1

‎01-11-2017 10:28 PM

Hello Guys, 

 

what is the command/concept ( if ) equivalnt to set metric-type internal in Cisco 

1 REPLY 1
Highlighted
Routing

Re: BG_ set metric-type interna1

‎01-12-2017 01:19 AM

Hello,

Are You after this one?

https://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp4.html

set metric-type internal
To set the Multi Exit Discriminator (MED) value on prefixes advertised to external BGP (eBGP) neighbors to match the Interior Gateway Protocol (IGP) metric of the next hop

The JUNOS equivalent is:

 

set policy-options policy-statement IGP->MED term t1 then metric igp
set protocols bgp group ebgp export IGP->MED

Also, if You are exporting IGP prefixes into BGP, the MED == IGP cost will be set automatically without any policy.

HTH

Thx

Alex

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Feedback