allow
Syntax
allow([network/mask-length] | all);Hierarchy Level
[edit logical-routerslogical-router-nameprotocols bgpgroupgroup-name], [edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgpgroupgroup-name],[edit protocols bgpgroupgroup-name], [edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name]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
allowstatement or include multipleallowstatements.Options
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.
all—Allow all addresses, which is equivalent to0.0.0.0/0 (or::/0).Usage Guidelines
See Minimum BGP Configuration and Defining BGP Groups and Peers.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.See Also