group (Protocols BGP)
구문
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 ... } }
계층 수준
[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]
설명
BGP 피어 그룹을 정의합니다. BGP 피어 그룹은 공통 유형, 피어 AS(Autonomous System) 번호 및 클러스터 ID(있는 경우)를 공유합니다. 여러 BGP 그룹을 구성하려면 여러 group
문을 포함합니다.
기본적으로 그룹의 옵션은 글로벌 BGP 옵션과 동일합니다. 전역 옵션을 재정의하려면 명령문 내에 group
그룹별 옵션을 포함합니다.
group
문은 라우팅 디바이스에서 BGP를 실행하기 위해 구성에 포함해야 하는 문 중 하나입니다.
각 그룹은 하나 이상의 피어를 포함해야 하며 최대 2048개의 피어를 설정할 수 있습니다. BGP 세션을 설정하기 전에 RPD는 그룹에 대해 설정된 피어 수를 확인합니다. 피어 수가 2048을 초과하면 BGP 세션이 실패합니다.
필요한 권한 수준
routing - 구성에서 이 명령문을 볼 수 있습니다.
routing-control - 구성에 이 명령문을 추가할 수 있습니다.
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령문입니다.