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> med <med-value>

Dynamically changes the BGP best path taken for incoming traffic in accordance with the path taken by outgoing traffic, if MED is used as the control mechanism.

set protocols bgpasnneighboridinterfaceinterface-namevrrp-failovervrrp-groupvrrp-group-idmedmed-value
delete protocols bgpasnneighboridinterfaceinterface-namevrrp-failovervrrp-groupvrrp-group-idmedmed-value
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 a VRRP group instance.
med-value
The MED to use on a backup path.

Configuration mode


protocols {
    bgp asn {
      neighbor id {
        interface interface-name {
          vrrp-failover 
            vrrp-group vrrp-group-id				      
               	med med-value 
               	}
            }
        }
   }

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

Use the delete form of this command to remove the user-configured MED attribute in the BGP route update.

Use the show form of this command to view the configured MED value.

The update notification contains Multi-Exit Discriminator (MED) changes according to configuration to influence the change in BGP best paths for incoming traffic.

Master VRRP router will always send route updates with default BGP attribute values, not the one configured under "bgp neighbor vrrp-failover."

The MED that is used on the active path or the path that includes the VRRP elected master will advertise the default MED value.

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

set interface dataplane downlink-interface vrrp vrrp-group vrrp-group-instance-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 MED.