35 show ip ospf – CANOGA PERKINS 9175 Command Reference User Manual
Page 239
CanogaOS Command Reference
15-30
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
area range
15.35 show ip ospf
To display general information about Open Shortest Path First (OSPF) routing processes, use the show
ip ospf command in user EXEC or privileged EXEC mode.
Command Syntax
show ip ospf [process-id]
Command Mode
User EXEC
Privileged EXEC
Usage