beautypg.com

Using route maps, Enabling next-hop recursion – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 551

background image

Multi-Service IronWare Routing Configuration Guide

523

53-1003033-02

Configuring BGP4+

The ipv6-prefix/prefix-length parameter specifies the aggregate value for the networks. You must
specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons as
documented in RFC 2373. You must specify the prefix-length parameter as a decimal value. A slash
mark (/) must follow the ipv6-prefix parameter and precede the prefix-length parameter.

The as-set keyword causes the device to aggregate AS-path information for all the routes in the
aggregate address into a single AS-path.

The summary-only keyword prevents the device from advertising more specific routes contained
within the aggregate route.

The suppress-map map-name parameter prevents the more specific routes contained in the
specified route map from being advertised.

The advertise-map map-name parameter configures the device to advertise the more specific
routes in the specified route map.

The attribute-map map-name parameter configures the device to set attributes for the aggregate
routes based on the specified route map.

NOTE

For the suppress-map, advertise-map, and attribute-map parameters, the route map must already
be defined.

To remove an aggregate route from a BGP4 neighbor advertisement, use the no form of this
command without any parameters.

Using route maps

You can use a route map to filter and change values in BGP4+ routes. Currently, you can apply a
route map to IPv6 unicast routes that are independent of IPv4 routes.

To configure a route map to match on IPv6 unicast routes, enter commands such as the following.

Brocade(config)# router bgp

Brocade(config-bgp)# address-family ipv6 unicast

Brocade(config-bgp-ipv6u)# neighbor 2001:db8:df78::67 remote-as 1001

Brocade(config-bgp-ipv6u)# neighbor 2001:db8:df78::67 route-map in map1

Brocade(config-bgp-ipv6u)# exit

Brocade(config)# ipv6 prefix-list ipv6_uni seq 10 permit 2001:db8::/32

Brocade(config)# route-map map1 permit 10

Brocade(config-routemap-map1)# match ipv6 address prefix-list ipv6_uni

This example configures a route map named “map1” that permits incoming IPv6 unicast routes
that match the prefix list named “ipv6_uni” (2001:db8::/32). Note that you apply the route map
while at the BGP4+ unicast address family configuration level.

Enabling next-hop recursion

For each BGP4+ route learned, the device performs a route lookup to obtain the IP address of the
next-hop for the route. A BGP4+ route is eligible for addition in the IP route table only if the following
conditions are true:

The lookup succeeds in obtaining a valid next-hop IP address for the route.

The path to the next-hop IP address is an IGP path or a static route path.