Sie sind auf Seite 1von 68

Multiprotocol

Label
Swiching

Introduccin
Arquitectura MPLS:
Datos y Control
Funcionamiento
Sealizacin
Configuracin

MULTIPROTOCOL
LABEL
SWITCHING

Profesor Daniel Daz Ataucuri


ddiaz1610@gmail.com
Profesor Titular de Telecomunicaciones de la UNI
Profesor Titular de Telecomunicaciones de la UNMSM
Director de Investigacin y Desarrollo Tecnolgico del
INICTEL-UNI
Marzo Diciembre de 2014
Profesor Daniel Daz Ataucuri
2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

INTRODUCCION

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

MPLS COMO RED DE TRANSPORTE

MTSO: Mobile Telephone Switching Office


(Oficina de Conmutacin de Telefona Mvil)

Que soluciona MPLS


Velocidad
Escalabilidad
QoS
Gestin
Ingeniera
de trfico

http://lteuniversity.com/get_trained/expert_opinion1/b/psamudra/archive/2013/07/19/a-tale-of-two-backhauls.aspx

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

CONCEPTOS BSICOS
Enrutamiento en la capa de Internet
tiene dos planos bsicos:

Planos de Datos o Envo (Forwarding)


Responsable del envo de los paquetes, usa:.
Tablas de envo actualizado en un router.
Informacin transportado en un paquete.

Consiste de un grupo de procedimientos o


algoritmos que el router usa para decidir el envo de paquetes:
Envo unicast (se basa en direccin de destino)
Envo unicast con calidad de servicios (se basa en direccin de destino y ToS)
Envo multicast (se basa en direccin de origen/destino e interfaz de entrada)

Plano de Control
Responsable de la construccin y mantenimiento de la tabla
de envo. Consiste de:
Uno o ms protocolos de enrutamiento
Procedimientos o algoritmos para obtener la tabla de envo.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

CONCEPTOS BSICOS

Diferente origen

Forwarding Equivalence Class-FEC

Son grupos de paquetes que son tratados de la misma manera


por el router y enviados por un mismo camino, aun si los destinos
finales son diferentes.
Aplicacin 1

IP

Aplicacin 2

IP

Aplicacin n

Tabla de
enrutamiento

Router trata a todos los


paquetes de la misma
manera

Salto s
iguient
e

IP

Muchos paquetes mapeados a un prefijo de direccin de red


Los paquetes que pertenecen a una aplicacin entre dos host
mapeados a un prefijo de direccin de red.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Escalabilidad y
flexibilidad

Granularidad de envo del FEC(gruesa o fina):

Multiprotocol
Label
Swiching

CONMUTACIN DE ETIQUETAS
Los planos de envo y control del enrutamiento en la
capa de Internet puede adaptarse a la conmutacin de
etiqueta (label switching).
En especial, el plano de datos o envo de conmutacin de
etiqueta toma la decisin de envo del paquete en base a:
Tabla de envo mantenido por el Label Switching Router-LSR
Etiqueta transportada en un paquete.

Concepto de etiqueta: IP Switching


Es una entidad pequea y de longitud fija.
No codifica directamente ningn tipo de informacin de la
Analizado en
cabecera de la capa de Internet.
nuevas tablas
datos

Cabecera

datos

IP

Profesor Daniel Daz Ataucuri

Cabecera Etiqueta

IP etiquetado

2014

LFIB, ubicados
en los LSR

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS
MPLS divide la arquitectura de un router en dos
componentes:
Plano de dato o envo, controla el envo del paquete basado en:
Direccin de destino
Etiquetas

Plano de control.
Controla el intercambio de informacin de enrutamiento:
OSPF, EIGRP, BGP, IS-IS, RIP.
Controla el intercambio de etiquetas entre dispositivos
adyacentes: LDP, CR-LDP, RSVP-TE, BGP

Se crea un Label Forwarding Information Base-LFIB


El plano de control crea la tabla LFIB donde se almacena las
etiquetas que es usada por el plano de envo.
La tabla LFIB es creada/actualizada por los protocolos LDP,
CR-LDP, RSVP-TE BGP
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS

Cada plano se puede implementar


y modificar independientemente

Informacin del CCNP de CISCO


Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

UBICACIN DE MPLS EN EL MODELO OS


Aplicacin

Aplicacin

Presentacin

Presentacin

Sesin

Sesin

Transporte

Transporte

Red

Red
MPLS
Enlace de
datos

Enlace de
datos

MPLS

Fsico

Fsico

MPLS
MPLS no
no reemplaza
reemplaza el
el enrutamiento
enrutamiento IP
IP
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Capa 2.5

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS:
PLANO DE DATOS
DE ENVO

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS: PLANO DE DATO


El plano de envo o datos toma la decisin de envo de
un paquete considerando dos orgenes de informacin:
Tabla de envo o forwarding, mantenido en los LSR.
La etiqueta es transportada en el paquete.
Interfaz de
entrada

Etiqueta de
entrada

Interfaz de
salida

Etiqueta de
salida

n1

n2

datos IP n1

datos IP n1

datos IP n2

Adicional, reserva de recursos:


En que tipo de cola de salida
el paquete es almacenado

TABLA LFIB

2
3

datos IP n2

Adicional, reserva de recursos:


En que tipo de cola de salida
el paquete es almacenado

TABLA LFIB

2
3

da
to
s

IP
n3

Interfaz de
entrada

Etiqueta de
entrada

Interfaz de
salida

Etiqueta de
salida

Interfaz de
salida

Etiqueta de
salida

n1

n2

n3

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS: PLANO DE DATOS


Cabecera MPLS
20bits

3bits

Etiqueta
MPLS

EXP

1bits 8bits
S

TTL

Campo Etiqueta MPLS.


Campo de 20 bits. Valores del 0 al 15 son reservados.

Campo EXP experimental.


Campo de 3 bits. Indica CoS o informacin de PHB.

Campo S Stack
Campo de 1 bit. Indica un grupo stack de etiquetas.

Campo TTL Time-To-Live


Campo de 8 bits. Elimina bucles en la regin MPLS.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS: PLANO DE DATOS


Adicin de la cabecera MPLS en IP
0

16 19

31

16 19

31
Cabecera
MPLS

S=1
Longitud total

Identificador

Indic Desplaz de frag.

Protocolo

Suma de chequeo

Direccin de origen

Etiqueta de flujo

Direccin de origen

Direccin de destino
Opciones-relleno
Opcional

40 bytes
max

Direccin de destino

DS

Longitud de carga til Cabe.sigte Lmite salto


40 bytes

TTL

Ver

Cabecera

20 bytes

Ver HLEN Tipo Serv.

Cabecera opcionales

Carga til
PDU de la capa superior

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS:
PLANO DE CONTROL

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS: PLANO DE CONTR


