MPLS forwarding
Figure 5 MPLS forwarding
As shown in
1.
Router B (the ingress LSR) receives a packet with no label. It then does the following:
a.
Identifies the FIB entry that matches the destination address of the packet.
b.
Adds the outgoing label (40, in this example) to the packet.
c.
Forwards the labeled packet out of the interface GigabitEthernet 2/1/2 to the next hop LSR
Router C.
2.
When receiving the labeled packet, Router C processes the packet as follows:
a.
Identifies the LFIB entry that has an incoming label of 40.
b.
Uses the outgoing label 50 of the entry to replace label 40 in the packet.
c.
Forwards the labeled packet out of the outgoing interface GigabitEthernet 2/1/2 to the next
hop LSR Router D.
3.
When receiving the labeled packet, Router D (the egress) processes the packet as follows:
a.
Identifies the LFIB entry that has an incoming label of 50.
b.
Removes the label from the packet.
c.
Forwards the packet out of the outgoing interface GigabitEthernet 2/1/2 to the next hop LSR
Router E.
If the LFIB entry records no outgoing interface or next hop information, Router D does the following:
d.
Identifies the FIB entry by the IP header.
e.
Forwards the packet according to the FIB entry.
PHP
An egress node must perform two forwarding table lookups to forward a packet:
Two LFIB lookups (if the packet has more than one label).
•
Figure
5, a packet is forwarded over the MPLS network as follows:
4