You are on page 1of 70

Principio y configuracin De MPLS

VPN L2
Objetivos del curso

Conocer las aplicaciones de MPLS


VPN L2
Conocer el principio de
funcionamiento de VPWS
Conocer el principio de
funcionamiento de VPLS
Estar familiarizado con la
configuracin y mantenimiento de
VPWS y VPLS
Esquema del curso

Captulo I MPLS VPN L2 general


Captulo II VPWS Principio de
funcionamiento
Captulo III VPLS Principio de
funcionamiento
Captulo IV Configuracin tpica
Contenidos del curso

Capitulo I Introduccin MPLS L2 VPN


Beneficios y desventajas de MPLS L3 VPN
Beneficios, Desventajas y tipos de MPLS L2 VPN
Beneficios de MPLS L3 VPN

Usuario
Externalizar la infraestructura WAN
Transferencia de complejidad del enrutamiento al
proveedor
Adecuado para medianas/pequeas empresas
quienes no quieren ganar en enrutamiento de
CORE y en la arquitectura de red de la empresa.
Proveedor
No es necesario mantener la informacin de
enrutamiento relacionados con VPN en todos los
routers de la red troncal
Los servicios de valor aadido (posibilidad de
obtener beneficios)
Desventajas de MPLS L3 VPN

El Control basado en polticas agrega carga


a la gestin de proveedor
La escalabilidad y la gestin pueden
convertirse en un problema para la red de
sper escala
Algunos clientes esperan controlar su
sistema de enrutamiento
Contenidos del Curso

Capitulo I Introduccin MPLS L2 VPN


Beneficios y desventajas de MPLS L3 VPN

Beneficios, desventajas y tipos de MPLS L2 VPN


MPLS L2 VPN

ATM/FR MPLS LSP ATM/FR

Adecuado para el acceso de las empresas a gran escala


Caracteristicas:
Referente a la red de servicios de proveedor como un gran

switch.
Establecer tnel mediante encapsulacin de etiquetas MPLS

Implementar capa de conmutacin 2 en toda la red


Beneficios de MPLS L2 VPN
Usario
Externalizar la infraestructura WAN

Activar la funcin MPLS VPN L2 sin cambiar la estructura

de red L2
Ser capaz de controlar las rutas o seleccionar los servicios

gestionados
Soporte a todos los protocolos de nivel 3

Proveedor
FR existente y ATM VPN se pueden integrar a una
plataforma de infraestructura IP / MPLS
No hay problema escalabilidad causada por el

almacenamiento de demasiadas rutas de VPN de usuario


Relativamente simple que MPLS L3 VPN que utiliza una

gran cantidad de configuraciones basadas en polticas


Clasificacin de L2 MPLS VPN

VPWS: Virtual Private Wire Service

VPLS: Virtual Private LAN Service


Contenidos del curso

Capitulo II Principio de trabajo de

VPWS Introduccin de VPWS

Proceso de trabajo de VPWS


Origen de VPWS

Servicios de FR y ATM siguen siendo la


principal fuente de ingresos de los
proveedores y la demanda de estos servicios
est aumentando.
Estos servicios tambin se pueden
proporcionar mediante el uso de MPLS VPN
L2 a travs de la red IP. Esto permite a los
nuevos proveedores entregar diferentes
servicios, tales como: servicio IP y los
servicios tradicionales sobre una red IP
Concepto de VPWS

VPWS es un tipo de solucin de punto a punto de L2 VPN basado


en MPLS..
Este puede soportar las siguientes tecnologias capa L2: frame relay,
ATM AAL5 CPCS mode, ATM transparent cell mode, Ethernet,
Ethernet VLAN, HDLC, PPP, SONET/SDH link simulation service.
Los dos puertos utilizados para implementar la transmisin
transparente L2 en dos de PEs deben ser del mismo tipo.

ATM

ATM Carrier Backbone


Network

FR
FR
Principio de trabajo de VPWS
Mecanismo de trabajo VPWS: PEs identifican el acceso de diferentes
VPNs y adjuntan un etiqueta interna al paquete para identificacin de
los pares PEs; luego el PE decide cual tunel publico transmite los
paquetes de usuarios y adjunta la etiqueta externa correspondiente al
paquete, los entrega al PE, por lo tanto el enlace punto a punto se
establece entre los usuarios.
Crear un LSP en medio de PEs via LDP.
Establecimiento Point-to-point sub-tunnel en medio de los Pes es
llamado PW (Pseudo Wire).

VPN1

CE1
Carrier Backbone PE2
Network
VPN1

