L3VPN

Layer 3 Virtual Private Network

3.1.b PE-P routing (Not on blueprint)

Provider Edge (Router)

Provider (Core) (Router)

General information on “MPLS PE-P routing”:

“MPLS PE-P routing” CLI configuration commands:

## Configuring the MPLS core using OSPF with MPLS LDP autoconfig on its OSPF-enabled interfaces
Router(config)# router ospf <pid>
Router(config-router)# network <network> <mask> area <area-id>
Router(config-router)# mpls ldp autoconfig

## Disabling/Enabling MPLS on interfaces manually
Router(config)# interface <if>
Router(config-if)# [no] mpls ip

3.1.b i PE-CE routing

Provider Edge (Router)

Customer Edge (Router)

General information on “MPLS PE-CE routing”:

Routing between PE and CE can be done with…:

Redistribution requirements:

“MPLS PE-CE routing” CLI configuration commands:

## =========================
##  PE-CE routing with EIGRP
##  ========================

## CE configuration with EIGRP classic mode
Router(config)# router eigrp <asn>
Router(config-router)# network <network> <mask>

## CE configuration with EIGRP named mode
Router(config)# router eigrp <WORD>
Router(config-router)# address-family ipv4 autonomous-system <asn>
Router(config-router-af)# network <network> <mask>

## PE configuration with EIGRP classic mode
Router(config)# router eigrp <asn>
Router(config-router)# address-family ipv4 vrf <vrf> autonomous-system <asn>
Router(config-router-af)# network <network> <mask>
Router(config-router-af)# topology base
Router(config-router-af-topology)# redistribute bgp <asn>

## PE configuration with EIGRP named mode
Router(config)# router eigrp <WORD>
Router(config-router)# address-family ipv4 vrf <vrf> autonomous-system <asn>
Router(config-router-af)# network <network> <mask>
Router(config-router-af)# topology base
Router(config-router-af-topology)# redistribute bgp <asn>

## PE redistribution from EIGRP to BGP
Router(config)# router bgp <asn>
Router(config-router)# address-family ipv4 vrf <vrf>
Router(config-router-af)# redistribute eigrp <asn>


## ========================
##  PE-CE routing with OSPF
## ========================

## CE configuration with OSPF
Router(config)# router ospf <pid>
Router(config-router)# network <network> <mask>

## PE configuration with OSPF
Router(config)# router ospf <pid> vrf <vrf
Router(config-router)# network <network> <mask>
Router(config-router)# redistribute bgp <asn>

## PE redistribution from OSPF to BGP
Router(config)# router bgp <asn>
Router(config-router)# address-family ipv4 vrf <vrf>
Router(config-router-af)# redistribute ospf <pid>


## =======================
##  PE-CE routing with BGP
## =======================

## CE configuration with BGP
Router(config)# router bgp <asn>
Router(config-router)# neighbor <ip> remote-as <asn>
Router(config-router)# redistribute [OPTIONS]

## PE configuration with BGP
Router(config)# router bgp <asn>
Router(config-router)# address-family ipv4 vrf <vrf>
Router(config-router-af)# neighbor <ip> remote-as <asn>

3.1.b ii MP-BGP VPNv4/VPNv6

General information on “MP-BGP”:

General information on “MP-BGP VPNv4/VPNv6”:

“MPLS MP-BGP VPNv4/VPNv6” CLI configuration commands:

## Configuring MP-BGP VPNv4/VPNv6
Router(config)# router bgp <asn>
Router(config-router)# no bgp default ipv4-unicast
Router(config-router)# neighbor <ip> remote-as <asn>
Router(config-router)# neighbor <ip> update-source <if-or-ip>
Router(config-router)# address-family [vpnv4 | vpnv6]
Router(config-router-af)# neighbor <ip> activate
Router(config-router-af)# neighbor <ip> send-community extended

3.1.b iii Extranet (route leaking)

General information on “MPLS Extranet (route leaking)":

“MPLS Extranet (route leaking)” CLI configuration commands:

## Configuring MPLS route leaking using route-targets
Router(config)# vrf definition <vrf-name>
Router(config-vrf)# route-target [import | export | both] <rt>

3.1.b QoS for MPLS (not on blueprint)

General information on “QoS for MPLS”:

Configuration considerations:

“QoS for MPLS” CLI configuration commands:

## Modifying the MPLS imposition/topmost label
Router(config)# policy-map [NAME]
Router(config-pmap)# class [CLASS-MAP-NAME]
Router(config-pmap-c)# set mpls experimental [imposition | topmost] <value>