[j-nsp] MED

harry harry at juniper.net
Wed Dec 3 12:53:38 EST 2003

IOS has options for med=0 vs med=max (not the actual syntax) that determines
how the lack of a MED is interpreted. JUNOS does not. If not mistaken, we
always consider no med as a MED of 0.



bgp bestpath med missing-as-worst
To have Cisco IOS software consider a missing Multi Exit Discriminator (MED)
attribute in a path as having a value of infinity, making the path without a
MED value the least desirable path, use the bgp bestpath med
missing-as-worst command in router configuration mode. To return the router
to the default (assign a value of 0 to the missing MED), use the no form of
this command.

bgp bestpath med missing-as-worst 
no bgp bestpath med missing-as-worst 
Syntax Description

This command has no arguments or keywords.


The software assigns a value of 0 to the missing MED, causing the path with
the missing MED attribute to be considered the best path.

Command Modes

Router configuration

Command History

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net 
> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Blaz Zupan
> Sent: Wednesday, December 03, 2003 9:35 AM
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] MED
> If we have two otherwise equal routes, one without a MED and 
> one with a MED set, which one is preferred? Is a route 
> without a MED considered equal to a MED of 0, so any route 
> with a MED will have a lower priority than a route without a 
> MED? _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net 
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp

More information about the juniper-nsp mailing list