cisco — Configuring Aggregate Addresses in a Routing Table

Configuring Aggregate Addresses in a Routing Table To configure aggregate addresses in a routing table, perform this procedure: Procedure Configuring BGP Configuring Aggregate Addresses in a Routing Table Command or Action Purpose Device(config)# end Step 26 show ip bgp neighbors Verifies the configuration. Step 27 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode.

Step 3 router bgp autonomous-system Example: Device(config)# router bgp 106 Enters BGP router configuration mode. Step 4 aggregate-address address mask Example: Device(config-router)# aggregate-address 10.0.0.0 255.0.0.0 Creates an aggregate entry in the BGP routing table. The aggregate route is advertised as coming from the AS, and the atomic aggregate attribute is set to indicate that information might be missing. Step 5 aggregate-address address mask as-set Example: Device(config-router)# aggregate-address 10.0.0.0 255.0.0.0 as-set (Optional) Generates AS set path information.

This command creates an aggregate entry following the same rules as the previous command, but the advertised path will be an AS SET consisting of all elements contained _ in all paths. Do not use this keyword when Configuring BGP 31