Enabling BGP
To enable BGP on the routing device, perform the following tasks:
Specifying the Local Routing Device’s AS Number
Each routing device running BGP must be configured with its AS number. This number is included in the local AS number field in BGP open messages, which are sent between BGP peers to establish a connection.
To specify an AS number, include the autonomous-system statement:
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
You must specify an AS number to enable BGP.
For more information about configuring the AS number, see Configuring AS Numbers for BGP.
Defining an AS Confederation and Its Members
To enable the local system to participate as a member of an AS confederation, you must define the AS confederation identifier and specify the AS numbers that are members of the confederation. To do this, include the confederation statement:
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
Defining an AS confederation and its members is optional.
For more information about configuring confederations, see Configuring AS Confederation Members.
Assigning a BGP Identifier
Each routing device running BGP must have a BGP identifier. This identifier is included in the BGP identifier field of open messages, which are sent between two BGP peers when establishing a BGP session.
Explicitly assigning a BGP identifier is optional. If you do not assign one, the IP address of the first interface encountered in the routing device is used.
To assign a BGP identifier explicitly, include the router-id statement:
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
Assigning a BGP identifier is optional.
For more information, see Configuring Router Identifiers for BGP and OSPF.
Defining BGP Global Properties
To define BGP global properties, which apply to all BGP groups and peers, include one or more of the following statements. These statements are explained in separate sections.
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.
You must configure BGP global properties to enable BGP.
