Technical Documentation

Minimum BGP Configuration

For BGP to run on the routing device, you must define the local autonomous system (AS) number, configure at least one group, and include information about at least one peer in the group (the peer’s IP address and AS number). There are several ways you can configure this information; a few are shown in this section.

Note: If a BGP group is created without any defined peers, the warning message no longer appears when the configuration is committed.

Configure a BGP group, specify the group type, and configure an explicit peer:

[edit]routing-options {autonomous-system autonomous-system;}protocols {bgp {group group-name {peer-as autonomous-system;type type;neighbor address;}}}

Configure a BGP group and type and allow all BGP systems to be peers:

[edit]routing-options {autonomous-system autonomous-system;}protocols {bgp {group group-name {type type;peer-as autonomous-system;all;}}}

Note: When you configure BGP on an interface, you must also include the family inet statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level. For more information about the family inet statement, see the Junos Network Interfaces Configuration Guide.

Related Topics


Published: 2010-07-02

Help
|
My Account
|
Log Out