.. _example_protocols_bgp_peer-group_addpath: ####### Addpath ####### .. sidebar:: Contents .. contents:: :depth: 2 :local: Scenario to verify BGP **peer-group addpath** inheritance. By default, BGP only advertises the single best path for each prefix to its neighbors. The addpath feature allows the router to advertise multiple paths, giving the receiving peer visibility of alternative routes for its own path selection. The ``addpath-tx-all-paths`` option advertises all available paths for a prefix to the neighbor. The ``addpath-tx-bestpath-per-AS`` option provides a middle ground by advertising only the best path from each originating AS. When configured on a peer-group, all members of the group inherit the addpath behavior. .. image:: addpath.svg :width: 400 ************************************ Test eBGP - Peer-group addpath modes ************************************ Description =========== Test addpath modes on a peer-group: without addpath (baseline, 1 path), with ``addpath-tx-all-paths`` (2 paths), and with ``addpath-tx-bestpath-per-AS`` (2 paths). Scenario ======== .. include:: addpath/testebgp-peer-groupaddpathmodes .. raw:: html