.. _example_protocols_bgp_localas: ######## Local As ######## .. sidebar:: Contents .. contents:: :depth: 2 :local: This scenario demonstrates how to configure local-as feature. This feature allows for BGP sessions to establish using an alternate ASN than the ASN that the BGP process is running on. ************************* Test BGP Local-AS options ************************* Description =========== In this scenario, DUT1 and DUT2 are configured as BGP peers against DUT0. A route in DUT1 will be exported to DUT2 through DUT0. The option "local-as" is used in DUT0 to establish the BGP connection, as running ASN in DUT0 is different than remote AS configured in DUT1 and DUT2. The AS-Path of the route received in DUT2 will be checked after configure "no-prepend" and "replace-as" options in DUT0. Scenario ======== .. include:: localas/testbgplocal-asoptions .. raw:: html