El plano de control es responsable de:
Distribuir informacin de enrutamiento entre LSR.
Los procedimientos (algoritmos) que usa los LSR para convertir
esa informacin en tabla de envo que es usada por el plano de
datos o de envo.

Existe gran similitud entre el plano de control de una


arquitectura de enrutamiento convencional y de
conmutacin de etiqueta:

En MPLS se incluye todos los protocolos de enrutamiento de IP.


Enrutamiento de IP es una parte de conmutacin por etiquetas.

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ARQUITECTURA MPLS: PLANO DE CONTR

Protocolos de
enrutamiento de
la capa de red:
OSPF, BGP, etc

Procedimientos
creando enlaces
entre etiquetas y
FECs

FEC para relacionar


siguiente salto

Procedimientos
para distribuir
etiquetas
vinculando
informacin

FEC para relacionar


etiquetas

Tabla de envo de conmutacin de etiquetas


(etiquetas para relacionar el siguiente salto)

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Plano
de control

Multiprotocol
Label
Swiching

FUNCIONAMIENTO
DE UNA RED MPLS

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROPUESTA MPLS POR LA IETF


Los inicios de MPLS se remota a mediados de los 90
cuando se intenta combinar la tecnologa IP y ATM.
IP switching desarrollado por IPSILON1
ARIS (Aggregate Route-based IP Switching) desarrollado
por IBM
IP Navigator desarrollado por Cascade2
Tag Switching desarrollado por CISCO

Consideraron el uso de OSPF para definir los path


y Switches ATM para mover los datos por la red.
La IETF, en 1997, forma el grupo de trabajo MPLS
Enero de 2001 lanza la RFC 3031 donde define MPLS
1 http://www.cs.wustl.edu/~jain/cis788-97/ftp/ip_switching/index.htm
2 http://www.bcr.com/equipment/product_reviews/cascade_promises_qos_for_isps_19970101323.htm

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

AREAS RELACIONADOS CON MPLS


Calidad de Servicio-QoS
MPLS ofrece una arquitectura de red orientada a
conexin sobre la Internet basada en IP.
Se garantiza capacidades fijas, control de latencia y jiiter
para aplicaciones de tiempo real. Variedad de QoS.
Segn OSPF

Ingeniera de Trfico
Dos flujos, con diferentes
QoS, entre dos puntos
extremos de la red pueden
seguir rutas diferentes.

2
11

IP

6
2

RFC 3272: Overview and


Porqu no utilizar sta regin subutilizada
Principles of Internet Traffic Engineering.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

AREAS RELACIONADOS CON MPLS


Virtual Private Network-VPN
Trfico originados en una empresa o grupos de empresas
pasan por la Internet de manera transparente, agregada,
eficiente y segura.
Local 1
Dato

Local 3
Tnel

Internet
Internet
Dato

Local 2
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

AREAS RELACIONADOS CON MPLS


Multiprotocolo
MPLS es usado sobre multiples tecnologas.
Routers IP deben ser actualizados para soportar MPLS.
Switches ATM deben ser actualizados para soportar MPLS.
Switches Frame Relay deben ser actualizados para
soportar MPLS.
MPLS en Internet basada en IP es independiente del tipo
de protocolo IP: IPv4/IPv6
El router IP MPLS coloca una etiqueta delante del
protocolo de capa 3, que es la base de la conmutacin

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ESCENARIO DE UNA RED MPLS


IP

RED
LAN
Analiza
Etiqueta

Router IP

RED
MPLS

LSR

IP

Analiza
Etiqueta

LSR

P
LS

Edge
LSR
IP

RED
LAN
Edge
LSR
IP

Etiqueta

Introduce (push)
Etiqueta

LSR

LSR

Analiza
Etiqueta

Extrae
(pop)
Etiqueta

Analiza
Etiqueta

QoS en la
Red MPLS
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PRINCIPIO DE CONMUTACION EN MPLS


Las etiquetas tienen significado
local; no tiene significado global

LFIB=Label Forwarding Information Base

IP

2
3

RED
LAN

Router IP

LSR

LSR
2

Edge
I
LSR P 2
3

70

IP

2
1

17
77

2
2

IP 80

LSR

IP

34
3

swap

RED
LAN
IP

1
IP 4 7
77
3
1

IP 1

4
4

RED
MPLS

1
Esta primera etiqueta
define la trayectoria
(LSP) seguida por el
paquete en la red. (FEC)

34
71

IP 71

IP

Interfaz
Etiqueta
Interfaz Etiqueta
de entrada de entrada de salida de salida

Edge
LSR
3

IP

IP

LSR

LFIB=Label Forwarding
Information Base
Interfaz
Etiqueta
Interfaz Etiqueta
de entrada de entrada de salida de salida
1
1

70
23

3
4

34
80

LFIB=Label Forwarding Information Base

Profesor Daniel Daz Ataucuri

Interfaz
Etiqueta
Interfaz Etiqueta
de entrada de entrada de salida de salida
1

80

71

LFIB=Label Forwarding Information Base

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PRINCIPIO DE CONMUTACION EN MPLS


Interfaz
Etiqueta
Interfaz Etiqueta
de entrada de entrada de salida de salida
2
3

RED
LAN
Router IP

LSP

LSR

QoS para cada

3
4

LSP.
LSR
LSP.

Interfaz
Etiqueta
Interfaz Etiqueta
de entrada de entrada de salida de salida

34
Red 80
orientada

Profesor Daniel Daz Ataucuri

QoS para cada

QoS para cada

LSP.

70
23

Etiqueta
Interfaz Etiqueta
de entrada
LSP de entrada de salida de salida
1
1

Edge
LSR

RED
LAN

LSP.

FEC Interfaz Etiqueta


de salida de salida
a
2
70
b
2
23

Medio
fsicoInterfaz

QoS para cada

17
77

LSR
2

LSP.

4
4

RED
MPLS

LSR

QoS para cada

Edge
LSR

34
71

a conexin

2014

80

71

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

DESCRIPCION DE LA RED MPLS


Label Switching Router, LSR.
Nodo dentro de la red MPLS capaz de conmutar y enrutar
paquetes analizando la etiqueta adicionada a cada paquete.

Edge Label Switching Router, Edge LSR.


Nodo MPLS de borde que maneja trfico que ingresa o
sale a una red MPLS.
El de entrada adiciona etiqueta a cada paquete IP.
El de salida extrae etiqueta del paquete IP y enruta
segn capa 3.

Label Switch Path, LSP


Trayecto definido con QoS entre dos puntos extremos
dentro de la red MPLS.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

RED MPLS
Red del
Cliente

LSR
Edge
LSR
Red del
Cliente

Edge
LSR

LSR
Edge
LSR

RED
MPLS
LSR

Edge
LSR

Red del
Cliente

LSR

Red del
Cliente
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

FORWARDING EQUIVALENCE CLASS-FE