PE1
CE2 CE4
VPN2
VPN2
Identificacin de la VPN en VPWS
Fei_1/1 1.1.1.1 vc-id100
Fei_1/2 1.1.1.1 vc-id200
PE1:1.1.1.1 CE4
CE1 Carrier Backbone PE2:1.1.1.2
Fei_1/1 Network VPN1
VPN1 Fei_1/1
Fei_1/2
Fei_1/1 1.1.1.2 vc-id100 Fei_1/2

Fei_1/2 1.1.1.2 vc-id200 CE4


VPN2 CE3
VPN2

Identificador unico PW esta integrado por a direccin del nodo


remoto y vc-id
vc-idvirtual link identifier
vc-id debe ser unico en el nodo local y la correspondiente
interface en el nodo remoto debe tener el mismo vc-id
Contenidos del curso

Capitulo II Principio de trabajo de

VPWS
Resumen de VPWS
Proceso de trabajo de VPWS
Etiqueta VPWS

Carrier Backbone
Network
VPN1 VPN1
LSP

VPN2 VPN2

Assign Virtual Link Label via extended LDP Protocol

Cuando hay paquetes que entran PE a travs del puerto configurado con
la transmisin transparente L2, PE concede dobles etiquetas a los
paquetes de acuerdo con VCID
etiqueta exterior,Ejem: Etiqueta del tunel, esta es asignada por el
protocolo LDP , especificando la ruta del PE local para PE destino.
Etiqueta interna, Ejem: virtual link label, es asignado por el protocolo LDP
extendido, usada para identificar diferente informacion de la VPN.
Proceso de trabajo VPWSCreacin de la
etiqueta interna.

Fei_1/1 Fei_3/2
PE2 vcid=100 PE1 vcid=100
Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 Extended P Extended PE2
LDP LDP
CE1 PE1: PE2: CE2
vcid=100 label:16 vcid=100 label:22

Especifique la interfaz correspondiente en PE para ser puerto de transmisin transparente


L2 y asignar vc-id correspondiente.
Establecer la sesin mediante el protocolo LDP extendido para asignar la etiqueta enlace
virtual
Proceso de trabajo VPWSCreacin de
tiqueta externa

PE1: Label 3 PE2: Label 3

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
P
PE1 PE2
PE2: Label 28 PE1: Label 72
CE1 CE2

Podemos identificar atributo VPN de datos de los usuarios con etiqueta interior. A
continuacin, cree un tnel pblico entre dos empresas pblicas para transmitir
los datos de usuario de VPN en la red pblica
Protocolo de enrutamiento se habilitar entre PE y el dispositivo P, asigne la
etiqueta a travs de LDP y crear LSP.
Proceso de trabajo VPWSFormacin de la
Tabla Etiqueta

In-label vc-id Dest out-label out-int In-label vc-id Dest out-label out-int
16 100 PE2 22 fei_1/2 22 100 PE1 16 fei_3/1

Dest out-label out-int Dest out-label out-int


PE2 28 fei_1/2 PE1 72 fei_3/1

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
P
PE1 PE2
In-int In-label Dest out-label out-int
Fei_2/1 28 PE2 pop fei_2/2 CE2
CE1
Fei_2/2 72 PE1 pop fei_2/1

Despus de los dispositivos de red, en la red pblica para obtener la etiqueta


interior asignado por el protocolo LDP extendido y la etiqueta externa es asignada
por el protocolo LDP, correspondientes tablas de etiquetas formar en ellos.
Tabla etiqueta interior y la tabla etiqueta exterior se formarn el PE y el cuadro
etiqueta global formar en P.
Proceso de trabajo VPWSReenvo de
paquetes
In-label vc-id Dest out-label out-int In-label vc-id Dest out-label out-int
16 100 PE2 22 fei_1/2 22 100 PE1 16 fei_3/1

Dest out-label out-int Packet Dest out-label out-int


22 Packet
PE2 28 fei_1/2 PE1 72 fei_3/1
28 22
Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
P
PE1 PE2
In-int In-label Dest out-label out-int
Fei_2/1 28 PE2 pop fei_2/2
CE1 Fei_2/2 72 PE1 pop fei_2/1 CE2

Despus de las tablas de etiquetas correspondientes forman en los dispositivos, se crear el


tunel punto a punto VPWS .
PE1 recibe vc-id que coincide con el paquete desde el puerto configurado con la transmisin
transparente L2.
PE1 encapsula dobles etiquetas con etiqueta interior para ser etiqueta enlace virtual y
etiqueta exterior para ser etiqueta tnel
PE2 reenva el paquete al correspondiente puerto configurado con la transmisin
transparente L2 acuerdo con etiqueta interior.
Contenido del curso

Capitulo III Principio de trabajo de

VPLS
VPWS Informacin general
Funciones VPLS PE
VPLS Proceso de trabajo
El desarrollo de Ethernet y sus problemas

