BGP is an inter-AS routing protocol used to exchange routing and reachability information between autonomous systems on the internet. It uses path vector routing rather than distance vector, and carries richer metric information than IGPs. BGP configurations establish neighbor relationships between routers in different ASes to exchange routing updates.