Redistributing external routes – Allied Telesis RAPIER I User Manual
Page 91

Software Version 2.8.1
91
Software Version 2.8.1
C613-10477-00 REV B
Redistributing External Routes
OSPF static route redistribution has been enhanced to support additional route
sources. OSPF can now import and redistribute BGP, RIP, non-OSPF interface,
and statically configured routes. It can also optionally assign any of the
following settings to all routes it imports:
■
a route metric
■
the External metric type
■
a tag—a number to label the route
Alternatively, you can assign a route map to select particular routes and set
their route parameters. The route map can also filter out a subset of routes, so
you do not have to import all routes.
The import settings also allow you to select whether to redistribute subnets
(classless network routes), or only classfull network routes.
To import and redistribute external routes into OSPF, create a route
redistribution definition for the source routing protocol, using the command:
add ospf redistribute protocol={bgp|interface|rip|static}
[other-options...]
To delete a route redistribution definition and stop importing routes, use the
command:
delete ospf redistribute protocol={bgp|interface|rip|static}
To change a route redistribution definition, use the command:
set ospf redistribute protocol={bgp|interface|rip|static}
[other-options]
To display the currently configured route redistribution definitions, use the
command:
show ospf redistribute
Interaction with
global OSPF
parameters
You can still use the asexternal, bgpfilter, bgpimport, bgplimit, rip, and
staticexport
command to configure OSPF to import
BGP, RIP and static routes. However, we recommend that you use route
redistribution definitions to import and redistribute routes into OSPF, as they
provides more control over how the routes are imported.
For compatibility, the asexternal, bgpimport, rip, and staticexport parameters
are synchronised with the equivalent redistribution definition. Changing the
setting of these parameters will add or delete the corresponding route
redistribution definition, as summarised in the following table.
When you change this
set ospf parameter...
From...
To...
Then OSPF...
rip
off or export
import or both
adds a RIP route redistribution definition
import or both
off or export
deletes the RIP route redistribution definition
bgpimport
off
on
adds a BGP route redistribution definition
on
off
deletes the BGP route redistribution definition