Hello David
You have the general concept correct, but the examples should be described in terms of the incoming interface, not the outgoing interface.
An MPLS label is assigned by the downstream LSR to an FEC and advertised to its upstream neighbors. When the downstream router receives the labeled packet, it uses the incoming label, and, depending on the label-space type, possibly the incoming interface, to perform the LFIB lookup.
With a per-interface label space, the label only needs to be unique on a particular incoming interface. Therefore, the router could assign:
- Label 10 for FEC 1 when received on GigabitEthernet1/0/1
- Label 10 for FEC 2 when received on GigabitEthernet1/0/2
The same label value can be reused because the router performs the lookup using: Incoming interface + incoming label
With a per-platform label space, the label must be unique across the whole LSR. Therefore, the router might assign:
- Label 10 for FEC 1
- Label 11 for FEC 2
The router can then perform the lookup using only: Incoming label
So yes, within that platform label space, local label 10 identifies only one label binding/FEC within that label space.
However, this restriction applies to the router’s local/incoming labels. It does not mean that the same outgoing label value cannot appear multiple times in the LFIB. Outgoing labels are assigned by downstream neighbors, and two different neighbors may independently advertise the same label value for different FECs.
For example, a router could have:
- FEC 1 → outgoing label 20 through neighbor A
- FEC 2 → outgoing label 20 through neighbor B
This is not a conflict because the outgoing label is interpreted by the next-hop router, and each next-hop router has its own label space.
Cisco LDP normally uses a per-platform label space, which is indicated by the :0 in an LDP identifier such as:
22.22.22.22:0
Therefore, the key distinction is:
- Per-interface: incoming interface plus label identifies the forwarding entry.
- Per-platform: the label alone identifies the forwarding entry.
I hope this has been helpful!
Laz