[Contents] [Prev] [Next] [Index] [Report an Error]

Example: Always Comparing MEDs

In this example, paths learned from 208.197.169.15 have their MED values compared to the sum of 4 and the MED values of the same paths learned from 208.197.169.14:

[edit]
protocols {
bgp {
path-selection always-compare-med;
group ref {
type external;
import math;
peer-as 10458;
neighbor 208.197.169.14;
}
group ref {
type external;
peer-as 10;
neighbor 208.197.169.15;
}
}
}
policy-options {
policy-statement math {
then {
metric add 4;
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]