home

Supported platforms

Vyatta documentation

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

protocols bgp <asn> neighbor <id> remote-as <asn>

Specifies the AS number of the neighbor.

set protocols bgp asn neighbor id remote-as asn
delete protocols bgp asn neighbor id remote-as asn
show protocols bgp asn neighbor id remote-as
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 {
            remote-as asn
        }
    }
}

Use the set form of this command to specify the AS number of a BGP neighbor.

If the AS number of the neighbor is the same as that of the local router, the neighbor is an internal BGP (iBGP) peer. If it is different, the neighbor is an external BGP (eBGP) peer.

Use the delete form of this command to remove AS number settings for the neighbor.

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