C613-50170-01 Rev B
Command Reference for x510 Series
1066
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF C
OMMANDS
SUMMARY
-
ADDRESS
summary-address
Overview
Use this command to summarize, or possibly suppress, external routes that have
the specified address range.
Use the
no
variant of this command to stop summarizing, or suppressing, external
routes that have the specified address range.
Syntax
summary-address
<ip-addr/prefix-length>
[not-advertise] [tag
<0-
4294967295
>]
no summary-address
<ip-addr/prefix-length>
[not-advertise] [tag
<
0-4294967295
>]
Default
The default tag value for a summary address is 0.
Mode
Router Configuration
Usage
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 the
summary address
command to advertise one summary route for all redistributed routes covered by
a specified network address and mask. This helps decrease the size of the OSPF link
state database.
Ensure OSPF routes exist in the summary address range for advertisement before
using this command.
Example
The following example uses the
summary-address
command to aggregate
external LSAs that match the network 172.16.0.0/16 and assign a Tag value of 3.
awplus#
configure terminal
awplus(config)#
router ospf 100
awplus(config-router)#
summary-address 172.16.0.0/16 tag 3
Parameter
Description
<ip-addr/prefix-
length>
Specifies the base IP address of the summary address.The
range of addresses given as IPv4 starting address and a
prefix length.
not-advertise
Set the
not-advertise
option if you do not want OSPF to
advertise either the summary address or the individual
networks within the range of the summary address.
tag <
0-4294967295
>
The tag parameter specifies the tag value that OSPF places
in the AS external LSAs created as a result of redistributing
the summary route. The tag overrides tags set by the
original route.