Minimum BGP Configuration
For BGP to run on the router, 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 autonomous system [AS] number). There are several possible ways you can configure this information; a few are shown in this section. For routing instances, include the statement at the
[edit routing-instancesrouting-instance-namerouting-options]hierarchy level.Configure a BGP group, specify the group type, and configure an explicit peer:
[edit]routing-options {autonomous-systemautonomous-system;}protocols {bgp {groupgroup-name{peer-asautonomous-system;typetype;neighboraddress;}}}Configure a BGP group and type and allow all BGP systems to be peers:
[edit]routing-options {autonomous-systemautonomous-system;}protocols {bgp {groupgroup-name{typetype;peer-asautonomous-system;allow all;}}}