Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols bgp <asn> neighbor <id> address-family ipv4-unicast remove-private-as

Directs the router to remove private AS numbers from updates sent to this neighbor.

set protocols bgp asn neighbor id address-family ipv4-unicast remove-private-as
delete protocols bgp asn neighbor id address-family ipv4-unicast remove-private-as
show protocols bgp asn neighbor id address-family ipv4-unicast

Private AS numbers are included in outgoing updates.

asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
id
The IPv4 or IPv6 address of a BGP neighbor.

Configuration mode


protocols {
    bgp asn {
        neighbor id {
            address-family {
                ipv4-unicast {
                    remove-private-as
                }
            }
        }
    }
}

Use the set form of this command to direct the router to exclude private AS numbers from updates to eBGP peers. When this feature is enabled, the router omits private AS numbers from the AS_PATH attribute. The private AS numbers range from 64512 through 65534.

Note that it is a configuration error to include both private and public AS numbers in an AS path. If the router detects this error, it does not remove private AS numbers.

This command may be used in confederations provided that the private AS numbers are appended after the confederation portion of the AS path.

This command applies only to eBGP peers; it cannot be used with iBGP peers.

Use the delete form of this command to restore the default behavior.

Use the show form of this command to view BGP neighbor configuration settings.