beautypg.com

Importing routes into bgp4, Redistributing prefixes into bgp4 – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 532

background image

You can enable the BGP4+ device to advertise the default BGP4+ route by specifying the default-
information-originate
command at the BGP4+ unicast address family configuration level. Before
entering this command, the default route ::/0 must be present in the IPv6 route table.

To enable the BGP4+ device to advertise the default route, enter the following command:

device(config-bgp-ipv6u)# default-information-originate

Syntax: [no] default-information-originate

You can also enable the BGP4+ device to send the default route to a particular neighbor by specifying
the neighbor 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:89::23, enter a command such as the following:

device(config-bgp-ipv6u)# neighbor 2001:db8: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 device 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::/32 into the BGP4+ database, enter the following
command at the BGP4+ unicast address family configuration level:

device(config-bgp-ipv6u)# network 2001:db8::/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 device to redistribute routes from the following sources into BGP4+:

Importing routes into BGP4+

532

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04