Monday, April 16, 2012

MPLS TABLES


Control plane:
    • Collecting & propagating the information that is used to forward traffic.
    •  Build RIB
      • From routing protocols
    • From routing protocols
    • Build LIB
      • Using label exchange protocol
    •  Using label exchange protocol
    •  From these 2 give the information to the forwarding plane
Forwarding Plane:
    •  Decides how a packet will be forwarded
    •  Build 2 tables FIB & LFIB
    •  Responsible for forwarding the packet based ip add or label
RIB:
    • Nothing but IP routing table
    • Sh ip route
    • Table columns Protocol, prefix, next hop
LEP:
    • A LEP
      •   Bind locally significant labels to routes in the RIB
      •  Then exchange these label bindings with neighbor LSRs
      • Stores the local & received label binding in LIB table
    • LEPs are:
      • LDP/TDP: in this labels are assigned to only non-bgp routes in Routing Tables
      • MP-BGP: distribute label bindings for bgp routes in routing table
LIB:
    • Contains the Local Label binding & label bindings learned from neighbors.
    • LIB table will seen using “sh mpls ldp binding” or “sh mpls ip bindings"
    • Table columns are prefix, lsr/local, label
FIB:
    • Made by CEF
    • Stores all labels information
    • Contain each prefix, next-hop & outgoing interfaces
    • See by using “sh ip cef detail"
    • Column’s are prefix, Next-hop, label.
LFIB:
    • It contains labels used to forward packets but not all labels bindings in RIB
    • See by using “sh mpls forwarding table"
    • Table column’s are inlabeL, outlabel, next-hop