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

522
Multi-Service IronWare Routing Configuration Guide
53-1003033-02
Configuring BGP4+
Redistributing prefixes into BGP4+
You can configure the device to redistribute routes from the following sources into BGP4+:
•
Static IPv6 routes
•
Directly connected IPv6 networks
•
OSPFv3
•
RIPng
•
IS-IS
You can redistribute routes in the following ways:
•
By route types, for example, the device redistributes all IPv6 static and RIPng routes.
•
By using a route map to filter which routes to redistribute, for example, the device redistributes
specified IPv6 static and RIPng routes only.
For example, to configure the redistribution of all RIPng routes into the BGP4+ unicast database,
enter the following commands at the BGP4+ address family configuration level:
Brocade(config-bgp-ipv6u)# redistribute rip
Syntax: redistribute protocol [level-1 | level-1-2 | level-2] [match external1 | external2 | internal]
[metric metric-value] [route-map name]
The protocol parameter can be connected, ospf, rip, static, or ISIS.
If you specify ospf as the protocol, you can optionally specify the redistribution of external 1,
external 2, or internal routes. (The default is internal.)
The metric metric-value parameter specifies the metric used for the redistributed route. If a value is
not specified for this option, and no value is specified using the default-metric command at the
BGP4+ unicast address family configuration level, the metric value for the IPv6 static, RIPng, or
IPv6 OSPF route is used. Use a value consistent with the destination protocol.
The name parameter specifies a route map name.
Aggregating routes advertised to BGP4 neighbors
By default, a device advertises individual BGP4+ routes for all the networks. The aggregation
feature allows you to configure a device to aggregate routes in a range of networks into a single
IPv6 prefix. For example, without aggregation, a device will individually advertise routes for
networks 2001:db8:0001:0000::/64, 2001:db8:0002:0000::/64, 2001:db8:0003:0000::/64 and
so on. You can configure the device to instead send a single, aggregate route for the networks. The
aggregate route would be advertised as 2001:db8::/64 to BGP4 neighbors.
To aggregate BGP4+ routes for 2001:db8:0001:0000::/64, 2001:db8:0002:0000::/64 and
2001:db8:0003:0000::/64, enter the following command.
Brocade(config-bgp-ipv6u)# aggregate-address 2001:db8::/64 summary-only
Syntax: aggregate-address ipv6-prefix/prefix-length [as-set] [summary-only] [suppress-map
map-name] [advertise-map map-name] [attribute-map map-name]