router : bgp : config aggregate-address, config aggregate-address6
 
config aggregate-address, config aggregate-address6
Use this subcommand to set or unset BGP aggregate-address table parameters. The subcommand creates a BGP aggregate entry in the FortiGate unit routing table. Use config aggregate-address6 for IPv6 routing.
When you aggregate routes, routing becomes less precise because path details are not readily available for routing purposes. The aggregate address represents addresses in several autonomous systems. Aggregation reduces the length of the network mask until it masks only the bits that are common to all of the addresses being summarized.
 
The prefix field is required. All other fields are optional.
Variable
Description
Default
edit <aggr_addr_id>
Enter an ID number for the entry. The number must be an integer.
No default.
as-set {enable | disable}
Enable or disable the generation of an unordered list of AS numbers to include in the path information. When as-set is enabled, a set-atomic-aggregate value (see “Using route maps with BGP”) does not have to be specified.
disable
prefix <address_ipv4mask>
Set an aggregate prefix. Include the IP address and netmask.
0.0.0.0
0.0.0.0
prefix6 <address_ipv6mask>
Set an aggregate IPv6 prefix. Include the IP address and netmask.
::/0
summary-only
{enable | disable}
Enable or disable the advertising of aggregate routes only (the advertising of specific routes is suppressed).
disable
 
Example
This example shows how to define an aggregate prefix of 192.168.0.0/16. The as-set command enables the generation of an unordered list of AS numbers to include in the path information.
config router bgp
config aggregate-address
edit 1
set prefix 192.168.0.0/16
set as-set enable
end
end