beautypg.com

Enabling bgp4 – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 527

background image

For more information on performing these configuration tasks, refer to FastIron Ethernet Switch
Administration Guide.

To configure BGP4+, you must do the following:

• Enable BGP4+.
• Configure BGP4+ neighbors using one of the following methods:

Add one neighbor at a time (neighbor uses global or site-local IPv6 address).

Add one neighbor at a time (neighbor uses a link-local IPv6 address).

Create a peer group and add neighbors individually.

The following configuration tasks are optional:

• Advertise the default route.
• Import specified routes into BGP4+.
• Redistribute prefixes into BGP4+.
• Aggregate routes advertised to BGP4 neighbors.
• Use route maps.

Enabling BGP4+

To enable BGP4+, enter commands such as the following:

device(config)# router bgp

BGP: Please configure 'local-as' parameter in order to run BGP4.

device(config-bgp-router)# local-as 1000

These commands enable BGP4+ and configure the autonomous system (1000) in which your device
resides.

Syntax:[no] router bgp

To disable BGP, enter the no form of this command.

Syntax: local-as number

Specify the AS number in which the device you are configuring resides.

After enabling BGP4+, you can add neighbors to a BGP4+ device by entering commands such as the
following:

device(config-bgp-router)# address-family ipv6 unicast

device(config-bgp-ipv6u)# neighbor 2001:db8:e0ff:783a::4 remote-as 1001

device(config-bgp-ipv6u)# neighbor 2001:db8:e0ff:783a::5 remote-as 1001

These commands add two neighbors with global IPv6 addresses 2001:db8:e0ff:783a::4 and
2001:db8:e0ff:783a::5 in AS 1001.

NOTE
The example above adds IPv6 neighbors at the BGP4+ unicast address family configuration level.
These neighbors, by default, are enabled to exchange BGP4+ unicast prefixes. However, if you add
IPv6 neighbors while at the global BGP configuration or IPv4 BGP unicast address family configuration
level, the neighbors will not exchange BGP4+ unicast prefixes until you explicitly enable them to do so
by entering the neighbor activate command at the BGP4+ unicast address family configuration level.

This section provides minimal information about adding BGP4+ neighbors, because its focus is to
provide information about configuring BGP4+.

Enabling BGP4+

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

527

53-1003087-04