Ethernet es una tecnologa de LAN que se usa


en todo el mundo
Desarrollar objetivo es proporcionar servicios
de multipunto a multipunto Ethernet, no
limitados por la geografa restriccin de LAN
Problemas con la construccin de Ethernet a gran
escala
La inestabilidad de la STP
tormenta de difusin
Nmero de VLAN Limited
Funciones de VPLS
Combinar Ethernet con MPLS con el fin de satisfacer las
necesidades de los porveedores y los clientes, que requieren la
intercomunicacin entre las redes de los clientes en diferentes
lugares
VPWS slo proporciona una conexin punto a punto, mientras
que VPLS ofrece conexin punto a multipunto

Carrier Backbone Network


Principio de trabajo VPLS
Establecer LSP entre Pes
Usuarios de verdes y rojos usuarios estn configurados para estar en
dos separados Vritual LANs privadas
Establecer punto a punto l2 VC LSPen el tunel LSP
CE puede ser switch o router etc MPLS red troncal es como un
switch LAN con una alta fiabilidad y flexibilidad
Normas de Implementacin de VPLS
Normas VPLS comunes incluyen:
LDP-Based VPLS (RFC4762)- Martini
Ampliamente respaldado por los fabricantes
Soporte de mltiples protocolos
Slo ser adecuado dentro de un AS
Se puede configurar manualmente
BGP-Based VPLS (RFC4761)- Kompella
Encapsular paquetes como requiere Martini
Se puede configurar de forma automtica
Se puede utilizar entre AS
Protocolo IP nico apoyo
VFIIdentificar a los usuarios de VPN
VFI (Virtual Forwarding Instance)
VFI es una instancia VPLS en el PElas VPLS instancias con el
mismo vc-id en diferentes PEs pertenecen a la mismo dominio
VPLS y pueden comunicarse entre s.
Despus de crear una VFI, agregue la interfaz con la VPN
conectada a esta VFI. Una vez recibidos los paquetes en esta
interfaz, PE distinguir VPN segn la informacin VFI de la interfaz
correspondiente.
CE2

PE2 Fei_1/1
Fei_1/1 Carrier Backbone Network
CE1 Fei_1/2
PE1
CE3
vfi vpls_a
vfi vpls_a vcid=100
vcid=100 peer=PE1
peer=PE2 int fei_1/1
int fei_1/1 fei_1/2
Estructura del PE en VPLS
PE necesita identificar la VPN de datos de usuario con el fin determinar la
trayectoria de envo. Se compone de dos partes:
Gestin del PW : Establecer y mantener la VFI PWs a la misma VPN en

otra PEs
VFI: Implementa aprendizaje de MAC y conmutacin de MAC

VPLS PE

VPLS PE

VPLS PE

VFI

PW Management
Contenido del Curso

Capitulo III Principios de trabajo

de VPLS
Resumen VPWS

Funciones de VPLS PE
Proceso de trabajo VPLS
Proceso de trabajo VPLSEstablecimiento
del PW
PW es el camino a travs de la que los paquetes de usuario de la misma VPN se
envan en el dominio VPLS; Este es establecido entre dos PEs, y consiste en una
etiqueta interna (VC label) y uan etiqueta Externa.
La etiqueta VC es intercambiada entre PEs para identificar el dominio VPLS.
draft makes some extensions to LDP and adds VC FEC types (128 type and 129
type)
El proyecto Martini hace que algunas extensiones a LDP y agrega tipos VC FEC
(128 y 129)

Carrier Backbone Network


VPN1 VPN1
LSP

VPN2 VPN2

Assign Virtual Link Label by extended LDP Protocol


El aprendizaje de la MAC a travs de la
difusin (Broadcast)
VPLS MAC Address Peer OutInt
100 XXX Local Port 1

Port 1 Port 1
MAC PE2 MAC
VPLS_A XXX PE1
ZZZ VPLS_A
Service Provider MPLS
Backbone
VPLS_B
VPLS_B

PE3

Port 1 MAC
-A
YYY
VPLS_A
El aprendizaje de la MAC a travs de la
difusin (Broadcast)
VPLS MAC Address Peer OutInt VPLS MAC Address Peer OutInt
100 XXX Local Port 1 100 XXX PE1 Port 2

Port 1
MAC MAC
XXX PE1 Port 2 PE2Port 1
ZZZ

Service Provider MPLS


Backbone
VPLS_B
VPLS_B
Port 2 PE3
Port 1
MAC
-A
YYY

VPLS MAC Address Peer OutInt


100 XXX PE1 Port 2
Aprendizaje de la MAC a travs de Unicast