El FEC para un paquete puede ser determinado por
el anlisis de los siguientes parmetros:
Direccin IP de origen o destino.
Direccin de red de origen o destino.
Valor del campo Protocolo (protocol ID)
Valor de DSCP (nivel de prioridad del paquete IP)
Valor del campo Etiqueta de Flujo en IPv6

Un PHB puede ser asignado en un LSR para un


FEC dado.

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

ROUTER DEL PROVEEDOR Y CLIENTE


Red del
usuario

Red de
usuario

Red del
proveedor

CE

P
2

PE

2
2

CE .- Customer Edge
C .- Customer
PE .- Provider Edge
P .- Provider

PE
3

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

16 19

31

16 19

31

Label
Stacking

APILAMIENTO DE ETIQUETAS
Cabecera
MPLS
Cabecera
MPLS
Longitud total

Identificador

Indic Desplaz de frag.

Protocolo

Suma de chequeo

Direccin de origen

Etiqueta de flujo

Direccin de origen

Direccin de destino
Opciones-relleno
Opcional

40 bytes
max

Direccin de destino

DS

Longitud de carga til Cabe.sigte Lmite salto


40 bytes

TTL

Ver

Cabecera

20 bytes

Ver HLEN Tipo Serv.

Cabecera opcionales

Carga til
PDU de la capa superior

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

LABEL STACKING
Un paquete IP etiquetado puede transportar varias
etiquetas.
Stack tipo LIFO: Last-In-First-Out.

Label Stacking permite la agregacin de LSPs en


un slo LSP creando un tnel.
Al inicio del tnel, un LSP asigna la misma etiqueta a
paquetes provenientes de varios LSPs, introduciendo
etiqueta a la parte superior del stack.

Un ISP puede agregar varios LSPs en pocos tneles


entre puntos de presencia (PoP, Points of Presence)
Pocos tneles pocas tablas: mejora la escalabilidad.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

LABEL STACKING
IP

PE
IP

PE

41

91

PE
P

IP

IP

31

IP

LS
P

P
2

1
3

2IP

91
70
2
72
70
1

P2
LS

3 IP

P
LS
2

P1
S
L

IP 81
4 IP

IP
72

IP

91
1

PE

17
IP 27
72
I
17
P
91
2 IP
72 IP 61

P
IP 25

LSP

IP

PE

PE

IP

LSP

LSP1
LSP2

Tnel
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO DE
SEALIZACIN
RSVP-TE

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO RSVP vs - RSVP-TE


Sealizacin RSVP
Definido en RFC 2205
Mensaje Path

Redes
Redes
de
deacceso
acceso

Mensaje Resv

Backbone IP

Redes
Redes
de
deacceso
acceso

Sealizacin RSVP-TE
Definido en RFC 3209
Mensaje Path

Redes
Redes
de
deacceso
acceso

Profesor Daniel Daz Ataucuri

Mensaje Resv

Backbone
MPLS

2014

Redes
Redes
de
deacceso
acceso

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

OBJ n

...

PROTOCOLO RSVP (RFC 2205)


OBJ 2

OBJ 1

Cab.
RSVP

Objetos de RSVP
Protocolo RSVP

IP
Cab.
IP

Datos

PATH:
Define trayectoria

RESV:
Realiza reserva
IP
Cab.
IP

Profesor Daniel Daz Ataucuri

2014

Cab.
RSVP

OBJ 1

OBJ 2

...

Objetos de RSVP
Protocolo RSVP

ddiaz1610@gmail.com

OBJ x

Multiprotocol
Label
Swiching

PROTOCOLO RSVP (RFC 2205)


Cabecera
Cabecera del
del
Objeto
1
Objeto 1

Objeto
Objeto 11

Contenido
Contenido del
del
Objeto
Objeto 11

Mensaje 1

Objeto

..

Objeto 2

Objeto 1

Cabecera RSVP

Objeto

..

Objeto p

Objeto 1

Cabecera RSVP

Mensaje 2
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO RSVP (RFC 2205)


8

16 19

Ver HLEN Tipo Serv.

Longitud total

Identificador

Indic Desplaz de frag.

TTL

Protocolo
46

31

Suma de chequeo

Direccin de origen

Ver

16 19

DS

Longitud de carga til


40 bytes

Cabecera

IPv4

20 bytes

31

Etiqueta de flujo
Cabe.sigte
Lmite salto
46

IPv6

Direccin de origen

Direccin de destino
Direccin de destino

Cabecera Ver Flags Msg Type Chequeo suma RSVP


RSVP Send_TTL Reservado Longitud RSVP
Longitud del objeto

Class-Num

Ver Flags Msg Type Chequeo suma RSVP Cabecera


RSVP
Send_TTL Reservado
Longitud RSVP

C-Type

Contenido del objeto


Objetos
RSVP

Longitud del objeto

Class-Num

Contenido del objeto

Longitud del objeto


C-Type
Objetos
RSVP

..
.

Profesor Daniel Daz Ataucuri

2014

Class-Num

C-Type

Contenido del objeto

..
.
ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO RSVP (RFC 2205)


Formato de un objeto
Longitud del objeto

Class-Num

C-Type

Contenido del objeto

Cada objeto contiene una cabecera de 32 bits.


Longitud.- Campo de 16 bits y contiene la longitud total del objeto
expresado en bytes.
Class-Num.- Identifica la clase de objeto; por ejemplo: SESSION,
RSVP-HOP, TIME_VALUE, etc.
C-Type.- nico para cada Class-Num. Identifica el tipo de protocolo IP
que lleva el objeto: C-Type=1 para IPv4 e C-Type=1 para IPv6

Contenido del objeto es de uno (01) o ms palabras de 32 bits


Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO RSVP (RFC 2205)


Objeto Session
Longitud del objeto

Class-Num
1

C-Type
1

Longitud del objeto

Class-Num
1

C-Type
2

Direccin IPv4 de destino


ID Protocol

Flags

Puerto de destino

Direccin IPv6 de destino

ID Protocol

PATH
Session
Sender
Sender Tspec
Time-Val
RSVP-Hop

Profesor Daniel Daz Ataucuri

Flags

Puerto de destino

RESV
Session
Filter Spec
Flow Spec
Style
Time-Val
RSVP-Hop

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO RSVP (RFC 2205)


Objeto RSVP_HOP
Longitud del objeto

Class-Num
3

C-Type
1

Longitud del objeto

Class-Num
3

C-Type
2

Direccin IPv4 salto siguiente/previo


Manejo de interfaz lgica

Direccin IPv6 salto siguiente/previo

Manejo de interfaz lgica

PATH
Session
Sender
Sender Tspec
Time-Val
RSVP-Hop
Profesor Daniel Daz Ataucuri

2014

