allow
Syntax
allow (all | [ network/mask-length ]);
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp group group-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols
bgp group group-name],[edit protocols bgp group group-name],[edit routing-instances routing-instance-name protocols bgp group group-name]
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Implicitly configure BGP peers, allowing peer connections from any of the specified networks or hosts. To configure multiple BGP peers, configure one or more networks and hosts within a single allow statement or include multiple allow statements.
Options
all—Allow all addresses, which is equivalent to 0.0.0.0/0 (or ::/0).
network/mask-length—IPv6 or IPv4 network number of a single address or a range of allowable addresses for BGP peers, followed by the number of significant bits in the subnet mask.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1