VPLS MAC Address Peer OutInt VPLS MAC Address Peer OutInt
100 XXX Local Port 1 100 XXX PE1 Port 2
100 ZZZ Local Port1

Port 1
MAC MAC
XXX PE1 Port 2 PE2
ZZZ
Port 1
Service Provider MPLS
Backbone
VPLS_B
VPLS_B
PE3
Port 2
Port 1
MAC
-A
YYY

VPLS MAC Address Peer OutInt


100 XXX PE1 Port 2
Aprendizaje de la MAC a travs de Unicast

VPLS MAC Address Peer OutInt VPLS MAC Address Peer OutInt
100 XXX Local Port 1 100 XXX PE1 Port 2
100 ZZZ PE2 Port2 100 ZZZ Local Port1

MAC Port 2 Port 2 PE2


MAC
XXX ZZZ
Port 1
Port 1
Service Provider MPLS
Backbone
PE1
VPLS_B
VPLS_B
PE3
Port 2
Port 1
MAC
-A
YYY

VPLS MAC Address Peer OutInt


100 XXX PE1 Port 2
Aprendizaje de la MAC a travs de Unicast

VPLS MAC Address Peer OutInt VPLS MAC Address Peer OutInt
100 XXX Local Port 1 100 XXX PE1 Port 2
100 ZZZ PE2 Port2 100 ZZZ Local Port1

MAC Port 2 PE2


XXX PE1 Port 2 MAC
ZZZ
Port 1
Port 1
Service Provider MPLS
Backbone
VPLS_B
VPLS_B
PE3
Port 2 Port 1
MAC
-A
YYY

VPLS MAC Address Peer OutInt


100 XXX PE1 Port 2
100 YYY Local Port 1
Aprendizaje de la MAC a travs de Unicast

VPLS MAC Address Peer OutInt VPLS MAC Address Peer OutInt
100 XXX Local Port 1 100 XXX PE1 Port 2
100 ZZZ PE2 Port 2 100 ZZZ Local Port 1
100 YYY PE3 Port 2

MAC Port 2 PE2


XXX PE1 Port 2 MAC
Port 1 ZZZ
Port 1
Service Provider MPLS
Backbone
VPLS_B
VPLS_B
PE3
Port 2
Port 1
MAC
-A
YYY

VPLS MAC Address Peer OutInt


100 XXX PE1 Port 2
100 YYY Local Port 1
Problemas de bucles en VPLS Horizonte
dividido
Un VFI en un PE es como dos switch L2, pero
no es necesario para ejecutar el protocolo STP
como switch L2 tradicional, MPLS VPN L2
emplea mecanismo de horizonte dividido
interno para evitar bucles.
Contenido de Curso

Capitulo III Principios de trabajo

de VPLS
Resumen VPWS
Funciones del PE VPLS
Principio de trabajo de VPLS
Proceso de trabajo de VPLSCreacin de
la etiqueta interna

Vfi vpn_a Vfi vpn_a


Vcid=100,peer=PE2 Vcid=100,peer=PE1
Int fei_1/1 Int fei_3/2
Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 Extended P Extended PE2
LDP LDP
CE1 PE1: PE2: CE2
vcid=100 label:16 vcid=100 label:22

Configure una VFI en un PEla misma VFIs en el mismo dominio VPLS tienen el
mismo vc-id.
Configure la interface correspondiente en el PE debe ser un puerto transparente L2
Establecer sesin a travs del protocolo extendido LDP para asignar la etiqueta
virtual.
Proceso de trabajo de VPLSCreacin de
la etiqueta externa.

PE1: Label 3 PE2: Label 3

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
P
PE1 PE2
PE2: Label 28 PE1: Label 72
CE1 CE2

Habilitar el protocolo de enrutamiento en PE y Pm y establecer


LSP mediante la distribucin de etiquetas a travs del protocolo
LDP
Proceso de trabajo de VPLSFormacin
de la tablas de etiquetas
In-label vc-id Dest out-label out-int In-label vc-id Dest out-label out-int
16 100 PE2 22 fei_1/2 22 100 PE1 16 fei_3/1
Dest out-label out-int Dest out-label out-int
PE2 28 fei_1/2 PE1 72 fei_3/1

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
P
PE1 PE2
In-int In-label Dest out-label out-int
Fei_2/1 28 PE2 pop fei_2/2
CE1 Fei_2/2 72 PE1 pop fei_2/1 CE2

La tabla de la etiqueta interna y la tabla global de etiquetas


forman un PE,ahora la tabla global de etiquetas forman un P
Proceso de trabajo de VPLSReenvo de
datos

MAC peer-address outIntLab outExtLab outInt


aaa local null null fei_1/1

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
P
PE1 PE2

