System information

Configuring OSPF
11-3
network 3.3.3.0 0.0.0.255 area 0
network 3.3.3.3 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, as
shown below:
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, as shown below:
MOT(config-ospf)#redistribute bgp {metric <n> | route-map
<map-name> | <cr>}
where:
metric <n> is the redistribution metric number for BGP routes.
route-map <map-name> is the BGP route-map name.
cr is a command return that redistributes of all BGP routes.
Use the redistribute connected command in Router Configuration mode to
redistribute connected routes into OSPF, as shown below:
MOT(config-ospf)#redistribute connected {metric <n> | route-map
<map-name> | <cr>}
where:
metric <n> is the redistribution metric number for connected routes from 1
to 16.