[Contents] [Prev] [Next] [Index]


BGP Configuration Guidelines

To configure BGP, you can include statements at the [edit protocols bgp] hierarchy level in the configuration. Three portions of the bgp statement--the portions 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 so as to present a high-level, readable overview.

 protocols {
 	 bgp { 
 	 	 numerous global BGP statements
 	 	 group group-name { 
 	 	 	 peer-as autonomous-system;
 	 	 	 type type; 
 	 	 	 allow [network/mask-length]; 
 	 	 	 numerous group-specific statements
 	 	 	 neighbor address {
 	 	 	 	 numerous peer-specific statements
 	 	 	 }
 	 	 } 
 	 }
 } 
 

For a list of global BGP statements, see Define BGP Global Properties. For a list of group-specific statements, see Define Group Properties. For a list of peer-specific statements, see Define Peer Properties.

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.

This chapter describes the following tasks for configuring BGP:



[Contents] [Prev] [Next] [Index]