CE1 CE2
MAC:aaa MAC:bbb

CE1 envia solicitud paquetes ARP para comunicarse con el CE2


Despus de recibir paquete de peticin ARP, PE1 aprende direccin MAC de origen aaa y
la graba en la tabla de direcciones VFI
Proceso de trabajo de VPLSData
Forwarding
In-int vc-id Dest out-label
Fei_1/1 100 PE2 22

Dest out-label out-int


PE2 28 fei_1/2

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
Packet PE2
S:aaa D:fff
22
CE1 CE2
28
MAC:aaa MAC:bbb

PE enva el paquete a todos los VCs en funcin del destino de direcciones MAC fff
Al enviar paquete, busca las etiquetas en la tabla de etiquetas interna y La tabla
Global de etiquetas encapsula el paquete
Proceso de trabajo de VPLSData
Forwarding
In-int In-label Dest out-label out-int
Fei_2/1 28 PE2 pop fei_2/2
Fei_2/2 72 PE1 pop fei_2/1

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
Packet Packet PE2
S:aaa D:fff S:aaa D:fff
22 22
CE1 CE2
28
MAC:aaa MAC:bbb

P mira etiquetas, reenva el paquete segn la tabla de etiquetas y


realiza penltima hop popping (PHP).
Proceso de trabajo de VPLSData
Forwarding
In-int vc-id Dest out-label
Fei_3/2 100 PE1 16

MAC peer-address outIntLab outExtLab outInt Dest out-label out-int


aaa PE1 16 72 fei_3/1 PE1 72 fei_3/1

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
Packet Packet PE2
S:aaa D:fff S:aaa D:fff
22 22
CE1 CE2
28
MAC:aaa MAC:bbb

PE2 aprende direccin MAC de origen y registrar en la tabla de


direcciones VFI
PE2 enva el paquete al CE2
Proceso de trabajo VPLSData Forwarding

MAC peer-address outIntLab outExtLab outInt


aaa PE1 16 72 fei_3/1
bbb local null null fei_3/2

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
PE2

CE1 CE2
MAC:aaa MAC:bbb

CE2 devuelve paquete de respuesta ARP para CE1


PE2 aprende direccin MAC de origen del paquete y lo registra en
la tabla de direcciones VFI
Proceso de trabajo VPLSData Forwarding
MAC peer-address outIntLab outExtLab outInt
aaa PE1 16 72 fei_3/1
bbb local null null fei_3/2

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
Packet PE2
S:bbb D:aaa
16
CE1 CE2
72
MAC:aaa MAC:bbb

PE2 levanta la direccin MAC de destino y reenva el paquete


Proceso de trabajo VPLSData Forwarding
In-int In-label Dest out-label out-int
Fei_2/1 28 PE2 pop fei_2/2
Fei_2/2 72 PE1 pop fei_2/1

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
Packet Packet PE2
S:bbb D:aaa S:bbb D:aaa
CE1 16 16 CE2
MAC:aaa 72 MAC:bbb

P mira hacia arriba en la tabla de etiquetas y enva


el paquete
Proceso de trabajo VPLSData Forwarding
In-int vc-id Dest out-label
Fei_1/1 100 PE2 22 MAC peer-address outIntLab outExtLab outInt
aaa local null null fei_1/1
Dest out-label out-int
bbb PE2 22 28 fei_1/2
PE2 28 fei_1/2

Fei_1/2 Fei_3/1
Fei_1/1 Fei_3/2
Fei_2/1 Fei_2/2
PE1 P
Packet Packet PE2
S:bbb D:aaa S:bbb D:aaa
16 16
CE1 CE2
72
MAC:aaa MAC:bbb

PE1 aprende direccin MAC de origen del paquete y lo


registra en la tabla de direcciones VFI
PE1 busca direccin MAC de destino del paquete y enva el
paquete
Contenido del curso

Capitulo IV Configuracin tipica


VPWS Configuracion
VPLS Configuracin
Configuracion basica de VPWS

Enable VPWS configuration on interface


ZXR10(config-if)#mpls xconnect x.x.x.x vcid

Configure Extended LDP neighbor


ZXR10(config)#mpls ldp target-session x.x.x.x
Configuracion de la instancia VPWS

Fei_1/2 Fei_2/2
175.0.0.1 176.0.0.1
Fei_1/1
Fei_2/1
PE1 175.0.0.2 P Fei_3/1 PE2 Fei_3/2
176.0.0.2

CE1 CE2
10.0.0.1 10.0.0.2

Basic configuration tasks of three routers include:


Implement VPWS L2 VPN intercommunication between
CE1 and CE2
Configuracion de la instancia VPWS
Configuration of PE1:

