Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

protocols bgp <asn> peer-group <name> address-family ipv6-unicast remove-private-as

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

set protocols bgp asn peer-group name address-family ipv6-unicast remove-private-as
delete protocols bgp asn peer-group name address-family ipv6-unicast remove-private-as
show protocols bgp asn peer-group name address-family ipv6-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.
name
The peer group name.

Configuration mode


protocols {
    bgp asn {
        peer-group name {
            address-family {
                ipv6-unicast {
                    remove-private-as
                }
            }
        }
    }
}

This command applies to IPv6 unicast routes only.

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 peer group configuration settings.