![Brocade Communications Systems ICX 7250 series Скачать руководство пользователя страница 229](http://html1.mh-extra.com/html/brocade-communications-systems/icx-7250-series/icx-7250-series_configuration-manual_2817203229.webp)
device(config-routemap setdistance)# exit
device(config)# router ospf
device(config-ospf-router)# area 0
device(config-ospf-router)# area 1
device(config-ospf-router)# distribute-list route-map setdistance in
device(config-ospf-router)# exit
Once this configuration is implemented, the routes identified by the
ip prefix-list
command and matched in the route map will have their
OSPFv2 administrative distance set to 200. This is displayed in the output from the
show ip route
command, as shown below.
device# show ip route
Total number of IP routes: 4
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
Destination Gateway Port Cost Type Uptime
1 10.0.0.2/32 10.1.1.2 ve 100 200/501 O 1h3m
2 10.102.1.0/24 10.1.1.2 ve 100 200/2 O 1h3m
3 10.102.6.0/24 10.1.1.2 ve 100 110/2 O 1h3m
4 10.102.8.0/30 DIRECT ve 100 0/0 D 1h4m
Routes 1 and 2 demonstrate the actions of the example configuration as both display an OSPFv2 administrative distance value of 200.
Note that the value is applied to both OSPFv2 learned routes that match the route-map instance containing the set distance clause. The
other OSPFv2 route (route 3), which does not match the relevant instance, continues to have the default OSPFv2 administrative distance
of 110.
OSPFv2 route redistribution
Route redistribution imports and translates different protocol routes into a specified protocol type. On the device, redistribution is
supported for static routes, OSPF, RIP, and BGP. OSPF redistribution supports the import of static, RIP, and BGP routes into OSPF
routes.
NOTE
The device advertises the default route into OSPF even if redistribution is not enabled, and even if the default route is learned
through an IBGP neighbor. IBGP routes (including the default route) are not redistributed into OSPF by OSPF redistribution (for
example, by the OSPF
redistribute
command).
In the figure below, the device acting as the ASBR (Autonomous System Boundary Router) can be configured between the RIP domain
and the OSPF domain to redistribute routes between the two domains.
NOTE
The ASBR must be running both RIP and OSPF protocols to support this activity.
NOTE
Do not enable redistribution until you have configured the redistribution route map. Otherwise, you might accidentally overload
the network with routes you did not intend to redistribute.
OSPFv2 route redistribution
Brocade FastIron Layer 3 Routing Configuration Guide
53-1003903-04
229
Содержание ICX 7250 series
Страница 2: ...Brocade FastIron Layer 3 Routing Configuration Guide 2 53 1003903 04...
Страница 16: ...Brocade FastIron Layer 3 Routing Configuration Guide 16 53 1003903 04...
Страница 20: ...Brocade FastIron Layer 3 Routing Configuration Guide 20 53 1003903 04...
Страница 36: ...Brocade FastIron Layer 3 Routing Configuration Guide 36 53 1003903 04...
Страница 124: ...Brocade FastIron Layer 3 Routing Configuration Guide 124 53 1003903 04...
Страница 174: ...Brocade FastIron Layer 3 Routing Configuration Guide 174 53 1003903 04...
Страница 188: ...Brocade FastIron Layer 3 Routing Configuration Guide 188 53 1003903 04...
Страница 202: ...Brocade FastIron Layer 3 Routing Configuration Guide 202 53 1003903 04...
Страница 470: ...Brocade FastIron Layer 3 Routing Configuration Guide 470 53 1003903 04...