neighbor allowas-in

Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } allowas-in number

no neighbor { ipAddress | ipv6Address | peerGroupName } allowas-in [ number ]

Release Information

Command introduced before JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.

Description

Specifies the number of times that the AS path of a received route may contain the recipient BGP speaker’s AS number and still be accepted. The no version restores the default state, which is to reject as a loop any route whose path contains the speaker’s AS number. IBGP peers in the VPNv4 address family always accept these routes, regardless of the command configuration.

Options

Mode

Router Configuration

Related Documentation