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 remove-private-as


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

    Release Information

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


    Removes private AS numbers in updates sent to external peers. Private AS numbers are only in the range 64,512–65,535. The no version halts removing private AS numbers. 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.


    Address Family Configuration, Router Configuration

    Published: 2014-08-18