Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

  • ACX, EX, M, MX, PTX, QFX, T Series
  • neighbor
 

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.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

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.

Note: You cannot define a BGP group with dynamic peers with BGP authentication enabled.

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.

Note: You cannot define a BGP group with dynamic peers with authentication enabled.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

 

Related Documentation

  • ACX, EX, M, MX, PTX, QFX, T Series
  • neighbor
 

Published: 2013-04-03

 

Related Documentation

  • ACX, EX, M, MX, PTX, QFX, T Series
  • neighbor
 

Published: 2013-04-03