group (Protocols BGP)
Syntax
group group-name { advertise-bgp-static advertise-inactive; allow [ network/mask-length ]; authentication-key key; cluster cluster-identifier; damping; description text-description; enforce-first-as; 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)>; drop-excess <percentage>; hide-excess <percentage>; } add-path { receive; send { include-backup-path backup_path_number; multipath; path-count number; path-selection-mode { (all-paths | equal-cost-paths); } prefix-policy [ policy-names ]; } } aigp [disable]; damping; prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | minutes)>; drop-excess <percentage>; hide-excess <percentage>; } rib-group group-name; topology name { community { target identifier; } } } flow { no-validate policy-name; } labeled-unicast { accepted-prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | minutes)>; drop-excess <percentage>; hide-excess <percentage>; } explicit-null { connected-only; } prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | minutes)>; drop-excess <percentage>; hide-excess <percentage>; } resolve-vpn; rib inet.3; rib-group group-name; } } route-target { accepted-prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | minutes)>; drop-excess <percentage>; hide-excess <percentage>; } advertise-default; external-paths number; prefix-limit { maximum number; teardown <percentage> <idle-timeout (forever | minutes)>; drop-excess <percentage>; hide-excess <percentage>; } } } graceful-restart { long-lived { receiver { enable: disable; } advertise-to-non-llgr-neighbor { omit-no-export; } } } graceful-restart { long-lived { disable-notification-flag; disable-notification-extensions { omit-no-export; } forwarding-state-bit (from-fib | set); /* Configurable to be common for all address families */ forwarding-state-bit (as-rr-client | from-fib); /* Configurable for each address family */ restarter { disable; stale-time interval; } } } 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; } mvpn-iana-rt-import; no-aggregator-id; no-client-reflect; out-delay seconds; passive; peer-as autonomous-system; preference preference; remove-private; rfc6514-compliant-safi129; tcp-aggressive-transmission; 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 protocols bgp family prefix-limit (inet | inet6)(any | flow | labeled-unicast | multicast | unicast)], [edit routing-instances routing-instance-name protocols bgp]
Description
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.
Each group must contain at least one peer and can establish up to 2048 peers. Before establishing a BGP session, RPD checks for established peer count for the group. If the peer count is more than 2048 then the BGP session fails.
Options
group-name—Name of the BGP group.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.