When you disable the AS_PATH check function for routes learned from a specific location, BGP does not reject routes that contain the recipient BGP speaker's AS number.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 2001:db8:e0ff:783a::4 allowas-in 3
The following example summarizes the commands in this procedure.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# neighbor 2001:db8:e0ff:783a::4 allowas-in 3