Configuring OSPF

RIP Domain

ASBR (Autonomous System Border Router)

OSPF Domain

Figure 8.7 Redistributing OSPF and static routes to RIP routes

USING THE CLI

EXAMPLE:

To configure the HP 9308M routing switch acting as an ASBR in Figure 8.7 to redistribute OSPF, BGP4, and static routes into RIP, enter the following commands:

HP9300ASBR(config)# router rip

HP9300ASBR(config-rip-router)# permit redistribute 1 all

HP9300ASBR(config-rip-router)# write memory

NOTE: Redistribution is permitted for all routes by default, so the permit redistribute 1 all command in the example above is shown for clarity but is not required.

You also have the option of specifying import of just OSPF, BGP4, or static routes, as well as specifying that only routes for a specific network or with a specific cost (metric) be imported, as shown in the command syntax below:

8 - 25