The set protocols bgp ipv4 unicast aggregate-address as-set command creates an aggregate address entry in IPv4 format in the BGP routing table. 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.
The delete protocols bgp ipv4 unicast aggregate-address as-set command removes the specified aggregate address entry.
Command Syntax
set protocols bgp [vrf <vrf-name>] ipv4 unicast aggregate-address <ipv4/prefixlen> [as-set]
delete protocols bgp [vrf <vrf-name>] ipv4 unicast aggregate-address <ipv4/prefixlen> [as-set]
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>]. |
aggregate-address <ipv4/prefixlen> | ipv4 specifies an aggregate address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255. prefixlen specifies the number of bits in the address mask in CIDR format (x), where x is a decimal number from 0 to 128. |
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. |
Example
• This example creates an aggregate address entry in the BGP routing table.
admin@XorPlus# set protocols bgp aggregate-address 10.0.0.0/8 admin@XorPlus# commit