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> interface <interface-name> vrrp-failover vrrp-group <vrrp-group-id> prepend-as <as-path-string>

Dynamically changes the BGP best path taken by incoming traffic according to the path taken by outgoing traffic, if prepend-as string is used as the control mechanism.

set protocols bgpasnneighboridinterfaceinterface-namevrrp-failovervrrp-groupvrrp-group-idprepend-asas-path-string
delete protocols bgpasnneighboridinterfaceinterface-namevrrp-failovervrrp-groupvrrp-group-idprepend-as
show protocols bgpasnneighboridinterfaceinterface-namevrrp-failovervrrp-groupvrrp-group-id
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.
interface-name
The name of a BGP neighbor interface.
vrrp-group-id
The ID of the VRRP group instance.
as-path-string
prepend-as path string to be used on backup path.

Configuration mode


protocols {
    bgp asn {
        neighbor id {
           interface interface-name {
               vrrp-failover 
                   vrrp-group vrrp-group-id {
                       prepend-as as-path-string
                 }
            }
        }
    }
}

Use the set form of this command to direct the system to dynamically change the BGP best path taken by incoming traffic in accordance with the path taken by outgoing traffic, if prepend-as string is used as the control mechanism.

Use the delete form of this command to he user-configured prepend-as attribute in the BGP route update.

Use the show form of this command to view the BGP configured prepend-as value.

The update notification contains prepend-as-path changes as per configuration to influence the change in BGP best paths for incoming traffic.

The as-path-string used on the active path or the path including the VRRP elected master is NONE, that is, no AS-path prepended.

The following configuration is required to enable the notification function on vRouters:

set interface dataplane downlink-interface vrrp vrrp-group vrrp-group-id notify bgp

Note:

If you are upgrading the Vyatta router to the 4.0 release from any previous release, ensure that unique VRRP group IDs are used across interfaces to avoid conflicting configurations among those interfaces. Furthermore, by employing only the following command, use unique VRRP group IDs for the VRRP groups that are tracked by BGP.

protocols bgp asn neighbor id interface interface-name vrrp-failover vrrp-group vrrp-group-id
. VRRP groups that are not tracked do not require unique IDs within the vRouter.
Note: Local route maps and policies, if any, override the prepend-as.