.. _example_protocols_bgp_peer-group_address-family_ipv6-unicast_allowas-in: ########## Allowas-In ########## Scenario to verify BGP **peer-group address-family ipv6-unicast allowas-in** inheritance. When ``allowas-in`` is configured on a peer-group under address-family ipv6-unicast, neighbors that are members of that group accept IPv6 routes containing their own AS in the AS-path. ***************************************************************** Test eBGP IPv6 - Peer-group allowas-in accepts routes with own AS ***************************************************************** Description =========== Test that ``allowas-in`` configured on a peer-group under address-family ipv6-unicast is inherited by its members. DUT1 prepends DUT0's own AS (100) to the route. With allowas-in inherited from the peer-group, DUT0 accepts the route despite containing its own AS in the path. Scenario ======== .. include:: allowas-in/testebgpipv6-peer-groupallowas-inacceptsrouteswithownas .. raw:: html
********************************************************* Test eBGP IPv6 - Peer-group allowas-in disabled (default) ********************************************************* Description =========== Test that by default BGP rejects routes containing its own AS in the AS_PATH. DUT1 prepends DUT0's AS (100) to the AS_PATH. Without allowas-in on the peer-group, DUT0 should reject this route. Scenario ======== .. include:: allowas-in/testebgpipv6-peer-groupallowas-indisabled(default) .. raw:: html