Technical Documentation



group group-name {advertise-inactive;allow [ network/mask-length ];authentication-key key;cluster cluster-identifier;damping;description text-description;export [ policy-names ];family {(inet | inet6 | inet-vpn | inet6-vpn | l2-vpn) {(any | multicast | unicast | signaling) {accepted-prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}rib-group group-name;}flow {no-validate policy-name;}labeled-unicast {accepted-prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}explicit-null {connected-only;}prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}resolve-vpn;rib inet.3;rib-group group-name;}}route-target {accepted-prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}advertise-default;external-paths number;prefix-limit {maximum number;teardown <percentage> <idle-timeout (forever | minutes)>;}}}hold-time seconds;import [ policy-names ];ipsec-sa ipsec-sa;keep (all | none);local-address address;local-as autonomous-system <private>;local-preference local-preference;log-updown;metric-out metric;multihop <ttl-value>;multipath {multiple-as;}no-aggregator-id;no-client-reflect;out-delay seconds;passive;peer-as autonomous-system;preference preference;remove-private;tcp-mss segment-size;traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}type type;neighbor address {... peer-specific-options ...}}

Hierarchy Level

[edit logical-systems logical-system-name protocols bgp],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols bgp],[edit protocols bgp],[edit routing-instances routing-instance-name protocols bgp]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.


Define a BGP peer group. BGP peer groups share a common type, peer autonomous system (AS) number, and cluster ID, if present. To configure multiple BGP groups, include multiple group statements.

By default, the group’s options are identical to the global BGP options. To override the global options, include group-specific options within the group statement.

The group statement is one of the statements you must include in the configuration to run BGP on the routing device. See Minimum BGP Configuration.


group-name—Name of the BGP group.

The remaining statements are explained separately.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2010-04-14