BGP and BGP4+ Introduction

How to configure BGP and BGP4+

This section describes BGP and BGP4+ configuration tasks and the commands required. For example configurations with sample topologies, see Chapter 2, BGP and BGP4+ Configuration.

Initial BGP and BGP4+ Configuration Tasks

There are two initial BGP and BGP4+ configuration tasks described in the below sections. More advanced BGP and BGP4+ configuration tasks are described later in this chapter and are also available separately in the How to Configure BGP and BGP4+ Technical Guide:

How to enable BGP and BGP4+ Routing

How to configure BGP and BGP4+ Neighbors

How to enable BGP and BGP4+ Routing

To enable BGP or BGP4+ routing and establish a BGP or BGP4+ routing process, use the following commands starting in Global Configuration mode:

awplus(config)#

router bgp <asn> This command enables a BGP or BGP4+ routing process, which places the router in Router Configuration mode.

awplus(config-router)#

network {<ip-prefix/length>This command flags an IPv4 network as local to this <ip-network-addr>} [mask autonomous system and enters it to the BGP table.

<network-mask>][route-map<route-map-name>] [backdoor]

awplus(config-router)#

network {<ipv6-prefix/length><ipv6-network-addr>}[route-map<route-map-name>]

This command flags an IPv6 network as local to this autonomous system and enters it to the BGP4+ table.

How to configure BGP and BGP4+ Neighbors

Like other EGPs, BGP must completely understand the relationships it has with its neighbors. Therefore, this task is required.

BGP supports two kinds of neighbors: internal and external. Internal neighbors are in the same autonomous system; external neighbors are in different autonomous systems. Normally, external neighbors are adjacent to each other and share a subnet, while internal neighbors may be anywhere in the same autonomous system.

To configure BGP neighbors, use the following command in Router Configuration mode:

awplus(config-router)#

neighbor <neighborid> remote-asThis command specifies a BGP neighbor. <as-number>

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

1.12

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 20
Image 20
Allied Telesis VERSION 5.4.3-2.6 manual How to configure BGP and BGP4+, Initial BGP and BGP4+ Configuration Tasks