neighbor { ipAddress | ipv6Address | peerGroupName } allowas-in number
no neighbor { ipAddress | ipv6Address | peerGroupName } allowas-in [ number ]
Command introduced before JUNOSe Release
7.1.0.
ipv6Address variable added
in JUNOSe Release 8.0.0.
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.
Router Configuration