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


metric-out

Syntax

metric-out (metric | minimum-igp <offset>| igp <offset>);

Hierarchy Level

[edit protocols bgp],
[edit protocols bgp group group-name],
[edit protocols bgp group group-name neighbor address],
[edit routing-instances
routing-instance-name protocols bgp],
[edit routing-instances routing-instance-name protocols bgp group group-name],
[edit routing-instances routing-instance-name protocols bgp group group-name
    
neighbor address]

Description

Metric for all routes sent using the multiple exit discriminator (MED, or MULTI_EXIT_DISC) path attribute in update messages. This path attribute is used to discriminate among multiple exit points to a neighboring AS. If all other factors are equal, the exit point with the lowest metric is preferred.

You can specify a constant metric value by including the metric option. For configurations in which a BGP peer sends third-party next hops that require the local system to perform next-hop resolution—IBGP configurations, configurations within confederation peers, or EBGP configurations that include the multihop command—you can specify a variable metric by including the minimum-igp or igp option.

You can increase or decrease the variable metric calculated from the IGP metric (either from the igp or igp-minimum statement) by specifying a value for <offset>. The metric is increased by specifying a positive value for <offset>, and decreased by specifying a negative value for <offset>.

Options

igp—Set the metric to the most-recent metric value calculated in the IGP to get to the BGP next hop.

metric—Primary metric on all routes sent to peers.
Range: 0 through 4,294,967,295 (232 -1)
Default: No metric is sent.

minimum-igp—Set the metric to the minimum metric value calculated in the IGP to get to the BGP next hop. If a newly calculated metric is greater than the minimum metric value, the metric value remains unchanged. If a newly calculated metric is lower, the metric value is lowered to that value.

offset—(Optional) Increases or decreases the metric by this value.
Range: -231 through 231 -1
Default: No default.

Usage Guidelines

See Configure the Multiple Exit Discriminator Metric.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.


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