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 AS number). There are several ways you can configure this information; a few are shown in this section.
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;all;}}}