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> local-as <asn>

Defines a local AS number for eBGP peerings.

set protocols bgp asn neighbor id local-as asn
delete protocols bgp asn neighbor id local-as asn
show protocols bgp asn neighbor id local-as
asn
Mandatory if an ASN other than the parent ASN is to be sent to the neighbor. 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 {
            local-as asn 
        }
    }
}

Use the set form of this command to set a local AS number for eBGP peer groupings. This number is used by all peers in the group for peering. It cannot be applied to individual peers in the group.

A local AS number can only be applied to a true eBGP peer; it cannot be applied to peers in different subautonomous systems within a confederation.

Use the delete form of this command to remove a local AS number.

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