Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    neighbor as-override


    [ no | default ] neighbor { ipAddress | ipv6Address | peerGroupName } as-override

    Release Information

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


    Prevents routing loops between routers within a VPN by substituting the current router’s AS number in routing tables for that of the neighboring router. When you issue this command, new policy values are applied to all routes that are sent (outbound policy) or received (inbound policy).

    The no version halts this substitution. The default version removes the explicit configuration from the peer or peer group and reestablishes inheritance of the feature configuration.


    • 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. You cannot override the characteristic for a specific member of the peer group.


    Router Configuration

    Published: 2014-08-18