Wednesday, April 18, 2012


  • VPN prefixes are propagate across the MPLS VPN network my MP-BGP.
  • RDs used to these VPN prefixes make unique.
  • A prefix derived from the combination of the IPv4 prefix & the RD is calld VPNv4 prefix.
  • MP-BGP will carry the these VPNv4 prefixes between the PE routers

  • In cisco ios, cef is the only switching method supported for forwarding ip packets from the VRF interface.
  • So CEF must be enabled globally on all PE routers & all VRF interfaces


  • Routing should be separate & private for each customer(VPN) on a PE router.
  • so each vpn has its own routing table.
  • Thi private routing table is called VRF routing table.


  • VRF is combination of
        • VPN routing table
        • VRF CEF table
        • ip routing protocols
  • For every VPN attached to the PE, there is one VRF

Tuesday, April 17, 2012

MPLS VPN components:


  • VRF:
    • Allows multiple tables on the same routers.
    • Each vrf have separate:
          • RIB
          • FIB
          • LFIB
    • VRF is locally significant to router.
    • The traffic entered into the VRF enabled interfaces is belong to that vrf.
    • Only one vrf can be assigned to each VRF but one VRF contain any number of interfaces.
  • Route Distinguishers:
    • VPN routes are propagated across a MPLS VPN network by MP-iGMP
    • To make these routes unique RDs are used.
    • RD is locally significant & globally relevance.
  •  Routing Timers:
    • Export RTs
      • Attached to a route when it is converted into VPNv4 route
    • Import RTs
      • RTs are used to select VPNv4 routes to insert into matching VRF tables.
    • The matched route is only added to vrf table only when RT is attached to the matched route on PE router.
  • Routing Protocols:
    • IGP 1: 
      • Between CEs & PEs
      • used to advertise routes in the VRF routing table
      • IGP will be any of the IGP protocol/static route/ebgp
    • IGP 2:
      • This is core MPLS IGP
      • Support the LDP
    • LDP:
      • Between MPLS enabled routers
    • MP-BGP:
      • Only between PE routers

  • 2 Types of labels in label stack:
      • Outer/Top/LDP label:
        • Used for switching the label in the mpls core network
      • Inner/Bottom/VPN label:
        • Used for switching towards the egress pe router & identify the outgoing interface.
  • MPLS VPN Label Operations:
    • Every PE router assign a VPN label to every local VRF route.
    • This vrf routes with VPN labels are advertised to remaining PE routers in MP-iBGP updates.
    • After converging on PE routers,
      • For every non-local VRF route will be labeled with VPN/inner label along with inner/LDP label for every BGP next-hop.