Command Usage
• Redistributing routes from other protocols into OSPF normally requires the
router to advertise each route individually in an external LSA. An Autonomous
System Boundary Router (ASBR) can be configured to redistribute routes
learned from other protocols by advertising an aggregate route into all
attached autonomous systems. This helps both to decrease the number of
external LSAs and the size of the OSPF link state database.
• This router supports up 16 Type-5 summary routes.
Example
This example creates a summary address for all routes contained in 192.168.x.x.
Console(config-router)#summary-address 192.168.0.0 255.255.0.0
Console(config-router)#
Related Commands
area range (42-23)
redistribute (42-25)
redistribute
This command redistributes external routing information from other routing protocols
and static routes into an autonomous system. Use the no form to disable this feature
or to restore the default settings.
Syntax
[
no
]
redistribute
{
rip
|
static
} [
metric
metric-value] [
metric-type
type-value]
• rip - Imports entries learned through the Routing Information Protocol into
this Autonomous System.
• static - Imports static routes into this Autonomous System.
• metric-value - Metric assigned to all external routes for the specified
protocol. (Range: 1-65535: Default: 10)
• type-value
• 1 - Type 1 external route
• 2 - Type 2 external route (default) - Routers do not add internal route
metric to external route metric.
Command Mode
Router Configuration
Default Setting
redistribution - none
protocol - RIP and static
metric-value - 0
type-metric - 2
42-25
Open Shortest Path First (OSPF)
42