7.2. Configuring BGP

Now, I want to take you through the configuration steps of enabling BGP and setting up connections to neighbors. Some of the configuration for BGP is very much like other routing protocols. You have to enable the protocol with the router command, and add subnets to the process with the network command.

7.2.1. Basic Setup

Let's start off with enabling the routing process. Use the router bgp autonomous-system command to start the configuration on the router and to add subsequent subcommands to the routing process in router mode. This command identifies the local autonomous system (AS) in which this router belongs. You have to tell the router about the AS so it can determine whether the BGP neighbors that you configure next ...

Get Cisco® Network Professional's: Advanced Internetworking Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.