Importing routes into bgp4, Redistributing prefixes into bgp4 – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 328

Advertising
background image

314

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring BGP4+

9

You can also enable the BGP4+ device to send the default route to a particular neighbor by
specifying the neighbor ipv6-address default-originate command at the BGP4+ unicast address
family configuration level. This command does not require the presence of the default route ::/0 in
the IPv6 route table.

For example, to enable the BGP4+ device to send the default route to a neighbor with the IPv6
address of 2001:db8:efff:89::23, enter a command such as the following:

Virtual ADX(config-bgp-ipv6u)# neighbor 2001:db8:efff:89::23 default-originate

Syntax: [no] neighbor ipv6-address default-originate [route-map name]

The ipv6-address parameter specifies a neighbor by its IPv6 address. You must specify this address
in hexadecimal using 16-bit values between colons as documented in RFC 2373.

Specifying the optional route-map name parameter injects the default route conditionally, based on
the match conditions in the route map.

Importing routes into BGP4+

By default, the Virtual ADX does not import routes into BGP4+. This section explains how to use the
network command to enable the importing of specified routes into BGP4+.

NOTE

The routes imported into BGP4+ must first exist in the IPv6 unicast route table.

For example, to import the IPv6 prefix 2001:db8:3ff0:ec21::/32 into the BGP4+ database, enter
the following command at the BGP4+ unicast address family configuration level:

Virtual ADX(config-bgp-ipv6u)# network 2001:db8:3ff0:ec21::/32

Syntax: network ipv6-prefix/prefix-length [route-map name]

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.

You can specify the optional route-map name parameter if you want to change attributes of a route
when importing it into BGP4+.

To disable the importing of a specified route, enter the no form of this command without the
route-map parameter.

Redistributing prefixes into BGP4+

You can configure the Virtual ADX to redistribute routes from the following sources into BGP4+:

Static IPv6 routes.

Directly connected IPv6 networks.

OSPFv3.

IPv6 IS-IS

You can redistribute routes in the following ways:

By route types, for example, the Virtual ADX device redistributes all IPv6 static routes.

Advertising