there will be one label per prefix. Assigning a label for all routes in a VRF is not possible. The only option would be summarization to reduce the number of routes.
Be aware, that you have up to 1 Mio label available. So it is only then that you run out of labels. Not unlikely you run out of memory or CPU before that limit.
To get the maximum number of labels use the "mpls label range 16 1000000" command. By default there is a label range up to 100000 in all routers I know of.
As the label range is PER PE you in fact could have far beyond 1 Mio routes in your MPLS BGP without reaching a limit from the label space. Also not unlikely that you hit other resource limits (CPU, memory, bandwidth) much earlier.
When setting up Option B this all means that you need additional PEs once you learn more than 1 Mio customer routes from your peering PEs in the other AS.
Introduction: The "external-out enable" command is available for
configuration under the "router ospf process" in case of the IOS-XR
operating system. This command basically enables advertisement of
intra-area routes on the device as external routes in th...
IntroductionIn this article we'll discuss how to troubleshoot packet
loss in the asr9000 and specifically understanding the NP drop counters,
what they mean and what you can do to mitigate them. This document will
be an ongoing effort to improve troublesh...