Technical Documentation

Configuring BGP

To configure BGP, you can include the following statements. Three portions of the bgp statement—those in which you configure global BGP, group-specific, and peer-specific options—contain many of the same statements. The following simplified version of the bgp statement omits these repeated statements to present a high-level, readable overview:

protocols {bgp {...global-bgp-configuration ...group group-name {peer-as autonomous-system;type type;[network/mask-length ];... peer-specific-configuration ...neighbor address {... peer-specific-configuration ...}}}}

For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.

For a list of global BGP statements, see Enabling BGP. For a list of group-specific statements, see Configuring BGP Groups and Peers. For a list of peer-specific statements, see Configuring BGP Groups and Peers.

Note: Changing configuration statements that affect BGP peerings, such as enabling or disabling remove-private or renaming a BGP group, resets the BGP sessions. Changes that affect BGP peerings should only be made when resetting a BGP session is acceptable.

Many of the global BGP, group-specific, and peer-specific statements are identical. For statements that you can configure at more than one level in the hierarchy, the more-specific statement overrides the less-specific statement. That is, a group-specific statement overrides a global BGP statement, and a peer-specific statement overrides a global BGP or group-specific statement.

By default, BGP is disabled.


Published: 2010-04-14