OcNOS-RON-6.3.1 : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv3 Commands : summary-address
summary-address
Use this command to summarize or suppress external routes with the specified address range.
An address range is a pairing of a starting address and a mask that is almost the same as IP network number. For example:
If the specified IPV6 address range is 2020:100:100:2000::/53, it matches 2020:100:100:2222::/64, 2020:100:100:2666::/64 and so on.
If the specified IPV4 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.
Use the no form this command to remove summary addresses.
Command Syntax
summary-address X:X::X:X/M (not-advertise|(all-tag (<0-4294967295> ))| ) (translate-tag (<0-4294967295>) | )
summary-address A.B.C.D/M (not-advertise|tag <0-4294967295>|)
no summary-address A.B.C.D/M
no summary-address X:X::X:X/M (not-advertise|all-tag|translate-tag)
no summary-address A.B.C.D/M (not-advertise|tag)
Parameters
X:X::X:X/M
The range of addresses given as IPv6 starting address and a mask.
A.B.C.D/M
The range of addresses given as IPv4 starting address and a mask.
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. The default is 0.
all-tag
Set tag for all summarized type-5, translated type5 and type-7 LSA.
translate-tag
Set tag only for summarized translated type-5 LSA.
Default
By default, summary-address 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 ipv6 ospf
(config-router)#summary-address 2020:100:100:2000::/53 all-tag 3
Last modified date: 07-13-2023