PE1(config)# interface loopback1


PE1(config-if)# ip address 1.1.1.1 255.255.255.255
PE1(config)# interface fei_3/1
PE1(config-if)# ip address 175.0.0.1 255.0.0.0
PE1(config-if)# mpls ip
PE1(config)# interface fei_0/1
PE1(config-if)# mpls xconnect 1.1.1.3 100 //Configure remote interface IP and
VPWS identifier; initiate VPWS between local interface and remote interface
PE1(config)# router ospf 1
PE1(config-route)# network 1.1.1.1 0.0.0.0 area 0.0.0.0
PE1(config-route)# network 175.0.0.0 0.255.255.255 area 0.0.0.0
PE1(config)# mpls ip
PE1(config)# mpls ldp router-id loopback1 force //Configure LDP router-id
PE1(config)# mpls ldp target-session 1.1.1.3 //Configure address for non-direct
connect remote target session and establish target session
Configuracion de la instancia VPWS
Configuration of P:

P(config)#interface loopback1
P(config-if)# ip address 1.1.1.2 255.255.255.255
P(config)# interface fei_1/1
P(config-if)# ip address 175.0.0.2 255.0.0.0
P(config-if)# mpls ip
P(config)# interface fei_3/1
P(config-if)# ip address 176.0.0.1 255.0.0.0
P(config-if)# mpls ip
P(config)# router ospf 1
P(config-router)# network 1.1.1.2 0.0.0.0 area 0.0.0.0
P(config-router)# network 175.0.0.0 0.255.255.255 area 0.0.0.0
P(config-router)# network 176.0.0.0 0.255.255.255 area 0.0.0.0
P(config)# mpls ip
P(config)# mpls ldp router-id loopback1 force

Configuration of PE2 (Refer to PE1)


Monitoreo y Mantenimiento de VPWS

1. View L2 transport binding information (inner label)

PE1#show mpls l2transport binding


Destination Address: 1.1.1.3, VC ID: 100
Local Label: 16
Cbit: 0 VC Type: ETH GroupID: 0
MTU: 1500 Interface Desc: fei_0/1
Remote Label: 19
Cbit: 0 VC Type: ETH GroupID: 0
MTU: 1500 Interface Desc: fei_0/1

PE2#show mpls l2transport binding


Destination Address: 1.1.1.1, VC ID: 100
Local Label: 19
Cbit: 0 VC Type: ETH GroupID: 0
MTU: 1500 Interface Desc: fei_0/1
Remote Label: 16
Cbit: 0 VC Type: ETH GroupID: 0
MTU: 1500 Interface Desc: fei_0/1
Monitoreo y Mantenimiento de VPWS

2. View label forwarding information (outer label)

PE1#show mpls forwarding-table


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
19 Pop tag 1.1.1.2 32 fei_3/1 175.0.0.2
18 16 1.1.1.3 32 fei_3/1 175.0.0.2
17 Pop tag 176.0.0.0 8 fei_3/1 175.0.0.2

P#show mpls forwarding-table


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
17 Pop tag 1.1.1.1 32 fei_1/1 175.0.0.1
16 Pop tag 1.1.1.3 32 fei_3/1 176.0.0.2

PE2#show mpls forwarding-table


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
17 16 1.1.1.1 32 fei_1/1 176.0.0.1
18 Pop tag 1.1.1.2 32 fei_1/1 176.0.0.1
16 Pop tag 175.0.0.0 8 fei_1/1 176.0.0.1
Monitoreo y Mantenimiento de VPWS
3. View LDP session information

PE1#show mpls ldp neighbor PE2#show mpls ldp neighbor


Peer LDP Ident: 1.1.1.2:0; Local LDP Ident 1.1.1.1:0 Peer LDP Ident: 1.1.1.2:0; Local LDP Ident 1.1.1.3:0
TCP connection: 1.1.1.2.1030 - 1.1.1.1.646 TCP connection: 1.1.1.2.646 - 1.1.1.3.1026
state: Oper; Msgs sent/rcvd: 235/236; state: Oper; Msgs sent/rcvd: 11/11; Downstream
Downstream Up Time: 00:03:33
Up Time: 03:46:12 LDP discovery sources:
LDP discovery sources: fei_1/1; Src IP addr: 176.0.0.1
fei_3/1; Src IP addr: 175.0.0.2 Addresses bound to peer LDP Ident:
Addresses bound to peer LDP Ident: 1.1.1.2 175.0.0.2 176.0.0.1
1.1.1.2 176.0.0.1 175.0.0.2 Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 1.1.1.3:0
Peer LDP Ident: 1.1.1.3:0; Local LDP Ident 1.1.1.1:0 TCP connection: 1.1.1.1.646 - 1.1.1.3.1027
TCP connection: 1.1.1.3.1027 - 1.1.1.1.646 state: Oper; Msgs sent/rcvd: 12/12; Downstream
state: Oper; Msgs sent/rcvd: 10/10; Downstream Up Time: 00:03:22
Up Time: 00:01:49 LDP discovery sources:
LDP discovery sources: Targeted Hello (1.1.1.1); Src IP addr: 1.1.1.1
Targeted Hello (1.1.1.3); Src IP addr: 1.1.1.3 Addresses bound to peer LDP Ident:
Addresses bound to peer LDP Ident: 1.1.1.1 175.0.0.1
1.1.1.3 176.0.0.2
Monitoreo y Mantenimiento de VPWS

