
706
BigIron RX Series Configuration Guide
53-1002253-01
Configuring OSPF
25
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.
Syntax: [no] redistribution bgp | connected | [rip] | [isis level-1| level-1-2| level-2] | [static
[route-map
<map-name>
]
The bgp | connected | rip | isis | static parameter specifies 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>
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-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
<num>
command.
Disable or re-enable load sharing
The device 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.
BigIron RX(config-ospf-router)# 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
Summary of Contents for BigIron RX Series
Page 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Page 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Page 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Page 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Page 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Page 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Page 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Page 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Page 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Page 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Page 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Page 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Page 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Page 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Page 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Page 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Page 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Page 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Page 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Page 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Page 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Page 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...