Chapter 16 Configuring MPLS VPNs

Configuring MPLS VPNs

Configuring MPLS VPNs

Layer 3 VPNs allow you to establish VPNs in a routed environment, improving the flexibility and ease of maintenance of VPNs. For instructions on how to configure layer 3 VPNs, see the

MPLS Configuration Guide, Cisco IOS Release 15.1S.

The following restrictions apply to MPLS VPNs:

When the port channel is on core, bridge ID must be equal to the encapsulation ID.

Equal Cost Multipath (ECMP) is not supported for swap cases.

Configuration Examples for MPLS VPN

This section contains the following sample configurations involving three routers:

PE1 Configuration, page 16-2

Provider Configuration, page 16-5

PE2 Configuration, page 16-6

PE1 Configuration

Current configuration : 3326 bytes

!

!Last configuration change at 20:37:37 UTC Thu Sep 29 2011

version 15.1

service timestamps debug datetime msec service timestamps log datetime msec

hostname Router

boot-start-marker boot-end-marker

!card type command needed for slot/vwic-slot 0/0 no logging console

no aaa new-model ip source-route ip cef

ip vrf customer_2 rd 1:2

route-target export 1:2 route-target import 1:2

no ip domain lookup no ipv6 cef

multilink bundle-name authenticated

spanning-tree mode pvst

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

16-2

OL-23826-09

Page 308
Image 308
Cisco Systems A9014CFD manual Configuring Mpls VPNs, Configuration Examples for Mpls VPN, PE1 Configuration, 16-2