set metric-type
Syntax
set metric-type atMetric
no set metric-type
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Sets the metric type for the destination routing protocol. The no version removes the set clause from a route map.
Options
- atMetric—Specifies the metric
type from the following choices:
For BGP:
- external—Reverts to the normal BGP rules for propagating the MED; this is the BGP default
- internal—Sets the MED of a received route that is being propagated to an external peer equal to the IGP cost of the indirect next hop
For IS-IS:
- external—Only the metric of the route itself is considered for comparison
- internal—Both the metric of the route and the cost to the router that advertised the route are considered for comparison; this is the IS-IS default
For OSPF:
- 1—Cost of the external routes is equal to the sum of all internal costs and the external cost
- 2—Cost of the external routes is equal to the external cost alone; this is the OSPF default
Mode
Route Map Configuration
Hide Navigation Pane
Show Navigation Pane
SHA1