34 summary-address (ospf) – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 270
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 270 of 855
Examples
The following example configures an OSPF routing process and assign a process number of 109:
router ospf 109
Related Commands
network area
15.34 summary-address (OSPF)
To create aggregate addresses for Open Shortest Path First (OSPF), use the summary-address
command in router configuration mode. To restore the default, use the no form of this command.
Command Syntax
summary-address prefix/prefix-length [not-advertise]
no summary-address prefix/prefix-length [not-advertise]
prefix
IP route prefix for the destination.
prefix-length
Prefix length for the network.
not-advertise
(Optional) Suppress routes that match the specified prefix/mask pair. This
keyword applies to OSPF only.
Default
This command is disabled by default.
Command Mode
Router configuration
Usage
Routes learned from other routing protocols can be summarized. The metric used to advertise the
summary is the smallest metric of all the more specific routes. This command helps reduce the size of
the routing table.
Using this command for OSPF causes an OSPF Autonomous System Boundary Router (ASBR) to
advertise one external route as an aggregate for all redistributed routes that are covered by the
address. For OSPF, this command summarizes only routes from other routing protocols that are being
redistributed into OSPF. Use the area range command for route summarization between OSPF areas.
OSPF does not support the summary-address 0.0.0.0/0 command.
Examples
In the following example, the summary address 10.1.0.0 includes address 10.1.1.0, 10.1.2.0, 10.1.3.0,
and so on. Only the address 10.1.0.0 is advertised in an external link-state advertisement.
Switch(config-router)# summary-address 10.1.0.0/16
Related Commands