allow
Syntax
allow[network/mask-length];Hierarchy Level
[edit protocols bgpgroupgroup-name],
[edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name],
[edit logical-routerslogical-router-nameprotocols bgpgroupgroup-name],
[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp
groupgroup-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. To allow all addresses, you can specifyall, which is equivalent to0.0.0.0/0 (or::/0).Usage Guidelines
See Minimum BGP Configuration and Define 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