Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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

    • ipAddress—IP address of BGP neighbor
    • ipv6Address—IPv6 address of BGP neighbor
    • peerGroupName—Name of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
    • number—Number in the range 1–10

    Mode

    Router Configuration

    Published: 2014-08-18