FEC says providing the same behavior to same kind of packet that is allocating the same next hop, same egress interface.
AS book says - "In MPLS, the assignment of a particular packet to a particular FEC is done just once, as the packet enters the network. The FEC to which the packet is assigned is encoded as a short fixed length value known as a "label". "
That mean classifying the packets and assigning the labels as per the classification.
and for LIB book says - " The LIB functions in the control plane and is used by the label distribution protocol where IP destination prefixes in the routing table are mapped to next-hop labels that are received from downstream neighbors, as well as local labels generated by the label distribution protocol."
I am confused - FEC says classifying the packet and assigning the label and LIB says destination prefixes are mapped to labels.
If Destination prefixes need to mapped to labels then why do we need to classify the packets and why do we need FEC ?
I know that I am missing something because books area already reviewed by experts.
Technically, it is the other way round - labels are mapped to destination prefixes. First you have destinations, then you map labels to them on a per-hop basis.
why do we need to classify the packets
Because the packets need to flow through the network to a particular destination via a particular way. We need to make this determination of where the packets flow and which path they take as they enter the network. Therefore, as the packets come, we classify them into FECs, and once they are classified, we push labels on them and forward then through the Label Switched Paths we have chosen by this classifcation.
why do we need FEC
I have posted a similar answer here - perhaps it will help:
Hi Everyone, Would like to extend my thanks in advance for anyone offering assistance. As the subject hints, anyone here know of a way to convert IOS configs to XR config? I seen and heard about SOX tool but i am unable to find it. I also tried ...
When I run the command 'sh controllers fabric fia q-depth location 0/0/CPU0' or any 0/X/CPU0 and see the following, what exactly does it mean? RP/0/RSP0/CPU0:Router#sh controllers fabric fia q-depth location 0/0/CPU0********** FIA-0 **********Categor...
Symptoms: the root password can't log in by GUI Solution:1) login CLI as admin2) write command "ncs webroot enable" without qutations3) we can check the status by "ncs webroot status" hope this will help someonethanks
ISO images are as close as we can get to the old school classic IOS images from back in they day.
Doing upgrades by putting a new image on the flash, changing the boot pointer and reload was and is still the walhalla of Cisco based devices.