The document describes the various metrics used by BGP in building a routing table, including weight, local preference, network or aggregate paths, shortest AS path, and others. Each criterion has specific preferences to determine the optimal path for routing, such as choosing the highest weight or lowest multi-exit discriminator. It emphasizes the importance of these metrics in making effective routing decisions.