4. View L2 transport VC information

PE1#show mpls l2transport vc


LocalIntf LocalCircuit DestAddress VCID Status
fei_0/1 ETHER 1.1.1.3 100 up

PE2#show mpls l2transport vc


LocalIntf LocalCircuit DestAddress VCID Status
fei_0/1 ETHER 1.1.1.1 100 up
Course Contents

Chapter IV Typical Configuration


VPWS Configuration
VPLS Configuration
Configuracion basica de VPLS
Create VFE and configure related parameters
ZXR10(config)# vfi vfi-name
ZXR10(config-vfi)# vcid vcid
ZXR10(config-vfi)# pwtype ethernet | ethernet-vlan
ZXR10(config-vfi)# peer x.x.x.x

Enable VPLS on interface


ZXR10(config-if)# xconnect vfi vfi-name

Configure Extended LDP neighbor


ZXR10(config)# mpls ldp target-session x.x.x.x
Configuracin de una Instancia en VPLS

Fei_1/2 Fei_2/2 Fei_3/3


CE3
175.0.0.1 176.0.0.1
Fei_1/1 10.0.0.3
Fei_2/1 Fei_3/1
PE1 175.0.0.2 P 176.0.0.2 PE2
Fei_3/2

CE2
CE1
10.0.0.2
10.0.0.1

Basic configuration tasks of three routers include:


Implement VPWS L2 VPN intercommunication among
CE1, CE2 and CE3
Configuracin de una Instancia en VPLS
Configuration of PE1:

PE1(config)# vfi vpn_a //Create VPLS instance VFI


PE1(config-vfi)# vcid 100 //Specify vcid for VPLS instance
PE1(config-vfi)# pwtype ethernet //Specify pw type established by this VPLS instance
PE1(config-vfi)# peer 1.1.1.3 //Specify addresses of other PEs in the same VPLS domain
and establish PW
PE1(config)# interface loopback1
PE1(config-if)# ip address 1.1.1.1 255.255.255.255
PE1(config)# interface fei_1/1
PE1(config-if)# ip address 175.0.0.1 255.0.0.0
PE1(config)# mpls ip
PE1(config)# interface fei_1/8
PE1(config-if)# xconnect vfi vpn_a //Add the interface to VPLS instance
PE1(config)# router ospf 1
PE1(config-router)# network 1.1.1.1 0.0.0.0 area 0.0.0.0
PE1(config-router)# network 175.0.0.0 0.255.255.255 area 0.0.0.0
PE1(config)# mpls ip
PE1(config)# mpls ldp router-id loopback1 force //Configure LDP router-id
PE1(config)# mpls ldp target-session 1.1.1.3 //Configure address for non-direct connect remote
target session and establish target session
Configuracin de una Instancia en VPLS
Configuration of P:

P(config)#interface loopback1
P(config-if)# ip address 1.1.1.2 255.255.255.255
P(config)# interface fei_1/1
P(config-if)# ip address 175.0.0.2 255.0.0.0
P(config-if)# mpls ip
P(config)# interface fei_3/1
P(config-if)# ip address 176.0.0.1 255.0.0.0
P(config-if)# mpls ip
P(config)# router ospf 1
P(config-router)# network 1.1.1.2 0.0.0.0 area 0.0.0.0
P(config-router)# network 175.0.0.0 0.255.255.255 area 0.0.0.0
P(config-router)# network 176.0.0.0 0.255.255.255 area 0.0.0.0
P(config)# mpls ip
P(config)# mpls ldp router-id loopback1 force

Configuration of PE2 (Refer to PE1)


Monitoreo y Mantenimiento en VPLS

1. View MAC forwarding table of VPLS instance

PE1#show mac-table vfi vpn_a


MAC peer-address outIntLab outExtLab outInterface type
00d0.d0c0.ae80 Local NULL NULL fei_1/8 dynamic
00d0.d0c0.ae82 Local NULL NULL fei_1/8 dynamic
00d0.d0c0.2900 1.1.1.3 19 17 fei_1/1 dynamic

