.. _example_protocols_bgp_peer-group_address-family_ipv6-unicast_remove-private-as: ################# Remove-Private-As ################# Scenario to verify BGP **peer-group address-family ipv6-unicast remove-private-as** inheritance. When ``remove-private-as`` is configured on a peer-group under address-family ipv6-unicast, private AS numbers are stripped from the AS-path before advertising IPv6 routes to members of the group. ******************************************************************* 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) forwards to DUT2 (member of peer-group without remove-private-as). Scenario ======== .. include:: remove-private-as/testebgpipv6-withoutremove-private-asshowsprivateasinpath .. raw:: html
************************************************************************* Test eBGP IPv6 - Peer-group remove-private-as strips private AS from path ************************************************************************* Description =========== Test that ``remove-private-as`` configured on a peer-group under address-family ipv6-unicast strips private AS numbers from the AS-path. DUT1 (AS 65001) originates 2001:db8:100::/64. DUT0 forwards to DUT2 (member of peer-group with remove-private-as). DUT2 should see only AS 100 in the path. Scenario ======== .. include:: remove-private-as/testebgpipv6-peer-groupremove-private-asstripsprivateasfrompath .. raw:: html