RESV
Session
Filter Spec
Flow Spec
Style
Time-Val
RSVP-Hop
ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
RSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Objetos principales

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
http://www.ciscopress.com/articles/article.asp?p=426640&seqNum=2

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO DE
SEALIZACIN

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
LDP
RFC 5036 LDP Specification
MPLS LDP suministra los medios para que los LSR
requieran, distribuyan y actualicen informacin de
etiquetas.
MPLS LDP es til para aplicaciones que requieren
envo salto-a-salto (hop-by-hop forwarding)
Con MPLS forwarding, cuando un paquete arriba en un router,
el router mira la etiqueta de entrada, busca la etiqueta en la tabla,
y enva el paquete al siguiente salto.

Cuando se habilita MPLS LDP, el LSR enva mensajes


para tratar de encontrar otro LSR para crear una
sesin LDP.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
LDP
RFC 5036 LDP Specification
El protocolo LDP es utilizado para establecer
MPLS LSPs sin Ingeniera de Trfico (TE).
LDP establece LSPs siguiendo el enrutamiento IP existente.
LDP es usado para establecer full mesh de LSPs entre todos
los routers de la red.

El protocolo LDP puede operar en diferentes modos


Modo solicitado.- El router de ingreso enva un requerimiento
de etiqueta LDP al siguiente router, siguiendo la tabla de
enrutamiento IP.
Modo no solicitado.- El router de egreso mapea las etiquetas
en el enlace hasta alcanzar los routers de ingreso.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
RSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
El protocolo RSVP, inicialmente se defini en la
RF 2205:

Resource ReSerVation Protocol (RSVP) -- Version 1


Functional Specification

Se encapsula directamente en IPv4 o IPv6:

Est formado por objetos


Se define inicialmente 07 tipos de mensajes

La asignacin de recursos es realizado por el nodo distante


(receptor)

Mensaje Path y Resv son claves para la creacin de


estados en los nodos de la red.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
RSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Red Dest. Router Sgte.

A Internet
c
Red 2
Directo

PC A

RED
RED11

Router x IPB

Router a

QoS

Red Dest. Router Sgte.


1
a
2
c
Mensaje path
3
e

IPa

IPa

IPa

Mensaje Resv

Red Dest. Router Sgte.


1
x
2
b
3
d

Router b
QoS

IPa

IPb

IPb

IPb

Red Dest. Router Sgte.


1
b
2
y
3
e

Mensaje Resv

Router c
IPb

IPc
Router y

Router d

Router e

RED
RED22
PC B

Red Dest. Router Sgte.


1
a
2
b
3
e

Profesor Daniel Daz Ataucuri

RED
RED33
2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
http://www.ciscopress.com/articles/article.asp?p=426640&seqNum=2

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
RSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Objetos principales

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

PROTOCOLO
RSVP-TE
RSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Objetos extendidos

Mensaje Path

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

CASO DE ESTUDIO:
Configuracin en
router CISCO con LDP

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

LAN UNI

RED MPLS DE ANLISIS

8/ Fa
30 0
/1

4
70.7.7.24/30

.8

0/ 0
a
F .9

/30 0/1 .10


8
.
.8 a
F

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd

/1

.29

.26
Fa0/0

.1

P4

....

212.2.2.0/24

214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.30

7.
2

70.7.7.16/30
Fa0/1

....

Fa1/0

.10

70
.7
.

C
os
to

P2

Costo 1

.25

80
PE2
/

0
/3 /0
12 Fa0
7.
.14

Fa1/0
.22

.18

3
8/

.
.7

.1

to
os
C

.5

o1
t
s
Co

Fa
1

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

Costo 3

PE1

7.

Costo

.1
.1 Rc

.
.7
.7

.
70

70

Rb

Co
sto

.0/3

.17
Fa1/0

Fa
1
.9 /0

Fa1/1
.21
8
Fa0/1

70.7.7.20/30

.1

80 .
8 .8

Fa0/1

....

P3

.6

to
os
C

Ra

70.7.7.4/30

213.3.3.0/24

70

.1

.2
0
0
/3 Fa0/
0
7.

.5

C
os
to

P1

Fa
0

....

Costo 2

211.1.1.0/24

LAN UNMSM

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

Cisco Express Forwarding (CEF)

http://www.cisco.com/en/US/docs/ios/12_2/switch/configuration/guide/xcfcef.html

CEF es una solucin propietaria de CISCO IOS que


tiene como objetivo ofrecer una conmutacin ms
rpida.

Cuando los routers y switches capa 3 tienen habilitados CEF,


CEF crea su propia tabla a partir de la tabla de enrutamiento
Red de destino Mscara de la red de
destino
Salto siguiente
210.10.10.0
255.255.255.0
1 5.5.5.1
220.20.20.0
255.255.255.0
1 5.5.5.5

CEF crea

Forwarding
Information Base
(FIB)
Modo de conmutacin de CISCO

Enrutamiento basado en el destino

Usando CEF la tabla de rutas en cada router se asigna


interfaces de salida para cada paquete sin tener que
consultar la tabla de rutas tradicional, de forma que
se ahorra tiempo.
Es la tabla de rutas del router con soporte hardware.
Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

Cisco Express Forwarding (CEF)

http://www.cisco.com/en/US/docs/ios/12_2/switch/configuration/guide/xcfcef.html

CEF se encuentra habilitado por defecto en los


recientes IOS: Routers de la serie 7xxxx, etc

Verifique si su IOS est habilitado con show running-config

Habilite con:

Router#configure terminal
Router(config)#ip cef

show ip cef
show ip cef detail
show ip cef summary

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

LAN UNI

211.1.1.0/24

....

RED MPLS DE ANLISIS

LAN UNMSM
213.3.3.0/24

....

P1#show ip cef fastEthernet 0/1


Prefix
Next Hop
Interface
70.7.7.4/30
attached
FastEthernet0/1
70.7.7.6/32
70.7.7.6
FastEthernet0/1

P1

