Juniper JUNOSE 11.0.X IP SERVICES Configuration Manual page 44

For e series broadband services routers - ip services configuration
Table of Contents

Advertisement

JUNOSe 11.0.x IP Services Configuration Guide
set metric-type
18
Route Maps
To establish a relative metric, specify a plus or minus sign immediately preceding
the metric value. The value is added to or subtracted from the metric of any
routes matching the route map. The relative metric value range is 0–4294967295.
Example
host1(config-route-map)#set metric -25
You cannot use both an absolute metric and a relative metric within the same
route map sequence. Setting either metric overrides any previously configured
value.
Use the no version to delete the set clause from a route map.
See set metric.
Use to set the metric type for a route.
For BGP, this command affects BGP behavior only in outbound route maps and
has no effect on other types of route maps. If the route map contains both a set
metric-type and a set metric clause, the set metric clause takes precedence. If
you specify the internal metric type in a BGP outbound route map, BGP sets the
MED of the advertised routes to the IGP cost of the next hop of the advertised
route. If the cost of the next hop changes, BGP is not forced to readvertise the
route.
For BGP, you can specify the following metrics:
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, you can specify the following metrics:
external Considers only the metric of the route itself is considered for
comparison
internal Considers 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, you can specify the following metrics:
1 Sets the cost of the external routes so that it is equal to the sum of all
internal costs and the external cost
2 Sets the cost of the external routes so that it is equal to the external cost
alone; this is the OSPF default
Example
host1(config-route-map)#set metric-type internal
Use the no version to delete the set clause from a route map.
See set metric-type.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.0.x

Table of Contents