.. _example_protocols_bgp_neighbor_address-family_ipv6-unicast_remove-private-as: ################# Remove-Private-As ################# Test BGP **address-family ipv6-unicast remove-private-as** functionality. When a router receives routes from a neighbor using a private AS number (64512-65534), those private AS numbers appear in the AS-path. The remove-private-as command strips these private AS numbers from the AS-path before advertising routes to an eBGP peer. .. image:: remove-private-as.svg :width: 800 ******************************************************************* Test eBGP IPv6 - Without remove-private-as shows private AS in path ******************************************************************* Description =========== Baseline test showing default behavior where private AS numbers are visible in the AS-path. DUT1 uses private AS 65001 and originates route 2001:db8:100::/64. DUT0 (AS 100) receives the route and forwards it to DUT2 (AS 200). Scenario ======== .. include:: remove-private-as/testebgpipv6-withoutremove-private-asshowsprivateasinpath .. raw:: html