The following procedure configures a basic BGP topology:
-
Configure the interfaces that will connect to BGP
neighbors. For each interface, do the following:
-
Create a VLAN.
-
Assign one or more ports to the VLAN.
-
Configure a VLAN IP address.
-
Enable IP forwarding on the VLAN.
For more information on configuring VLANs, see VLANs
-
Configure the BGP router ID using the following
command:
-
Configure the AS number to which the router should belong
using the following command:
-
To add one or more IBGP neighbors, use the following
command and specify the AS number to which the router belongs:
-
To add one or more EBGP neighbors, use the following
command and specify the AS number of the remote AS (which is different from the AS to
which the router belongs):
-
If you want to simultaneously configure BGP options for
multiple neighbors, create and configure peer groups as described in Configuring BGP Peer
Groups.
-
If the BGP network will support IPv4 traffic, you can skip
this step. If the BGP network will support any other address family, you must enable
support for that address family on BGP neighbors with either of the following
commands:
-
To configure additional BGP neighbor options, see Configuring BGP
Neighbors.
-
For instructions on configuring additional BGP features,
see the list under Configuring
BGP.
-
Enable BGP neighbors using the following command:
-
Enable BGP using the following command:
For instructions on displaying BGP information, see Displaying BGP
Information.