Configuring bgp4, Enabling bgp4 – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 324

Advertising
background image

310

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring BGP4+

9

To exit from the IPv6 unicast address family configuration level, enter the following command:

Virtual ADX(config-bgp-ipv6u)# exit-address-family

Virtual ADX(config-bgp)#

Entering this command returns you to the global BGP configuration level.

Configuring BGP4+

Before enabling BGP4+ on a Virtual ADX device, you must enable IPv6 on at least one interface by
configuring an IPv6 address or explicitly enabling IPv6 on that interface.

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).

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:

Virtual ADX(config)# router bgp

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

Virtual ADX(config-bgp)# local-as 1000

These commands enables BGP4+ and configures 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 a commands such as
the following:

Virtual ADX(config-bgp)# address-family ipv6 unicast

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

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

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

Advertising