beautypg.com

Configuring a bgp4+ peer group, Configuring a route map – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 546

background image

518

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring BGP4+

Configuring a route map

To configure a route map that filters routes advertised to a neighbor or sets up a global next hop for
packets destined for the neighbor with the IPv6 link-local address fe80:4393:ab30:45de::1, enter
commands such as the following (start at the BGP4+ unicast address family configuration level):

Brocade(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 route-map out next-hop

Brocade(config-bgp-ipv6u)# exit

Brocade(config)# route-map next-hop permit 10

Brocade(config-route-map)# match ipv6 address prefix-list next-hop-ipv6

Brocade(config-route-map)# set ipv6 next-hop 2001:db8:3764::34

This route map applies to the BGP4+ unicast address family under which the neighbor
ipv6-address route-map command is entered. This route map applies to the outgoing routes on the
neighbor with the IPv6 link-local address fe80:4393:ab30:45de::1. If an outgoing route on the
neighbor matches the route map, the route is distributed through the next hop router with the
global IPv6 address 2001:db8:3764::34.

Syntax: neighbor ipv6-address route-map [in | out] name

The ipv6-address parameter specifies the IPv6 link-local address of the neighbor. A link-local
address has a fixed prefix of FE80::/10. You must specify the ipv6-address parameter in
hexadecimal using 16-bit values between colons as documented in RFC 2373.

The in keyword applies the route map to incoming routes. The out keyword applies the route map to
outgoing routes.

The name parameter specifies a route map name.

Syntax: route-map name deny | permit sequence-number

The name parameter specifies a route map name.

The deny keyword denies the distribution of routes that match the route map. The permit keyword
permits the distribution of routes that match the route map.

The sequence-number parameter specifies a sequence number for the route map statement.

Syntax: match ipv6 address prefix-list name

The match ipv6 address prefix-list command distributes any routes that have a destination IPv6
address permitted by a prefix list.

The name parameter specifies an IPv6 prefix list name.

Syntax: set ipv6 next-hop ipv6-address

The ipv6-address parameter specifies the IPv6 global address of the next-hop router. You must
specify the ipv6-address parameter in hexadecimal using 16-bit values between colons as
documented in RFC 2373.

Configuring a BGP4+ peer group

If a peer group has multiple neighbors with similar attributes, you can configure a peer group, then
add neighbors to the group instead of configuring neighbors individually for all parameters as
described in

“Configuring BGP4+ neighbors using global or unique local IPv6 addresses”

on

page 516 and

“Adding BGP4+ neighbors using link-local addresses”

on page 517.