Question: how mpls labels are distributed?
Answer: MPLS LDP (Label Distribution Protocol) LDP is a protocol that automatically generates and exchanges labels between routers. Each router will locally generate labels for its prefixes and will then advertise the label values to its neighbors. It's a standard, based on Cisco's proprietary TDP (Tag Distribution Protocol).