OcNOS-RON-6.3.1 : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : summary-address
summary-address
Use this command to summarize or suppress external routes with the specified address range.
Use the no option with this command to disable summary address.
An address range is a pairing of an address and a mask that is almost the same as IP network number. For example, if the specified address range is 192.168.0.0/255.255.240.0, it matches 192.168.1.0/24, 192.168.4.0/22, 192.168.8.128/25 and so on.
Redistributing routes from other protocols into OSPF requires the router to advertise each route individually in an external LSA. Use this command to advertise one summary route for all redistributed routes covered by a specified network address and mask. This minimizes the size of the OSPF link state database.
Command Syntax
summary-address (A.B.C.D/M | A.B.C.D A.B.C.D) (not-advertise|tag <0-4294967295>|)
no summary-address (A.B.C.D/M | A.B.C.D A.B.C.D) (not-advertise|tag)
Parameters
A.B.C.D/M
The range of addresses given as IPv4 starting address and a mask.
A.B.C.D
IP summary prefix e.g. i.i.i.i
A.B.C.D
IP summary prefix mask e.g. m.m.m.m
not-advertise
Suppress routes that match the range.
tag
Tag value to use as a “match” value for controlling redistribution via route maps.
<0-4294967295>
 
Set a tag value.
Default
By default, tag value is 0
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example uses the summary-address command to aggregate external LSAs that match the network 172.16.0.0/24 and assign a tag value of 3.
#configure terminal
(config)#router ospf 100
(config-router)#summary-address 172.16.0.0/16 tag 3
Last modified date: 07-13-2023