The
redistribute static
command enables redistribution of static IP routes into OSPF, and uses route map "abc" to control the routes that
are redistributed. In this example, the route map allows a static IP route to be redistributed into OSPF only if the route has a metric of 5,
and changes the metric to 8 before placing the route into the OSPF route table.
The following command shows the result of the redistribution. Since only one of the static IP routes configured above matches the route
map, only one route is redistributed. Notice that the route’s metric is 5 before redistribution but is 8 after redistribution.
device# show ip ospf database external
Index Aging LS ID Router Netmask Metric Flag
1 2 4.4.0.0 10.10.10.60 ffff0000 80000008 0000
Syntax:
[no] redistribute
{
bgp
|
connected
|
rip
|
isis
[
level-1
|
level-1-2
|
level-2
] |
static
[
route-map
map-name
] }
The
bgp
,
connected
,
rip
, and
static
parameters specify the route source.
The
route-map
map-name
parameter specifies the route map name. The following match parameters are valid for OSPF redistribution:
•
match ip address
|
next-hop
acl-num
•
match metric
num
•
match tag
tag-value
NOTE
A match tag can take up to 16 tags. During the execution of a route-map a match on any tag value in the list is considered a
successful match.
The following set parameters are valid for OSPF redistribution:
•
set ip next hop
ip-addr
•
set metric [+ | - ]
num
|
none
•
set metric-type type-1
type-1
|
type-2
•
set tag
tag-value
NOTE
You must configure the route map before you configure a redistribution that uses the route
map.
NOTE
When you use a route map for route redistribution, the software disregards the permit or deny action of the route map.
NOTE
For an external route that is redistributed into OSPF through a route map, the metric value of the route remains the same unless
the metric is set by a
set metric
command inside the route map. The
default-metric
num
command has no effect on the route.
This behavior is different from a route that is redistributed without using a route map. For a route redistributed without using a
route map, the metric is set by the
default-metric
command.
Disable or re-enable load sharing
Brocade devices can load share among up to eight equal-cost IP routes to a destination. By default, IP load sharing is enabled. The
default is 4 equal-cost paths but you can specify from 2 - 8 paths. On the ICX 7750 device, the value range for the maximum number
of load-sharing paths is from 2 through 32 which is controlled by the
system-max max-ecmp
command. The router software can use
the route information it learns through OSPF to determine the paths and costs.
Configuring OSPF
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
251
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...