set protocols bgp aggregate-address
The set protocols bgp aggregate-address as-set command creates an aggregate address entry in IPv4 or IPv6 format in the BGP routing table.
The delete protocols bgp aggregate-address as-set command removes the specified aggregate address entry.
Command Syntax
set protocols bgp [vrf <vrf-name>] {ipv4-unicast|ipv6-unicast} aggregate-address <ipaddress/prefixlen> [as-set | summary-only]
delete protocols bgp [vrf <vrf-name>]{ipv4-unicast|ipv6-unicast} aggregate-address <ipaddress/prefixlen> [as-set | summary-only]
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
{ipv4-unicast|ipv6-unicast} | Required. Specifies the IP address family type. |
aggregate-address <ipaddress/prefixlen> |
|
as-set | Optional. The AS_PATH attribute advertised for this route will contain an AS_SET consisting of all AS numbers contained in all paths that are being summarized. |
summary-only | Optional. Creates the aggregate route but also suppresses advertisements of more-specific routes to all neighbors. This parameter can be used only for IPv6 address family type. |
Example
• This example creates an aggregate address entry in the BGP routing table.
admin@XorPlus# set protocols bgp ipv4-unicast aggregate-address 10.0.0.0/8 admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.