P1#show
P3 ip cef fastEthernet 1/0
.6
Prefix
Next Hop
Interface.1
.2
Fa
70.7.7.18
FastEthernet1/0
.1
Fa0/1
Fa1/170.7.7.8/30
.1 Rc
0
0
/
1
3 0
.17
.21
Costo 8
70.7.7.16/30
attached
FastEthernet1/0
.9 /0
/30 /1 .10
0/ Fa
80 .
.
Ra
8
.
0
8 .8
.7
Fa0/1
Fa1/0
70.7.7.18/32
70.7.7.18 .8.8 FastEthernet1/0
Fa
.0/3
.7
.1
0
0
Fa PE2 8
0 PE17
70.7.7.20/30
70.7.7.18
FastEthernet1/0
1/
o1
Co
t
F
1
0
s
a
0/0 .1
sto
70.7.7.24/30
70.7.7.18Fa0/ CoFastEthernet1/0
Fa0/1
1 .2
.10
70.7.7.28/30
70.7.7.18 .9
FastEthernet1/0
0
3
0
/
Fa1/1
/
80.8.8.8/30
70.7.7.18Fa .13C FastEthernet1/0
.30
.8.4 Fa1 .6
osFastEthernet1/0
8
1/
.
.13
Rb
80.8.8.12/30
70.7.7.18
0
80
8
to
0.8
o1
t
213.3.3.0/24
70.7.7.18
FastEthernet1/0
s
.
o
8.1 Fa 1
C
.14
.5
Rd
0
2/ FastEthernet1/0
214.4.4.0/24
70.7.7.18
Fa1/0
30 /1
.18
.22
.29
P1#show ip cef fastEthernet 0/0
.1
.25 Costo 1 .26
.14
Prefix
Next Hop
Interface
.1
Fa1/0
Fa0/070.7.7.0/30
attached
FastEthernet0/0
P2
P4
70.7.7.24/30 70.7.7.1/32
70.7.7.1
FastEthernet0/0
70.7.7.12/30
70.7.7.1
FastEthernet0/0
80.8.8.0/30
70.7.7.1
FastEthernet0/0
80.8.8.4/30
70.7.7.1
FastEthernet0/0
212.2.2.0/24
211.1.1.0/24
70.7.7.1
FastEthernet0/0
214.4.4.0/24
212.2.2.0/24
70.7.7.1LAN INICTEL-UNI
FastEthernet0/0
LAN UPAO
P1#
Profesor Daniel Daz Ataucuri
2014
ddiaz1610@gmail.com
.5

70.7.7.4/30

70

8/ Fa
30 0
/1

7.
2

70
.7
.

C
os
to

/3 /0
12 Fa0

7.

Fa
0/

Costo 2

70.7.7.16/30

.
.7

Fa0/1

C
os
to

3
8/

.
.7
.7

to
os
C

70.7.7.20/30

Costo 3

70

to
os
C

....

....

Multiprotocol
Label
Swiching

SESIONES LDP DIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

....

70

PE1(config)#mpls label protocol ldp


PE1#show mpls interfaces fastEthernet 1/1 detail
PE1(config)#interface fastethernet
Interface FastEthernet1/1:
0/1
IP labeling enabled (ldp):
PE1(config-if)#mpls ip
Interface config
P1
P3
70.7.7.4/30
PE1(config-if)#mpls mtu 1508
LSP.5Tunnel
labeling not enabled
.6
.1
PE1(config-if)#exit
.2
BGP
tagging
not
enabled
Rc
Fa
.1
Fa0/1
Fa1/1
.1
1
PE1(config)#interface fastethernet /30 0/0
Tagging
operational
.17
.21
Costo 8
a
.9 /0
3 0 /1
/
0
8
F
.
Ra
8
0
.
1/1
0 .10
.8.8
7
Optimum
Switching Vectors:
Fa0/1
Fa1/0
7.
.0/3
8.8 Fa
.
.
.1
0
0
Fa PE2 8
PE1(config-if)#mpls ip
0 PE17
IP to MPLS Turbo Vector
1/
o1
C
t
Fa01508
1
PE1(config-if)#mpls
mtu
0
ost
s
MPLS
Turbo
Vector
/
/0 .1
a0 Co
o1
F
Fa0/1
.9
.10
Fast Switching Vectors:
.2
0
IP to MPLS Fast Switching Vector
Fa1/1
Fa .13
.4/3 Fa1/0
Co
.30
8
.
PE1#show
mpls
interfaces
fastEthernet
0/1 detail
.6
8
1/
.
MPLS
Turbo
Vector
.13
0
s
Rb
0
8
8
to
Interface FastEthernet0/1: 0.
MTU = 1508
o1
t
8
s
.
o
IP labeling enabled (ldp): 8.1 Fa 1
C
.5
Rd
2/ 0/1 .14
Fa1/0 Interface config
30
.18
.22
.29
LSP Tunnel labeling not enabled
.1
.25 Costo 1 .26 BGP tagging not enabled
.14
.1
Fa1/0
Fa0/0 Tagging operational
P2
P4
70.7.7.24/30
Optimum Switching Vectors:
IP to MPLS Turbo Vector
MPLS Turbo Vector
Fast Switching Vectors:
212.2.2.0/24
IP to MPLS Fast Switching 214.4.4.0/24
Vector
MPLS Turbo Vector LAN INICTEL-UNI
LAN UPAO
MTU = 1508
Profesor Daniel Daz Ataucuri
2014
ddiaz1610@gmail.com
8/ Fa
30 0
/1

7.
2

70
.7
.

C
os
to
/1

0
/3 /0
12 Fa0
7.

Fa
0

Costo 2

70.7.7.16/30

.
.7

Fa0/1

C
os
to

3
8/

.
.7
.7

to
os
C

70.7.7.20/30

Costo 3

70

to
os
C

....

....

Multiprotocol
Label
Swiching

SESIONES LDP DIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

211.1.1.0/24 label protocol ldp


