
how high a route penalty can become before the device suppresses the route. The
max-suppress-time
parameter specifies the
maximum number of minutes that a route can be suppressed regardless of how unstable it is.
The
ip next hop
ip-addr
parameter sets the next-hop IP address for route that matches a match statement in the route map.
The
ip next-hop peer-address
parameter sets the BGP4 next hop for a route to the neighbor address.
The
local-preference
num
parameter sets the local preference for the route. You can set the preference to a value from 0 through
4294967295.
The
metric
[
+ |
-
]
num
|
none
parameter sets the MED (metric) value for the route. The default MED value is 0. You can set the
preference to a value from 0 through 4294967295.
•
set metric
num
- Sets the metric for the route to the number you specify.
•
set
num
- Increases route metric by the number you specify.
•
set metric -
num
- Decreases route metric by the number you specify.
•
set metric none
- Removes the metric from the route (removes the MED attribute from the BGP4 route).
The
metric-type type-1
and
type-2
parameters change the metric type of a route redistributed into OSPF.
The
metric-type internal
parameter sets the route MED to the same value as the IGP metric of the BGP4 next-hop route. The parameter
does this when advertising a BGP4 route to an EBGP neighbor.
The
next-hop
ip-addr
parameter sets the IP address of the route next-hop device.
The
origin igp incomplete
parameter sets the route origin to IGP or INCOMPLETE.
The
tag
tag-value
parameter sets the route tag. You can specify a tag value from 0 through 4294967295.
NOTE
This parameter applies only to routes redistributed into OSPF.
NOTE
You also can set the tag value using a table map. The table map changes the value only when the device places the route in the
IP route table instead of changing the value in the BGP4 route table.
The
weight
num
parameter sets the weight for the route. The range for the weight value is 0 through 4294967295.
Setting a BGP4 route MED to equal the next-hop route IGP metric
To set a route's MED to the same value as the IGP metric of the BGP4 next-hop route, when advertising the route to a neighbor, enter
commands such as the following.
device(config)# access-list 1 permit 192.168.9.0 0.0.0.255
device(config)# route-map bgp4 permit 1
device(config-routemap bgp4)# match ip address 1
device(config-routemap bgp4)# set metric-type internal
The first command configures an ACL that matches on routes with destination network 192.168.9.0. The remaining commands
configure a route map that matches on the destination network in ACL 1, then sets the metric type for those routes to the same value as
the IGP metric of the BGP4 next-hop route.
Syntax:
no
set
metric-type
internal
Filtering
FastIron Ethernet Switch Layer 3 Routing
414
53-1003627-04
Содержание FastIron SX 1600
Страница 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Страница 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Страница 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Страница 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Страница 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Страница 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Страница 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Страница 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Страница 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Страница 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...