4
Figure 4 Dynamic LSP establishment
139B
MPLS forwarding
As shown in
658H
Figure 5
, a packet is forwarded over the MPLS network as follows:
1.
Device B (the ingress LSR) receives a packet with no label. Then, it performs the following
operations:
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 VLAN-interface 2 to the next hop LSR
Device C.
2.
When receiving the labeled packet, Device 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 VLAN-interface 3 to the next hop
LSR Device D.
3.
When receiving the labeled packet, Device D (the egress LSR) 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 VLAN-interface 4 to the next hop LSR
Device E.
If the LFIB entry records no outgoing interface or next hop information, Device D performs the
following operations:
a.
Identifies the FIB entry by the IP header.
b.
Forwards the packet according to the FIB entry.