Release 1.0
Configuring OSPF
526360-001-00 Rev. B
MGBI
11-3
Example
The following example creates the OSPF routing process and adds two OSPF ranges
(123.3.4.0 and 125.6.6.0) with each range belonging to a different area. Area 0 is
configured for 123.3.4.0 and Area 1 is configured for 125.6.6.0.The example creates
two OSPF interfaces. One interface is in the backbone area (Area 0) using IP address
123.3.4.17. The other interface is in the non-backbone area (Area 1) using IP address
125.6.6.23.
ip address 123.3.4.17 255.255.255.0
ip address 125.6.6.23 255.255.255.0
router ospf
network 123.3.4.0 0.0.0.255 area 0
network 125.6.6.0 0.0.0.255 area 1
Redistributing Routes into OSPF
Each routing protocol uses different metrics to transfer routes. Some protocols use
hop count metrics, while others use bandwidth and delay attributes to define metrics.
When a specific route is redistributed from one routing protocol or domain into
another, a common metric must be applied by the receiving protocol. Routes are
redistributed to advertise networks on another routing protocol.
Follow these steps to redistribute routes into OSPF:
1.
Enter the OSPF routing process in which the routes are to be redistributed:
MOT
(config)#
router ospf
2.
Choose from one or more of the following options to redistribute routes from a
specified protocol:
•
Use the
redistribute bgp
command in Router Configuration mode to
redistribute BGP routes into OSPF:
MOT
(config-ospf)#
redistribute
bgp
[
metric
<
1-16777214
> |
route-map
<
WORD
> |
<cr>
]
where:
1-16777214
is the redistribution metric number for BGP routes.
WORD
is the BGP route-map name.
cr
is a command return that redistributes all BGP routes.
•
Use the
redistribute connected
command in Router Configuration mode to
redistribute connected routes into OSPF:
Содержание BSR 2000
Страница 1: ...BSR 2000 Configuration and Management Guide 526360 001 00 Rev B Release 1 0 MGBI ...
Страница 6: ... Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola ...
Страница 50: ......
Страница 130: ......
Страница 164: ......
Страница 458: ......
Страница 490: ......
Страница 580: ......
Страница 632: ......
Страница 648: ......
Страница 649: ......
Страница 650: ...526360 001 00 Rev B 7 06 MGBI Visit our website at www motorola com ...