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.
- 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
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.