What are two uses of the AS-path attribute? (Choose two.)
A.
It is used in BGP route selection.
B.
It is used to ensure that a packet traverses the least number of routers.
C.
It is used by IGPs to avoid loops within an autonomous system.
D.
It is used to avoid routing loops between autonomous systems.