Enabling BGP Routing



Use these steps to enable and configure BGP.

Let's assume you want to have two routers, RTA and RTB, talk BGP. In the first example RTA and RTB are in different ASs and in the second example both routers belong to the same AS.

We start by defining the router process and the AS number to which the routers belong. Use this command to enable BGP on a router:

router bgp autonomous−system

RTA#
router bgp 100

RTB#
router bgp 200

The above statements indicate that RTA is running BGP and it belongs to AS100 and RTB is running BGP and it belongs to AS200.

The next step in the configuration process is to define BGP neighbors, which indicates the routers that are trying to talk BGP.