PE2#show mac-table vfi vpn_a


MAC peer-address outIntLab outExtLab outInterface type
00d0.d0c0.2900 Local NULL NULL fei_1/8 dynamic
00d0.d0c0.ae80 1.1.1.1 18 16 fei_1/1 dynamic
00d0.d0c0.ae82 1.1.1.1 18 16 fei_1/1 dynamic
Monitoreo y Mantenimiento en VPLS

2. View L2 transport binding information (inner label)

PE1#show mpls l2transport binding


Destination Address: 1.1.1.3, VC ID: 100
Local Label: 18
Cbit: 0 VC Type: ETH GroupID: 0
MTU: NULL Interface Desc:
Remote Label: 19
Cbit: 0 VC Type: ETH GroupID: 0
MTU: NULL Interface Desc:

PE2#show mpls l2 binding


Destination Address: 1.1.1.1, VC ID: 100
Local Label: 19
Cbit: 0 VC Type: ETH GroupID: 0
MTU: NULL Interface Desc:
Remote Label: 18
Cbit: 0 VC Type: ETH GroupID: 0
MTU: NULL Interface Desc:
Monitoreo y Mantenimiento en VPLS

3. View label forwarding information (outer label)

PE1#show mpls forwarding-table


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
19 Pop tag 1.1.1.2 32 fei_1/1 175.0.0.2
17 17 1.1.1.3 32 fei_1/1 175.0.0.2
16 Pop tag 176.0.0.0 8 fei_1/1 175.0.0.2

P#show mpls forwarding-table


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
17 Pop tag 1.1.1.1 32 fei_1/1 175.0.0.1
16 Pop tag 1.1.1.3 32 fei_3/1 176.0.0.2

PE2#show mpls forwarding-table


Mpls Ldp Forwarding-table:
InLabel OutLabel Dest Pfxlen Interface NextHop
17 16 1.1.1.1 32 fei_1/1 176.0.0.1
18 Pop tag 1.1.1.2 32 fei_1/1 176.0.0.1
16 Pop tag 175.0.0.0 8 fei_1/1 176.0.0.1
Monitoreo y Mantenimiento en VPLS
4. View LDP session information
PE1#show mpls ldp neighbor PE2#show mpls ldp neighbor
Peer LDP Ident: 1.1.1.2:0; Local LDP Ident Peer LDP Ident: 1.1.1.2:0; Local LDP Ident 1.1.1.3:0
1.1.1.1:0 TCP connection: 1.1.1.2.646 - 1.1.1.3.1024
TCP connection: 1.1.1.2.1033 - 1.1.1.1.646 state: Oper; Msgs sent/rcvd: 32/33;
state: Oper; Msgs sent/rcvd: 12/12; Downstream
Downstream Up Time: 00:23:55
Up Time: 00:04:50 LDP discovery sources:
LDP discovery sources: fei_1/1; Src IP addr: 176.0.0.1
fei_1/1; Src IP addr: 175.0.0.2 Addresses bound to peer LDP Ident:
Addresses bound to peer LDP Ident: 1.1.1.2 175.0.0.2 176.0.0.1
1.1.1.2 176.0.0.1 175.0.0.2 Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 1.1.1.3:0
Peer LDP Ident: 1.1.1.3:0; Local LDP Ident TCP connection: 1.1.1.1.646 - 1.1.1.3.1029
1.1.1.1:0 state: Oper; Msgs sent/rcvd: 9/9; Downstream
TCP connection: 1.1.1.3.1029 - 1.1.1.1.646 Up Time: 00:00:09
state: Oper; Msgs sent/rcvd: 12/12; LDP discovery sources:
Downstream Targeted Hello (1.1.1.1); Src IP addr: 1.1.1.1
Up Time: 00:03:48 Addresses bound to peer LDP Ident:
LDP discovery sources: 1.1.1.1 175.0.0.1
Targeted Hello (1.1.1.3); Src IP addr: 1.1.1.3
Addresses bound to peer LDP Ident:
176.0.0.2 1.1.1.3
Monitoreo y Mantenimiento en VPLS

5. View L2 transport VC information

PE1#show mpls l2transport vc vpls


VFIName LocalCircuit DestAddress VC ID Status
vpn_a VFI 1.1.1.3 100 up

PE2#show mpls l2 vc vpls


VFIName LocalCircuit DestAddress VC ID Status
vpn_ a VFI 1.1.1.1 100 up
Summary

MPLS L2 VPN Functions


VPWS Functions
VCID Concept
VPWS Working Process
VPLS Functions
VFI Functions
MAC Learning Process
VPLS Working Process

You might also like