P1(config)#mpls
P1(config)#interface fastethernet 0/0
P1(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P1(config-if)#exit
P1(config)#interface fastethernet 1/0
P1(config-if)#mpls ip
.2
.1
P1(config-if)#mpls
mtu 1508
0
0
/3 Fa0/
0
8
P1(config-if)#exit
.
Ra
0.8
.7
.8.0
7
.
P1(config)#interface
fastethernet
0/1
/ 30
.1
70
PE1
P1(config-if)#mpls
ip F
Co
a0/ .1
s
0
t
o 1mtu 1508
P1(config-if)#mpls
Fa0/1
.2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
Rb
80.
1

....

P1

.1
.1 Rc

70

.10

.8

0/ 0
a
F .9

/30 0/1 .10


8
.
.8 a
F

1
to
s
Co

Fa .13
Co
1/
st
0
P2(config)#mpls label protocol ldp 80
o

8/ Fa
30 0
/1

C
os
to

.30

.8.
8

.12 Fa0 .14


/ 3 /1
0

Rd

/1

70
.7
.

7.
2

P2(config)#interface fastethernet 0/0


Fa1/0
P2(config-if)#mpls
ip
.18
.22
.29
P1(config-if)#mpls mtu 1508
Costo
1 .26
.25
P2(config-if)#exit
fastethernet 0/1
Fa1/0 P2(config)#interface
Fa0/0
P4
70.7.7.24/30
P2(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P2(config-if)#exit
P2(config)#interface fastethernet 1/0
P2(config-if)#mpls ip
P2(config-if)#mpls mtu 1508
Fa
0

Fa0/1

Profesor Daniel Daz Ataucuri

Costo 2

70.7.7.16/30

LAN UPAO

80
PE2
/

212.2.2.0/24

3
8/

....

Fa
1

0
/3 /0
12 Fa0
7.

P2

.
.7
.7

.
.7

.14

to
os
C

Fa0/1

Fa1/0

70.7.7.20/30

C
os
to

Los
P3 dems
.5
.6
router se
Fa
Fa0/1
Fa1/1 configura
de
1/
.17
.21
Costo 8
0
.9
manera simular
70.7.7.4/30

Costo 3

70

.1

to
os
C

.5

sto
o
C

....

LAN UNMSM

2014

.1

....
214.4.4.0/24

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP DIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

....

.30

70.7.7.16/30

Costo 2

C
os
to

2014

.8

0/ 0
a
F .9

/30 0/1 .10


8
.
.8 a
F

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
Tunnel Operational
/ 3 /1
No
Yes 0
No
Yes
.1
No
Yes

7.
2

P4
70.7.7.24/30
PE2#show mpls interfaces
Interface
IP
FastEthernet0/1
Yes (ldp)
FastEthernet1/1
Yes (ldp)

LAN UPAO
Profesor Daniel Daz Ataucuri

70
.7
.

C
os
to
Fa
0

/1

Fa0/1

Operational
Yes
Yes
Yes

80
PE2
/

Tunnel
No
No
No

3
8/

0
/3 /0
12 Fa0
7.

....

P2

Fa
1

.10

P3#show mpls interfaces


Interface Fa1/0 IP
Tunnel Operational
.18
FastEthernet0/1.22 Yes
.29 (ldp)
No
Yes
FastEthernet1/0
Yes (ldp)
No
Yes
1 .26
.25 Costo
.14
FastEthernet1/1
Yes (ldp)
Fa1/0
Fa0/0

to
os
C

P1#show mpls interfaces


Interface
IP
FastEthernet0/0
Yes (ldp)
FastEthernet0/1
Yes (ldp)
212.2.2.0/24
FastEthernet1/0
Yes (ldp)

.
.7

PE1#show mpls interfaces


sto
o
C IP
.5
Interface
FastEthernet0/1
Yes (ldp)
.1
FastEthernet1/1
Yes (ldp)

Fa
1
.9 /0

.1
.1 Rc

.
.7
.7

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

Costo

Costo 3

PE1

7.

.17
Fa1/0

Fa1/1
.21
8
Fa0/1

P3

to
os
C

.
70

70

Rb

Co
sto

.0/3

Fa0/1

.6

70.7.7.20/30

.1

80 .
8 .8

70.7.7.4/30

70

.1

.2
0
0
/3 Fa0/
0
7.

.5

8/ Fa
30 0
/1

P1
Ra

....

LAN UNMSM

211.1.1.0/24

Rd

....

Tunnel Operational
No
Yes
No
Yes 214.4.4.0/24

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP DIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

P1#show mpls ldp neighbor


Peer LDP Ident: 80.8.8.6:0; Local LDP Ident
70.7.7.17:0
TCP connection: 80.8.8.6.41142 - 70.7.7.17.646
State: Oper; Msgs sent/rcvd: 72/73; Downstream
P1
Up time: P3
00:47:22
70.7.7.4/30
.5
.6
.1
LDP discovery sources:
.2
Rc
Fa
.1
Fa0/1
Fa1/1
FastEthernet0/0,
Src IP addr: 70.7.7.1
.1
0
0
/
1
3 0
.17
.21
Costo 8 Addresses
.9 /0 to peer LDP Ident: /30 /1
bound
0/ Fa
80 .
.
Ra
8 0 .10
8 .8
.7
.8. Fa70.7.7.13
Fa0/1
Fa1/0
7
.
8
80.8.8.2
70.7.7.1
80.8.8.6
.
0
.
/ 30
.1
Fa PE2 80
70
PE1
Peer
LDP
Ident:
70.7.7.25:0;
1/ Local LDP Ident
o1
Co
t
F
1
0
s
a
/
0/0 .1
sto
70.7.7.17:0
a0 Co
F
Fa0/1
1 .2
.9
.10
TCP connection: 70.7.7.25.30779 - 70.7.7.17.646
0
Fa1/1
.13
F61/62;
.4/3 Fa1/0
CDownstream
State: Oper; Msgs sent/rcvd:
.30
8
a1
.
os
.6
8
.
.13
0
/
Rb
0
8
Up
time:
00:37:27
8
to
0.8
o1
t
s
LDP
discovery
sources:
.
P1#show mpls ldp
odiscovery
8.1 Fa 1
C
.5
Rd
2/ 0/1 .14
FastEthernet1/0,
Src IP addr: 70.7.7.18
Fa1/0
Local LDP Identifier:
30
.18
.22
Addresses.29
bound to peer LDP Ident:
70.7.7.17:0
.1
70.7.7.18
70.7.7.25
.25 Costo 1 70.7.7.14
.26
Discovery Sources:
.14
Peer
LDP Ident: 70.7.7.21:0; Local LDP Ident .1
Interfaces:
Fa1/0
Fa0/0
P2
70.7.7.17:0 P4
70.7.7.24/30
FastEthernet0/0 (ldp): xmit/recv
TCP connection: 70.7.7.21.36522 - 70.7.7.17.646
LDP Id: 80.8.8.6:0; no host route
State: Oper; Msgs sent/rcvd: 52/52; Downstream
FastEthernet0/1 (ldp): xmit/recv
Up time: 00:28:26
LDP Id: 70.7.7.21:0; no host route
212.2.2.0/24
LDP discovery sources:
FastEthernet1/0 (ldp): xmit/recv
214.4.4.0/24
FastEthernet0/1, Src IP addr: 70.7.7.6
LDP
Id:
70.7.7.25:0;
no
host
route
LAN UPAO
Addresses bound to peer LDPLAN
Ident:INICTEL-UNI
Profesor Daniel Daz Ataucuri
2014
ddiaz1610@gmail.com

....

70

8/ Fa
30 0
/1

7.
2

70
.7
.

C
os
to
/1

0
/3 /0
12 Fa0
7.

Fa
0

Costo 2

70.7.7.16/30

.
.7

Fa0/1

C
os
to

3
8/

.
.7
.7

to
os
C

70.7.7.20/30

Costo 3

70

to
os
C

....

....

Multiprotocol
Label
Swiching

SESIONES LDP INDIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

....

70

PE2(config)#interface tunnel 1
PE2(config-if)#tunnel destination
PE1(config)#interface tunnel 1
70.7.7.1
PE1(config-if)#tunnel destination
PE2(config-if)#tunnel source 70.7.7.10
70.7.7.10
P1
P3PE2(config-if)#mpls ip
PE1(config-if)#tunnel source 70.7.7.1
70.7.7.4/30
.5
.6
PE2(config-if)#mpls mtu 1508
.1
PE1(config-if)#mpls ip
.2
Rc
PE2(config-if)#exit
Fa
.1
Fa0/1
Fa1/1
.1
0
PE1(config-if)#mpls
mtu 1508
0
/
1
3 0
.17
.21
Costo 8
.9 /0
/30 0/1 .10
0/ Fa
80 .
.
Ra
8
PE1(config-if)#exit
.
8 .8
.7
Fa0/1
Fa1/0
.0/3
8.8 Fa
.7
.
.1
0
0
Fa PE2 8
0 PE17
1
1

70.7.7.24/30

7.
2

70
.7
.

C
os
to

0/ 0
a
F .9

sto
o
C

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd

/1
Fa
0

Fa0/1

.30

.29

.26
Fa0/0

.1

P4

....
214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.10

Fa1/0

/1

8/ Fa
30 0
/1

Costo 2

70.7.7.16/30

C
os
to

....

Costo 1

.25

P2

Verifique con
el trace la
trayectoria
212.2.2.0/24
del tnel

Fa1/0
.22

.18

3
8/

.
.7
.7

.14

to
os
C

0
/3 /0
12 Fa0
7.

.1

70.7.7.20/30

tunel1

.
.7

to
os
C

.5

o1
t
s
Co

70

Rb

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

Costo 3

Co
sto

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP INDIRECTAMENTE CONECTADO


213.3.3.0/24
LAN UNMSM

Fa1/0

70.7.7.24/30

8/ Fa
30 0
/1

7.
2

70
.7
.

C
os
to
.29
Fa
0

.26
Fa0/0

0/ 0
a
F .9

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd
.1

P4

....
214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.30

.8

/30 0/1 .10


8
.
.8 a

/1

Costo 1

.25

.10

Costo 2

70.7.7.16/30

C
os
to

Fa0/1

Fa1/0
.22

.18

80
PE2
/

....

tunel 1

Fa
1

0
/3 /0
12 Fa0
7.

80.8.8.6:0
Discovery Sources:
.1
.14
Interfaces:
FastEthernet0/1 (ldp): xmit/recv
P2
LDP Id: 70.7.7.17:0; no host route
FastEthernet1/1 (ldp): xmit/recv
LDP Id: 70.7.7.25:0; no host route
Tunnel1
(ldp): xmit
212.2.2.0/24

Costo

Fa
1
.9 /0

Fa1/1
.21
8
Fa0/1

.1
.1 Rc

.
.7
.7

.17
Fa1/0

....

P3

.6

70

Fa0/1

.
.7

to
os
C

sto
o
Local LDP Identifier:
C
.5

70

Rb
1
PE1#show mpls ldp discovery
all

70.7.7.4/30

to
os
C

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

.5

70.7.7.20/30

Co
sto

P1

Costo 3

Despus de
crear el tnel

....

3
8/

LAN
UNI
PE1#show
mpls
ldp discovery all
211.1.1.0/24
Local LDP Identifier:
80.8.8.6:0
Discovery Sources:
Interfaces:
FastEthernet0/1 (ldp): xmit/recv
LDP Id: 70.7.7.17:0; no host route
.1FastEthernet1/1 (ldp): xmit/recv 0 .2
0
LDP Id: 70.7.7.25:0; no host route
/3 Fa0/
0
8
.
Ra
0.8
.7
.8.0
7
.
/ 30
.1
PE170

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP INDIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

.1
.1 Rc

7.
2

8/ Fa
30 0
/1

.30

.8

0/ 0
a
F .9

/30 0/1 .10


8
.
.8 a
F

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd

/1

70
.7
.

C
os
to

.10

Costo 2

70.7.7.16/30

Fa
0

0
/3 /0
12 Fa0
7.

Fa0/1

80
PE2
/

C
os
to

3
8/
Fa
1

.
.7

to
os
C

....

LAN UPAO
Profesor Daniel Daz Ataucuri

.
.7
.7

70.7.7.20/30

70

Costo 3

to
os
C

70

PE2#show mpls ldp discovery all detail


Local LDP Identifier:
80.8.8.13:0
P1
P3
Discovery Sources:
70.7.7.4/30
.5
.6
Interfaces:
Fa
.1FastEthernet0/1 (ldp): xmit/recv 0 .2
Fa0/1
Fa1/1
/0
1/
3
0
/ Fa
.17
.21
Costo
8
0
.9
0
8
Ra Enabled:0.Interface
config .7.
8 .8
Fa0/1
Fa1/0
.0/35000 ms; Transport
.7
.1 interval:
Hello
IP addr: 80.8.8.13
0 PE170
LDP C
Id:
Fa0 no.1host route to transport addr
os70.7.7.29:0;
/0
t
o
Fa0/1 IP addr: 70.7.7.29
Src IP addr:170.7.7.29;
Transport
.2
Hold time: /15
Proposed
local/peer: 15/15 sec
30 sec;
Fa1/1
/0
4
1
.
a
8
Reachable
.6 .13
8. viaF70.7.7.28/30
Rb FastEthernet1/1
80.
(ldp):
o 1 xmit/recv
t
s
tunel 1
o
Enabled: Interface
config
C
.5
Fa1/0
Hello interval: 5000 ms; Transport IP addr:.18
80.8.8.13
.22
.29
LDP
Id:
70.7.7.21:0;
no
host
route
to
transport
addr
.1
.25 Costo 1 .26
Src IP addr: 70.7.7.9; Transport IP.14
addr: 70.7.7.21
Fa1/0
Fa0/0
Hold time: 15 sec; Proposed local/peer:
15/15
sec
P2
P4
70.7.7.24/30
Reachable via 70.7.7.20/30
Tunnel1 (ldp): xmit
Enabled: Interface config
Hello interval: 5000 ms; Transport IP addr: 80.8.8.13
212.2.2.0/24

....

2014

.1

....
214.4.4.0/24

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP INDIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

.29

.26
Fa0/0

70.7.7.24/30

8/ Fa
30 0
/1

7.
2

C
os
to

Fa1/0

0/ 0
a
F .9

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd
.1

P4

....

212.2.2.0/24

214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.30

.8

/30 0/1 .10


8
.
.8 a

/1

Costo 1

.25

.10

Fa
0

70.7.7.16/30
Fa0/1

....

Costo 2

C
os
to

P2

Fa1/0
.22

.18

80
PE2
/

0
/3 /0
12 Fa0
7.
.14

tunel 1

3
8/

.
.7

.1

to
os
C

.5

o1
t
s
Co

ICMPv4

Fa
1

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

Costo 3

PE1

7.

.1
.1 Rc

.
.7
.7

.
70

70

Rb

Co
sto

.0/3

Fa
1
.9 /0

70.7.7.20/30

.1

80 .
8 .8

MPLS
Fa0/1
Fa1/1
.17
.21
Costo 8
IPv4
Fa0/1
Fa1/0

to
os
C

Ra

P3

ETHERNET
70.7.7.4/30
.6

70

.1

.2
0
0
/3 Fa0/
0
7.

.5

70
.7
.

P1

....

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP INDIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

....

.26
Fa0/0

70.7.7.24/30

8/ Fa
30 0
/1

.8

0/ 0
a
F .9

/30 0/1 .10


8
.
.8 a
F

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd

/1

.29

7.
2

Fa1/0

.1

P4

....

212.2.2.0/24

214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.30

Fa
0

Fa0/1

P2

Costo 1

.25

.10

70
.7
.

70.7.7.16/30

Costo 2

C
os
to

0
/3 /0
12 Fa0
7.
.14

Fa1/0
.22

.18

80
PE2
/

.
.7

.1

to
os
C

.5

o1
t
s
Co

Fa
1

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

Costo 3

PE1

7.

Costo

.1
.1 Rc

3
8/

.
70

70

Rb

Co
sto

.0/3

.17
Fa1/0

Fa
1
.9 /0

Fa1/1
.21
8
Fa0/1

70.7.7.20/30

.1

80 .
8 .8

Fa0/1

to
os
C

Ra

.2
0
0
/3 Fa0/
0
7.

P3

.6

.
.7
.7

.1

22

70.7.7.4/30

70

IP

.5

C
os
to

P1

....

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

SESIONES LDP INDIRECTAMENTE CONECTADO


213.3.3.0/24

LAN UNI

LAN UNMSM

211.1.1.0/24

....

8/ Fa
30 0
/1

7.
2

4
70.7.7.24/30

.8

0/ 0
a
F .9

/30 0/1 .10


8
.
.8 a
F

1
to
s
Co

Fa .13
Co
1/
s
0
8

0.8

to

.8 . F 1
12 a0 .14
/ 3 /1
0

Rd

/1

.29

.26
Fa0/0

.1

P4

....

212.2.2.0/24

214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.30

Fa
0

Fa0/1

....

Fa1/0

.10

70
.7
.

70.7.7.16/30

Costo 2

C
os
to

P2

Costo 1

.25

80
PE2
/

0
/3 /0
12 Fa0
7.
.14

Fa1/0
.22

.18

3
8/

.
.7

.1

to
os
C

.5

o1
t
s
Co

Fa
1

Fa0
/0 .1
Fa0/1
1 .2
/30 a1/0
Fa1/1
4
.
8
F
.
.6
8
.13
80.

Costo 3

PE1

7.

Costo

.1
.1 Rc

.
.7
.7

.
70

70

Rb

Co
sto

.0/3

.17
Fa1/0

Fa
1
.9 /0

Fa1/1
.21
8
Fa0/1

70.7.7.20/30

.1

80 .
8 .8

Fa0/1

P3

.6

to
os
C

Ra

70.7.7.4/30

70

.1

.2
0
0
/3 Fa0/
0
7.

.5

C
os
to

P1

....

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

CASO DE ESTUDIO:
Configuracin en router
CISCO con RSVP-TE

Profesor Daniel Daz Ataucuri

2014

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

LAN UNI

ANALISIS RSVP-TE

....

1
Fa0
/

/30

Fa

0.7

24
.7.

0 /1
Fa .25

/30

PE2 80

.8

/30 0/1 .10


8
.
.8 a
F

1
to
s
0
0/ Co
Fa.9
.13
Fa
Co
1/
st
0
80
o
.8.
1
8.1 Fa
2/ 0/1 .14
30

Rd
.1

.26

P2

....

212.2.2.0/24

214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.7.2
0

3
Cos
to

C
os
to

.14

.10

sto
Co

0 /0

.1
.1 Rc

Fa
1/
1

.1

Fa
1/ 0

3
8/

/ 30

/0
Fa0

Fa0
/0 .1
1
Fa0/1
.2
Fa
/30 a1/0
4
.
1/1
8
F
.
.6
8
.
.13
0
Co
8
1
sto
7
o
t
0.7
s
o
4
C
.7.
1
.5
2

Fa
1
.9 /0

Fa1/1
.21

Rb

PE1

7.

P3

Co
sto

.
70

....

.
.7
.7

8 .8
.0 / 3
0

Costo 8

.6

t
os
C

.1

80 .

Fa0/1

to 2
Cos
30
/0
.16/
Fa1 70.7.7

Ra

70.7.7.4/30

213.3.3.0/24

70

.1

.2
0
0
/3 Fa0/ .17
0
7.

.5

70.7

P1

....

Fa0
/

211.1.1.0/24

LAN UNMSM

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

LAN UNI

ANALISIS RSVP-TE

....

1
Fa0
/

/30

Fa

0.7

24
.7.

0 /1
Fa .25

/30

PE2 80

.8

/30 0/1 .10


8
.
.8 a
F

1
to
s
0
0/ Co
Fa.9
.13
Fa
Co
1/
st
0
80
o
.8.
1
8.1 Fa
2/ 0/1 .14
30

Rd
.1

.26

P2

....

212.2.2.0/24

214.4.4.0/24

LAN UPAO
Profesor Daniel Daz Ataucuri

.7.2
0

3
Cos
to

C
os
to

.14

.10

sto
Co

0 /0

.1
.1 Rc

Fa
1/
1

.1

Fa
1/ 0

3
8/

/ 30

/0
Fa0

Fa0
/0 .1
1
Fa0/1
.2
Fa
/30 a1/0
4
.
1/1
8
F
.
.6
8
.
.13
0
Co
8
1
sto
7
o
t
0.7
s
o
4
C
.7.
1
.5
2

Fa
1
.9 /0

Fa1/1
.21

Rb

PE1

7.

P3

Co
sto

.
70

....

.
.7
.7

8 .8
.0 / 3
0

Costo 8

.6

t
os
C

.1

80 .

Fa0/1

to 2
Cos
30
/0
.16/
Fa1 70.7.7

Ra

70.7.7.4/30

213.3.3.0/24

70

.1

.2
0
0
/3 Fa0/ .17
0
7.

.5

70.7

P1

....

Fa0
/

211.1.1.0/24

LAN UNMSM

2014

LAN INICTEL-UNI

ddiaz1610@gmail.com

Multiprotocol
Label
Swiching

BIBLIOGRAFIA
MPLS Label Distribution Protocol (LDP)
http://www.cisco.com/en/US/docs/ios/12_4t/12_4t2/ftldp41.html

MPLS: Una arquitectura de backbone para la Internet del


siglo XXI
http://www.rediris.es/rediris/boletin/53/enfoque1.html

MPLS por The Internet Protocol Journal de CISCO.


http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_4-3/mpls.html

Configuring MPLS TE: RSVP-TE


http://www.ciscopress.com/articles/article.asp?p=426640&seqNum=4
http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nxos/mpls/configuration/guide/mp_te_RSVP.html

Profesor Daniel Daz Ataucuri

2014

obligado

ddiaz1610@gmail.com

Das könnte Ihnen auch gefallen