•
Example
host1(config)#
route-map nyc1 permit 10
host1(config-route-map)#
set ip next-hop 192.56.32.1
•
Use the
no
version to delete the set clause from a route map.
•
See set ip next-hop.
set local-preference
•
Use to specify a preference value for the AS path.
•
Example
host1(config)#
route-map nyc1 permit 10
host1(config-route-map)#
set local-preference 200
•
Use the
no
version to delete the set clause from a route map.
•
See set local-preference.
set metric
•
Use to set the metric value—for BGP, the MED—for a route.
•
To establish an absolute metric, do not enter a plus or minus sign before the metric
value.
•
Example
host1(config)#
route-map nyc1 permit 10
host1(config-route-map)#
set metric 10
•
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 can be in the range 0–4294967295.
•
Example
host1(config)#
route-map nyc1 permit 10
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, affects all 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. Specifying
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:
Copyright © 2010, Juniper Networks, Inc.
78
JunosE 11.2.x BGP and MPLS Configuration Guide
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...