■
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.
set metric-type
■
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.
18
■
Route Maps
JUNOSe 11.1.x IP Services Configuration Guide
Summary of Contents for IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Page 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Page 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Page 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Page 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Page 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Page 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Page 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Page 357: ...Part 2 Index Index on page 333 Index 331...
Page 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...