Aggregating routes advertised to bgp4 neighbors – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual
Page 47

Multi-Service IronWare Routing Configuration Guide
19
53-1003033-02
Entering and exiting the address family configuration level
If you are testing a BGP4 configuration and may need to disable and re-enable the protocol, you
should make a backup copy of the startup configuration file containing the BGP4 configuration
information. If you remove the configuration information by saving the configuration after disabling
the protocol, you can restore the BGP4 configuration by copying the backup copy of the startup
configuration file onto the flash memory.
To disable BGP4 without losing the BGP4 configuration information, remove the local AS (for
example, by entering the no local-as num command). When you remove the local AS, BGP4 retains
the other configuration information but will not become operational until you reset the local AS.
Entering and exiting the address family configuration level
The BGP4 address family contains a unicast or multicast sub-level.
To go to the IPv4 BGP4 unicast address family configuration level, enter the following command.
Brocade(config-bgp)# address-family ipv4 unicast
Brocade(config-bgp)#
NOTE
The CLI prompt for the global BGP4 level and the BGP4 address-family IPv4 unicast level is the same.
To go to the IPv4 BGP4 multicast address family configuration level, enter the following command.
Brocade(config-bgp)# address-family ipv4 multicast
Brocade(config-bgp-ipv4m)#
Syntax: [no] address-family ipv4 unicast [vrf vrf-name] | ipv4 multicast
The default is the IPv4 unicast address family level.
The vrf option allows you to configure a unicast instance for the VRF specified by the vrf-name
variable.
To exit an address family configuration level, enter the following command.
Brocade(config-bgp)# exit-address-family
Brocade(config-bgp)#
Syntax: [no] exit-address-family
Aggregating routes advertised to BGP4 neighbors
By default, the device advertises individual routes for all networks. The aggregation feature allows
you to configure the device to aggregate routes from a range of networks into a single network
prefix. For example, without aggregation, the device will individually advertise routes for networks
10.95.1.0/24, 10.95.2.0/24, and 10.95.3.0/24. You can configure the device to end a single,
aggregate route for the networks instead. The aggregate route can be advertised as 10.95.0.0/16.
To aggregate routes for 10.157.22.0/24, 10.157.23.0/24, and 10.157.24.0/24, enter the following
command.
Brocade(config-bgp)# aggregate-address 10.157.0.0 255.255.0.0
Syntax: [no] aggregate-address ip-addr ip-mask [as-set] [summary-only] [suppress-map
map-name] [advertise-map map-name] [attribute-map map-name]